about summary refs log tree commit diff
path: root/README (follow)
Commit message (Expand)AuthorAge
* remove trailing whitespaces from source filesChristian Hesse2014-04-17
* makefile: use LUA_PKGCONFIG to set Lua implementationNatanael Copa2014-01-22
* README: document pkg-config for luajitJason A. Donenfeld2014-01-19
* README: document lua makefile flagsJason A. Donenfeld2014-01-14
* filter: add lua supportJason A. Donenfeld2014-01-14
* README: Fix dependenciesLukas Fleischer2014-01-09
* README: Spelling and formatting fixesLukas Fleischer2014-01-08
* README: add trailing slash to homepageJason A. Donenfeld2013-05-27
* New mailing list.Jason A. Donenfeld2013-05-13
* README: times, they are a-changinJason A. Donenfeld2012-10-09
* README: update some stale information/add some newLars Hjemli2011-06-13
* Update READMELars Hjemli2011-03-05
* Fix a typo in README, s/ExecCGI/+ExecCGIKamil Kaminski2010-11-08
* Update READMELars Hjemli2007-09-04
* Update README with submodule build infoLars Hjemli2007-05-11
* Add support for prefix and gitsrc arguments to 'make'Lars Hjemli2007-02-05
* Update README with install/config informationLars Hjemli2007-01-28
* Remove implementation details from READMELars Hjemli2006-12-13
* Add caching infrastructureLars Hjemli2006-12-10
atch removes that behaviour in dash as well. Test case: unset a echo "${a:-~root}" Old result: /root New result: ~root 2007-09-24[PARSER] Remove arithmetic expansion collapsing at parse timeHerbert Xu Collapsing arithmethc expansion is incorrect when the inner arithmetic expansion is a part of a parameter expansion. Test case: unset a echo $((3 + ${a:=$((4 + 5))})) echo $a Old result: (4 + 5) New result: 9 2007-09-24[PARSER] Remove superfluous dblquote settings when ending arithHerbert Xu When an arithmetic expansion terminates and we restore the syntax to the previous one, we don't need to set dblquote because we never changed upon entering the arithmetic expansion. 2007-09-24[PARSER] Remove superfluous arinest test for dqvarnestHerbert Xu dqvarnest is only used to determine whether CENDQUOTE should terminate the double-quote syntax. Since CENDQUOTE can never occur while arinest is set, we don't need to take arinest into account for dqvarnest. 2007-09-24[PARSER] Remove superfluous arinest test in CENDQUOTEHerbert Xu If arinest is set then the syntax must be ARISYNTAX. As such CENDQUOTE can never occur while arinest is set so we don't need to test for it. 2007-09-24[EXPAND] Perform tilde expansion in all parameter expansion wordsHerbert Xu Previously tilde expansion was not carried out for =?#% expansion words. This is contrary to the POSIX specification. Test case: a=~root:~root echo ${a#~root} Old result: /root:/root New result: :/root 2007-09-24[EXPAND] Do not quote back slashes in parameter expansions outside quotesHerbert Xu Test case: a=/b/c/* b=\\ echo ${a%$b*} Old result: /b/c/* New result: /b/c/ 2007-09-22[BUILTIN] test: little size and speed optimizationsOleg Verych * Speed up (libc=glibc): deen:debian/src/dash-0.5.3# echo $(((7853+8631+7529+9777+9161+7552)/6)) 8417,8250 # this patch deen:/mnt/work/debian/src/dash-0.5.3# echo $(((9553+7789+9450+9925+7595+9590)/6)) 8983 # short deen:debian/src/dash-0.5.3# echo $(( (9655+7853+9733+7826+9618+10053)/6 )) 9123 # '[' ']' deen:debian/src/dash-0.5.3# deen:debian/src/dash-0.5.3# echo $(((9231+9423+9365+9650+8883+8291)/6)) 9140 # unpatched deen:debian/src/dash-0.5.3# * Size down: olecom@deen:/mnt/debian/src/dash-0.5.3$ size src/test.o # this patchset text data bss dec hex filename 4142 0 16 4158 103e src/test.o olecom@deen:/mnt/debian/src/dash-0.5.3$ size src/test.o text data bss dec hex filename 4209 0 16 4225 1081 src/test.o olecom@deen:/mnt/debian/src/dash-0.5.3$ 2007-09-22[BUILTIN] test: White space fixesOleg Verych Some trailing whitespace was killed or tabified. 2007-09-22[SHELL] Move flushall to the point just before _exitHerbert Xu We need to flush at the very end in case we've generated any errors before that. The flushall call cannot perform a longjmp so it's safe there. 2007-09-22[SHELL] Restore foreground process group on exitHerbert Xu On Thu, Jun 07, 2007 at 12:20:27PM +0200, Denis Vlasenko wrote: > > When I start dash under Midnight Commander and then type 'exit', dash > exits all right, but then MC is sent to background. It happens because > dash does not restore current process group on exit. > > Attached patch fixes this. It also fixes another bug: setjobctl(0) > must ignore tcsetpgrp errors, because there are cases when tty is > destroyed under dash. > > Patch is run-tested. I've fixed this slightly differently so that we don't need the xtcsetpgrp change. 2007-07-12Release 0.5.4.Herbert Xu 2007-05-12[REDIR] Size optimisations in redir.cHerbert Xu Add likely flag on REDIR_PUSH. Remove sv check on REDIR_SAVEFD2 (it implies REDIR_PUSH). Optimise NTOFD/NFROMFD same fd check. 2007-05-12[REDIR] Fix redirect restore on saved file descriptorsHerbert Xu As it stands if a redirection occurs on a file descriptor that was previously closed, it won't be closed after that redirection goes out of effect. This is because we don't keep track of closed file descriptors properly as we do for open ones. This patch fixes this by introducing two new states, CLOSED and REALLY_CLOSED. The first represents an initially closed descriptor which is now open while the second one represents an initally closed descriptor which is now closed. This patch is based on work by Rainer Weikusat. 2007-05-12[REDIR] Remove redundant CLOEXEC callsHerbert Xu Now that we're marking file descriptors as CLOEXEC in savefd, we no longer need to close them on exec or in setinputfd. 2007-05-12[REDIR] Replace copyfd by savefd and use dup2 elsewhereHerbert Xu There are two kinds of users to copyfd, those that want to copy an fd to an exact value and those that want to move an fd to a value >= 10. The former can simply use dup2 directly while the latter share a lot of common code that now constitutes savefd. 2007-05-06[EVAL] Use dup2 instead of copyfd in evalbackcmdHerbert Xu Since we know that dup2 must succeed here we can call it directly. 2007-05-06[REDIR] Remove EMFILE special caseHerbert Xu No caller of copyfd need to ignore EMFILE so we can remove the special case and just let it call sh_error on any error. 2007-05-06[PARSER] Remove unnecessary inclusion of redir.hHerbert Xu 2007-05-05[PARSER] Fix typo in commentHerbert Xu The value for CTLBACKQ | CTLQUOTE is now -123, not 133. 2007-04-28[BUILTIN] Fix mkbuiltin sort orderHerbert Xu On Fri, Feb 16, 2007 at 04:24:55PM -0800, Dan Nicholson wrote: > I was having a problem building dash where `:' wasn't being recognized > as a builtin command. I won't bore you with the details of the > debugging, but it came down to the fact that the generated struct in > builtins.c wasn't being sorted correctly. The ":" name was coming > before the "." name and then was never able to be found by bsearch(). > > The issue turned out to be that I was building with a UTF-8 charset, > causing the `sort' to come out differently from the mkbuiltins script. > When I finally set LANG=C, it came out correct. Here's an example of > the difference. > > $ LANG=C sort << "EOF" > : > . > EOF > . > : > $ LANG=en_US.ISO-8859-1 sort << "EOF" > : > . > EOF > : > . > > My system has glibc-2.3.6, but I also tested it on an RHEL3 server at > work. My solution was just to add LC_ALL=C to the mkbuiltins script. > Maybe it's overkill to use LC_ALL. Patch against HEAD attached. I've changed this patch so that we just set LC_COLLATE for the sort command. 2006-10-22[BUILTIN] Fixed command -v segmentation faultHerbert Xu On Sat, Oct 21, 2006 at 02:19:18PM +0000, Gerrit Pape wrote: > Hi Herbert, please see > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=387458 > > On Thu, Sep 14, 2006 at 03:50:02PM +0200, Julien Danjou wrote: > > I just found this bug which is easily reproductible: > > > > % dash -c 'command -v' > > zsh: segmentation fault dash -c 'command -v' Since bash's behaviour is minimalist here, I've decided to adopt its behaviour here as well which is to return success silently. 2006-10-13[SYSTEM] Check return code for getgroups and fwriteAlexey Gladkov Check getgroups() and fwrite() return code, required to build with -D_FORTIFY_SOURCE=2. 2006-10-04[EXPAND] Fixed inverted char class matchingHerbert Xu The return value of ccmatch was being treated as 0 or 1 but it's actually zero or non-zero. This broke inverted character class matching. Reported by Alexander Skwar. 2006-05-23[BUILD] Added --with-libedit option to configureAlexey Gladkov Add to the configure.ac new option: --with-libedit - Compile with libedit support. 2006-04-23[PARSER] Only use signed char for syntax arraysHerbert Xu The existing scheme of using the native char for syntax array indicies makes cross-compiling difficult. Therefore it makes sense to choose one specific sign for everyone. Since signed chars are native to most platforms and i386, it makes more sense to use that if we are to choose one type for everyone. 2006-03-29[PARSER] Use alloca to get rid of setjmp