summaryrefslogtreecommitdiff
path: root/bin/sh/main.c
AgeCommit message (Expand)Author
2003-09-14Fix crash when DEBUG=2, by opening the log file ASAP. Reviewed by simonb@.jmmv
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2002-12-11PR/19453: Christopher Richards: Call setlocale() in /bin/shchristos
2002-11-24Fixes from David Laight:christos
2002-09-28Revert previous change. No need to save rootshell. It is only affectingchristos
2002-09-27Deal with rootshell not being maintained correctly in the vfork() case.christos
2002-09-27VFork()ing shell: From elric@netbsd.org:christos
2001-06-11Fix various misspellings of compatible/compatibility.wiz
2001-02-04remove redundant declarations and nexted externs.christos
2000-11-01PR/11283: Hubert Feyrer: random memory corruption executing commands:christos
2000-05-22Back out previous vfork changes.elric
2000-05-13Now we use vfork(2) instead of fork(2) when we can.elric
2000-04-14Include <errno.h> instead of using "extern int errno;".simonb
2000-01-27Fix bin/9184, bin/9194, bin/9265, bin/9266christos
1999-07-09compile with WARNS = 2christos
1999-03-27When we execute commands from a shell script, make sure that the signalschristos
1999-02-05Fix the -c problem differently. We cannot just ignore SIGINT etc, otherwisechristos
1999-02-04PR/1788: Shinya Taniguchi: sh -c does not setup signals properly.christos
1999-02-04Add -q option, which when used with -v and/or -x, turns off the tracingcjs
1999-02-02The builtin . (dot) command no longer sees the current working directoryitohy
1998-07-28Be more retentive about use of NOTREACHED and noreturn.mycroft
1998-07-28Delint.mycroft
1997-07-04Fix compiler warnings.christos
1997-04-11Don't call getpwd() because if that fails the shell cannot start. (from scott)christos
1996-10-16PR/287: Shell does not exit with 126/127 when permission denied/christos
1995-11-19Fix PR/1760, where 'cd -' before any other command could cause a referencechristos
1995-09-11Fix return builtin to work like it does in ksh:christos
1995-07-20Fix bin/1240, from Dennis Ferguson. the exit builtin with no argumentschristos
1995-05-28Fixed bug wherechristos
1995-05-19Changed so that syntax errors (EXERROR) set the exit status to 2,christos
1995-05-11Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0christos
1995-03-21convert to new RCS id conventions.cgd
1994-12-05clean up further. more patches from Jim Jegerscgd
1994-12-04from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelchcgd
1994-08-03Don't source the file specified by $ENV if either the real and effectivejtc
1994-06-11Add RCS ids.mycroft
1994-05-12Include appropriate header files to bring function prototypes into scope.jtc
1994-05-11forgot some include filesjtc
1994-05-11integrate NetBSD's path searching for dot filesjtc
1994-05-11sync with 4.4litejtc
1994-01-26Removed theo's change to check S_ISLNK() for dot commands. This isjtc
1994-01-25source/$PATH thing for symbolic links too, reportedlyderaadt
1994-01-25but don't try that for absolute or relative pathsderaadt
1994-01-25make . (source) command search $PATH as it should. from dkionka@Cadence.COM (...deraadt
1993-08-01Add RCS identifiers.mycroft
1993-03-23changed "Id" to "Header" for rcsidscgd
1993-03-22added rcs ids to all filescgd
1993-03-21initial import of 386bsd-0.1 sourcescgd