Commit Graph

410 Commits

Author SHA1 Message Date
bde
f0f4692d65 Bury this properly. 1997-07-01 21:38:49 +00:00
bde
dd35364e4d This commit was generated by cvs2svn to compensate for changes in r27159,
which included commits to RCS files with non-trunk default branches.
1997-07-01 21:34:30 +00:00
bde
28560072c7 Import this unwanted file from Lite-original so that it doesn't
get imported with Lite2 (there was only one missing file in src/bin,
other than tags files and obj links).
1997-07-01 21:34:30 +00:00
charnier
46627309b6 Remove lines inside #ifdef 0/#endif. 1997-06-30 11:10:18 +00:00
pst
1b991716a4 NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00
charnier
a300c51544 Document the use of `ls -lo' to see flags.
Obtained from: OpenBSD.
1997-06-24 06:57:11 +00:00
jkh
e5f80c5114 Back out previous fix - this bug's got diplomatic immunity as a registered
political issue.
1997-06-19 17:57:06 +00:00
jkh
7f875c5f66 >Number: 3780
>Category:       bin
>Synopsis:       WEXITSTATUS() may return nagative value, which causes sh to generate bad $?

PR:		3780
Submitted by:	sanewo@ba2.so-net.or.jp
1997-06-19 15:14:01 +00:00
jdp
49bea63523 Try again to explain the existence of lchown() and the absence of
lchmod() and lutimes().
1997-06-19 01:07:05 +00:00
jdp
8ebc7b7d49 Update some text to reflect the fact that symbolic links now have
owner and group attributes.
1997-06-14 18:44:03 +00:00
ache
837346c6cf Now [^abc] means the same as [!abc] like bash and *csh already does 1997-06-06 23:04:33 +00:00
charnier
eb1ddf1705 Typo in usage string. Looks like the man page now. 1997-06-06 06:48:35 +00:00
charnier
958b099adb Err(3) was locally defined (for portability reasons). Use #ifdef 0/#endif
to hide this so libc is kept instead.
1997-06-06 06:46:27 +00:00
charnier
ae739990eb Correct usage string. Man page don't reflect reality for now. 1997-06-06 06:43:19 +00:00
charnier
ae2a236f86 Cosmetic change in usage string. 1997-06-06 06:40:06 +00:00
charnier
58f66f5d2c Do not use __progname. 1997-06-06 06:32:09 +00:00
charnier
8f3a4f49b1 Revert part of previous patch: Don't use __progname. 1997-06-04 06:27:30 +00:00
charnier
3c20fa7d91 Revert part of previous patch: Don't use __progname. 1997-06-04 06:21:44 +00:00
charnier
0213963bae Add xref to lchown(2) and symlink(2).
Obtained from: {Net|Open}BSD
1997-06-03 06:27:44 +00:00
charnier
0bb19f3d59 Signal # NSIG (32) is invalid.
Obtained from: {Net|Open}BSD
1997-06-03 06:24:50 +00:00
charnier
ce6e94241d /etc/netstart -> /etc/rc.network
Use __progname in usage string. Change usage string to match the man page.
1997-06-03 06:21:45 +00:00
charnier
0d7619c59e /etc/netstart -> /etc/rc.network
Add usage() and use __progname. Change usage string to match man page.
1997-06-03 06:19:04 +00:00
max
0a57ddf89d Add X-reference to ch(4). 1997-06-02 20:57:52 +00:00
charnier
e43a7ca060 Typo fix. 1997-06-02 06:40:08 +00:00
charnier
d3f2a54d03 Typo (the the -> the). 1997-06-02 06:32:26 +00:00
charnier
961f5b3e1a Off by 1 adjustment. Properly NUL terminate after strncpy.
Obtained from: {Net|Open}BSD
1997-06-02 06:30:06 +00:00
charnier
9b043dcc94 Off by 1 adjustment. 1997-06-02 06:27:00 +00:00
charnier
0d4c498faf Remove unused variables. Suppress -Wall warnings. Check for potential buffer
overflow. Display available command in usage string.
Obtained from: {Net|Open}BSD
1997-06-02 06:25:19 +00:00
julian
68081e32bc Submitted by: Whistle Communications (archie Cobbs)
These changes add the ability to specify that a UFS file/directory
cannot be unlinked. This is basically a scaled back version
of the IMMUTABLE flag. The reason is to allow an administrator
to create a directory hierarchy that a group of users
can arbitrarily add/delete files from, but that the hierarchy
itself is safe from removal by them.
If the NOUNLINK definition is set to 0
then this results in no change to what happens normally.
(and results in identical binary (in the kernel)).
It can be proven that if this bit is never set by the admin,
no new behaviour is introduced..
Several "good idea" comments from reviewers plus one grumble
about creeping featurism.

This code is in production in 2.2 based systems
1997-06-02 06:24:52 +00:00
steve
27968b9dee Make sh(1) less aware of the bit fields returned by wait by
using the WIF* macros in sys/wait.h.

PR: bin/3668
Submitted by:	dholland@eecs.harvard.edu
1997-05-24 21:04:55 +00:00
steve
bc7339d881 Remove y.tab.h from the beforedepend target. Also add a
rule that shows the dependency of arith_lex.[co] on y.tab.h.

Suggested by: Bruce Evans <bde@zeta.org.au>
1997-05-21 03:23:23 +00:00
steve
cc4887cc10 Add explicit y.tab.h rule so that 'make depend clean all' does
not fail with an "don't know how to make y.tab.h" error.
1997-05-19 00:29:29 +00:00
steve
2f84314766 Use the __unused attribute where warranted. 1997-05-19 00:18:52 +00:00
steve
a5235db275 Miscellaneous sorting and addition of rules for object files that
depend on generated headers.

Reviewed by:	Bruce Evans <bde@zeta.org.au>
1997-05-19 00:16:27 +00:00
joerg
9904a8c9de Ensure string termination after strncpy().
PR:		2997
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-05-09 16:00:35 +00:00
steve
360ef2058c Revise the section that explains how to protect parts of an $ENV script
from being executed in non-interactive mode.

Suggested and Reviewed by: Brian Somers <brian@freebsd.org>
1997-05-07 11:42:00 +00:00
steve
ed817524a2 Don't source $ENV unless this is an interactive shell. 1997-05-05 03:45:17 +00:00
bde
68962748a6 Fixed overflow for attempts to seek to offsets > ULONG_MAX. See the
OpenBSD version for more complete fixes.  E.g., to seek to offsets >
INT_MAX using a block size of 1, block numbers need to be off_t's
instead of u_long's.
1997-04-30 17:51:29 +00:00
dfr
559a468aae Enable whiteout code since we now have the lite2 support for them. 1997-04-29 10:03:10 +00:00
jkh
e2ef6a625f Dynamically adjust size of displayed username to the longest username which
appears, not the longest _maximum_ username (this should probably also go
into 2.2, for the day when we bump up the username length there too).

Submitted-By: Terry Lambert <terry@lambert.org>
1997-04-29 05:26:05 +00:00
steve
fadc8fc0f2 Change spelling of ECBDIC to EBCDIC. Closes PR #3402
Submitted by:	h-nokubi@nmit.mt.nec.co.jp
1997-04-28 04:07:29 +00:00
steve
c2743ee837 Turn on the new type builtin. 1997-04-28 03:50:07 +00:00
steve
9b0ffd7cdc Sync with NetBSD's revision 1.29 of this file.
Obtained from: NetBSD
1997-04-28 03:28:43 +00:00
steve
6186f8a0bf Remove an extra semicolon and nuke register keyword usage. 1997-04-28 03:27:12 +00:00
steve
1601bfa863 Fix redirection of unopened file descriptors and nuke register
keyword usage.

Obtained from: NetBSD
1997-04-28 03:25:13 +00:00
steve
bd025769ba Revert changes from rev 1.16 to 1.17 for now. Closes PR 2879. 1997-04-28 03:22:09 +00:00
steve
4636b4b5ee mdoc-ify and cleanup UNIMPLEMENTED messages. Closes PR 2880. 1997-04-28 03:20:09 +00:00
steve
f781548b1d Reorder declarations slightly. 1997-04-28 03:17:51 +00:00
steve
1da8ca45aa Avoid a possible NULL pointer dereference, nuke register usage,
and remove an unnecessary reset.

Obtained from: NetBSD
1997-04-28 03:16:12 +00:00
steve
a503bbc21f Nuke register keyword usage, #if -> #ifdef, and avoid void *
arithmetic.

Obtained from: NetBSD
1997-04-28 03:14:04 +00:00