summaryrefslogtreecommitdiff
path: root/bin/sh
AgeCommit message (Collapse)Author
1996-05-22Fix growstackblock() 'newlen' calculations:Theo de Raadt
(1) it needs to be ALIGNed for both halves of the 'if,' and (2) if you're going to claim that you now have ALIGN(newlen) bytes left, you should have actually allocated ALIGN(newlen), rather than just 'newlen' bytes.
1996-05-21do newline correct inside ``, netbsd pr#2384Theo de Raadt
1996-03-08From NetBSD:Niklas Hallqvist
- parser.c: Fix prompting in old style backquote expansion. Fixes PR/2139 and many user complaints why the shell hangs in echo "`" - eval.c: Fix exitstatus invalid resetting in `if' statements were: if (exit 3); then echo foo $? else echo bar $? fi printed 'bar 0' instead of bar 3 Return zero status if `else' clause is empty.
1996-03-03From NetBSD:Niklas Hallqvist
Changed so that INTOFF/INTON are paired in getpwd(). From Matthias Pfaller <leo@marco.de>. Fixes PR #2130.
1996-03-03From NetBSD:Niklas Hallqvist
Fix problems with the way init.o is built: * Prevent gratuitous rebuilds when nothing has changed. * Make sure it is rebuilt if a .h file is updated.
1996-02-17From netbsd:Niklas Hallqvist
Fix PR/2070: Ksh style variable modifiers were broken in /bin/sh, from enami tsugutomo
1995-12-17do not treat symbolic links special; from cgd@netbsd.org; netbsd pr#1776Theo de Raadt
1995-12-14whoops, add thisTheo de Raadt
1995-12-14update from netbsd, including:Theo de Raadt
Fix PR/1760, where 'cd -' before any other command could cause a reference to an uninitialized pointer. Use getcwd() to get the current working directory, instead of forking /bin/pwd [per Scott's suggestion]
1995-11-22handle "cd -" causing crash if used as first sh command; from ↵Theo de Raadt
scottr@Plexus.COM; netbsd pr#1760
1995-10-18initial import of NetBSD treeTheo de Raadt