agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
dsl
e314f958bd
Support command -p, -v and -V as posix
...
Stop temporary PATH assigments messing up hash table
Fix sh -c -e "echo $0 $*" -a x (as posix)
(agreed by christos)
2003-01-22 20:36:03 +00:00
kleink
b3df6303a9
Rename `sigset' locals to avoid symbol shadowing warning.
2003-01-16 09:38:37 +00:00
christos
c02b3bbdf4
Fixes from David Laight:
...
- ansification
- format of output of jobs command (etc)
- job identiers %+, %- etc
- $? and $(...)
- correct quoting of output of set, export -p and readonly -p
- differentiation between nornal and 'posix special' builtins
- correct behaviour (posix) for errors on builtins and special builtins
- builtin printf and kill
- set -o debug (if compiled with DEBUG)
- cd src obj (as ksh - too useful to do without)
- unset -e name, remove non-readonly variable from export list.
(so I could unset -e PS1 before running the test shell...)
2002-11-24 22:35:38 +00:00
mycroft
d84d36165d
Clean up INTOFF/INTON usage a little -- none of fork{shell,parent,child}()
...
screw with them now, only their callers.
2002-09-27 21:32:24 +00:00
christos
6438e7dcdc
no SYSV for eagain, enable EMFILE
2002-09-27 16:56:15 +00:00
wiz
0b398b282c
__STDC__ is always defined on NetBSD, so remove #ifdef __STDC__ (and
...
unnecessary #else cases).
2002-05-25 23:09:06 +00:00
christos
f629aa28d9
implement noclobber. From Ben Harris, with minor tweaks from me. Two
...
unimplemented comments to go. Go Ben!
2002-05-15 16:33:35 +00:00
matt
e2056eada9
include <stdlib.h>, <string.h>, or whatever as appropriate to shut up
...
gcc 2.96
2000-07-03 03:26:17 +00:00
christos
3d42469030
compile with WARNS = 2
1999-07-09 03:05:49 +00:00
mycroft
2e23138ad7
If we exit due to a SIGINT, do it with raise() so that the wait status is
...
correct in the parent.
1999-04-05 15:00:28 +00:00
mycroft
ee9e50eacb
Be more retentive about use of NOTREACHED and noreturn.
1998-07-28 11:41:40 +00:00
mycroft
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
christos
7faabd5800
Include our local includes after the system's ones.
1998-01-31 12:36:16 +00:00
christos
cd799663e4
Fix compiler warnings.
1997-07-04 21:01:48 +00:00
christos
7ea7f895f5
Use #ifdef __STDC__ instead of #if __STDC__
1997-04-11 23:06:51 +00:00
christos
2a9c11dd53
PR/287: Shell does not exit with 126/127 when permission denied/
...
command not found. Add extra exception type and generalize
error handling routines to take that exception type. Use
a global variable exerrno to keep the last exec error.
1996-10-16 14:35:42 +00:00
christos
07bae7eddd
Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0
...
bug.
1995-05-11 21:28:33 +00:00
mycroft
6bfd77e432
Fix typo in previous.
1995-03-23 00:01:03 +00:00
mycroft
3e417cced4
Use sigprocmask(), not sigsetmask().
1995-03-21 15:40:16 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
cgd
4ce0d34a31
clean up further. more patches from Jim Jegers
1994-12-05 19:07:32 +00:00
cgd
5dad143982
from James Jegers <jimj@miller.cs.uwm.edu>: quiet -Wall, and squelch
...
some of the worst style errors.
1994-12-04 07:11:37 +00:00
mycroft
cafd1f7e9f
Add RCS ids.
1994-06-11 16:11:35 +00:00
jtc
a81e412494
Include appropriate header files to bring function prototypes into scope.
1994-05-12 17:03:32 +00:00
jtc
37ed7877b2
sync with 4.4lite
1994-05-11 17:09:42 +00:00
mycroft
106f3e9c20
From Vincent Broman:
...
error.c: Add , in initializer list if ENOLINK defined.
output.c: Gratuitously remove extra ;.
mknodes.c: main() should return a value.
Not from Vincent Broman:
mknodes.c: main() should return an error condition when approriate, too.
1993-09-05 17:32:05 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00