Commit Graph

401 Commits

Author SHA1 Message Date
jdp
9657538f4e 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
e5521aff5f Now [^abc] means the same as [!abc] like bash and *csh already does 1997-06-06 23:04:33 +00:00
charnier
df15606acb Typo in usage string. Looks like the man page now. 1997-06-06 06:48:35 +00:00
charnier
868b27768e 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
5dd7b88ddb Correct usage string. Man page don't reflect reality for now. 1997-06-06 06:43:19 +00:00
charnier
3f6611f8d3 Cosmetic change in usage string. 1997-06-06 06:40:06 +00:00
charnier
efc4145bcf Do not use __progname. 1997-06-06 06:32:09 +00:00
charnier
c9aaab1f2a Revert part of previous patch: Don't use __progname. 1997-06-04 06:27:30 +00:00
charnier
3e75767b30 Revert part of previous patch: Don't use __progname. 1997-06-04 06:21:44 +00:00
charnier
401decf3fc Add xref to lchown(2) and symlink(2).
Obtained from: {Net|Open}BSD
1997-06-03 06:27:44 +00:00
charnier
10249d98be Signal # NSIG (32) is invalid.
Obtained from: {Net|Open}BSD
1997-06-03 06:24:50 +00:00
charnier
e541d40ac8 /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
815b0475b4 /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
f3827d8ae6 Add X-reference to ch(4). 1997-06-02 20:57:52 +00:00
charnier
4e0c9ceb80 Typo fix. 1997-06-02 06:40:08 +00:00
charnier
37f3c23139 Typo (the the -> the). 1997-06-02 06:32:26 +00:00
charnier
e71816b9ce Off by 1 adjustment. Properly NUL terminate after strncpy.
Obtained from: {Net|Open}BSD
1997-06-02 06:30:06 +00:00
charnier
6bd40f99ef Off by 1 adjustment. 1997-06-02 06:27:00 +00:00
charnier
16e92ea4c7 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
900c29f67a 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
77dc61551a 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
de0e0cfad3 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
1c5ad8bff5 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
e6f2a91d79 Use the __unused attribute where warranted. 1997-05-19 00:18:52 +00:00
steve
b52f00b73c 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
9d876a1ca8 Ensure string termination after strncpy().
PR:		2997
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-05-09 16:00:35 +00:00
steve
7837db683d 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
e0d721aef0 Don't source $ENV unless this is an interactive shell. 1997-05-05 03:45:17 +00:00
bde
14dd6bbf0c 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
c70c291f10 Enable whiteout code since we now have the lite2 support for them. 1997-04-29 10:03:10 +00:00
jkh
6fbecfb144 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
0a7b50e32b 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
19cb385cc2 Turn on the new type builtin. 1997-04-28 03:50:07 +00:00
steve
44bb07fe05 Sync with NetBSD's revision 1.29 of this file.
Obtained from: NetBSD
1997-04-28 03:28:43 +00:00
steve
e918e82878 Remove an extra semicolon and nuke register keyword usage. 1997-04-28 03:27:12 +00:00
steve
14b3c0a4f8 Fix redirection of unopened file descriptors and nuke register
keyword usage.

Obtained from: NetBSD
1997-04-28 03:25:13 +00:00
steve
e310a7dada Revert changes from rev 1.16 to 1.17 for now. Closes PR 2879. 1997-04-28 03:22:09 +00:00
steve
608d3e61dc mdoc-ify and cleanup UNIMPLEMENTED messages. Closes PR 2880. 1997-04-28 03:20:09 +00:00
steve
4d58ce1f53 Reorder declarations slightly. 1997-04-28 03:17:51 +00:00
steve
2d8d8d0891 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
1d8c8cc1cb Nuke register keyword usage, #if -> #ifdef, and avoid void *
arithmetic.

Obtained from: NetBSD
1997-04-28 03:14:04 +00:00
steve
f7ea4486cb Nuke register keyword usage, rename pread to preadfd, and open
input files FD_CLOEXEC.

Obtained from: NetBSD
1997-04-28 03:11:52 +00:00
steve
a6b0a4171a When NO_HISTORY is defined and the history command is used
show an error message.

Inspired by: NetBSD
1997-04-28 03:10:31 +00:00
steve
d629ba9f89 Add a type builtin and nuke register keyword usage.
Obtained from: NetBSD
1997-04-28 03:08:38 +00:00
steve
6869cb59bf Nuke register keyword usage and #if -> #ifdef.
Obtained from: NetBSD
1997-04-28 03:06:52 +00:00
steve
313e34c452 Shamelessly pilfer most of NetBSD's Makefile so that the
problem with 'make -j n' and no .depend file goes away.
I think Bruce mentioned this somewhere on one of the
mailing lists.

Obtained from: NetBSD
1997-04-28 03:03:23 +00:00
jdp
ce525b762d When "-c" is specified, don't pad the command with spaces if it is
the last field on the line.  "ps -axlc" was needlessly wrapping
around on 80-character windows.
1997-04-16 16:08:11 +00:00
danny
c95d878851 Fix typo in comment; Document in an example that years beyond 1999
are handled; fix typo in same example.
1997-04-16 05:59:21 +00:00
mpp
969cc91da0 Provide examples of how to remove file names that begin with
a dash in non-getopt implementations.  E.g.:
	rm /home/mpp/-filename
	rm ./-filename

Requested by: bde
1997-04-09 05:04:43 +00:00
mpp
9baabea624 Improve the wording in the NOTES section. Closes PR# 3223. 1997-04-08 20:27:48 +00:00