summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Now [^abc] means the same as [!abc] like bash and *csh already doesache1997-06-061-4/+4
|
* Typo in usage string. Looks like the man page now.charnier1997-06-061-2/+2
|
* Err(3) was locally defined (for portability reasons). Use #ifdef 0/#endifcharnier1997-06-061-1/+5
| | | | to hide this so libc is kept instead.
* Correct usage string. Man page don't reflect reality for now.charnier1997-06-061-7/+8
|
* Cosmetic change in usage string.charnier1997-06-064-18/+19
|
* Do not use __progname.charnier1997-06-061-16/+12
|
* Revert part of previous patch: Don't use __progname.charnier1997-06-041-4/+2
|
* Revert part of previous patch: Don't use __progname.charnier1997-06-041-4/+2
|
* Add xref to lchown(2) and symlink(2).charnier1997-06-031-3/+10
| | | | Obtained from: {Net|Open}BSD
* Signal # NSIG (32) is invalid.charnier1997-06-031-2/+2
| | | | Obtained from: {Net|Open}BSD
* /etc/netstart -> /etc/rc.networkcharnier1997-06-032-4/+6
| | | | Use __progname in usage string. Change usage string to match the man page.
* /etc/netstart -> /etc/rc.networkcharnier1997-06-032-4/+25
| | | | Add usage() and use __progname. Change usage string to match man page.
* Add X-reference to ch(4).max1997-06-021-0/+1
|
* Typo fix.charnier1997-06-021-2/+3
|
* Typo (the the -> the).charnier1997-06-021-2/+2
|
* Off by 1 adjustment. Properly NUL terminate after strncpy.charnier1997-06-023-7/+11
| | | | Obtained from: {Net|Open}BSD
* Off by 1 adjustment.charnier1997-06-021-2/+2
|
* Remove unused variables. Suppress -Wall warnings. Check for potential buffercharnier1997-06-021-5/+13
| | | | | overflow. Display available command in usage string. Obtained from: {Net|Open}BSD
* Submitted by: Whistle Communications (archie Cobbs)julian1997-06-022-2/+13
| | | | | | | | | | | | | | | | | | 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
* Make sh(1) less aware of the bit fields returned by wait bysteve1997-05-241-33/+42
| | | | | | | using the WIF* macros in sys/wait.h. PR: bin/3668 Submitted by: dholland@eecs.harvard.edu
* Remove y.tab.h from the beforedepend target. Also add asteve1997-05-211-2/+3
| | | | | | rule that shows the dependency of arith_lex.[co] on y.tab.h. Suggested by: Bruce Evans <bde@zeta.org.au>
* Add explicit y.tab.h rule so that 'make depend clean all' doessteve1997-05-191-2/+4
| | | | not fail with an "don't know how to make y.tab.h" error.
* Use the __unused attribute where warranted.steve1997-05-1911-47/+47
|
* Miscellaneous sorting and addition of rules for object files thatsteve1997-05-191-11/+25
| | | | | | depend on generated headers. Reviewed by: Bruce Evans <bde@zeta.org.au>
* Ensure string termination after strncpy().joerg1997-05-091-2/+3
| | | | | PR: 2997 Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Revise the section that explains how to protect parts of an $ENV scriptsteve1997-05-071-20/+12
| | | | | | from being executed in non-interactive mode. Suggested and Reviewed by: Brian Somers <brian@freebsd.org>
* Don't source $ENV unless this is an interactive shell.steve1997-05-051-2/+2
|
* Fixed overflow for attempts to seek to offsets > ULONG_MAX. See thebde1997-04-301-2/+2
| | | | | | 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.
* Enable whiteout code since we now have the lite2 support for them.dfr1997-04-294-8/+8
|
* Dynamically adjust size of displayed username to the longest username whichjkh1997-04-295-145/+254
| | | | | | | 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>
* Change spelling of ECBDIC to EBCDIC. Closes PR #3402steve1997-04-281-2/+2
| | | | Submitted by: h-nokubi@nmit.mt.nec.co.jp
* Turn on the new type builtin.steve1997-04-281-1/+2
|
* Sync with NetBSD's revision 1.29 of this file.steve1997-04-281-27/+55
| | | | Obtained from: NetBSD
* Remove an extra semicolon and nuke register keyword usage.steve1997-04-281-7/+7
|
* Fix redirection of unopened file descriptors and nuke registersteve1997-04-281-9/+27
| | | | | | keyword usage. Obtained from: NetBSD
* Revert changes from rev 1.16 to 1.17 for now. Closes PR 2879.steve1997-04-281-49/+29
|
* mdoc-ify and cleanup UNIMPLEMENTED messages. Closes PR 2880.steve1997-04-281-735/+587
|
* Reorder declarations slightly.steve1997-04-281-3/+3
|
* Avoid a possible NULL pointer dereference, nuke register usage,steve1997-04-281-6/+5
| | | | | | and remove an unnecessary reset. Obtained from: NetBSD
* Nuke register keyword usage, #if -> #ifdef, and avoid void *steve1997-04-282-13/+13
| | | | | | arithmetic. Obtained from: NetBSD
* Nuke register keyword usage, rename pread to preadfd, and opensteve1997-04-281-7/+9
| | | | | | input files FD_CLOEXEC. Obtained from: NetBSD
* When NO_HISTORY is defined and the history command is usedsteve1997-04-281-3/+16
| | | | | | show an error message. Inspired by: NetBSD
* Add a type builtin and nuke register keyword usage.steve1997-04-282-5/+81
| | | | Obtained from: NetBSD
* Nuke register keyword usage and #if -> #ifdef.steve1997-04-2814-65/+65
| | | | Obtained from: NetBSD
* Shamelessly pilfer most of NetBSD's Makefile so that thesteve1997-04-281-28/+16
| | | | | | | | 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
* When "-c" is specified, don't pad the command with spaces if it isjdp1997-04-161-2/+5
| | | | | the last field on the line. "ps -axlc" was needlessly wrapping around on 80-character windows.
* Fix typo in comment; Document in an example that years beyond 1999danny1997-04-162-4/+4
| | | | are handled; fix typo in same example.
* Provide examples of how to remove file names that begin withmpp1997-04-091-1/+8
| | | | | | | | a dash in non-getopt implementations. E.g.: rm /home/mpp/-filename rm ./-filename Requested by: bde
* Improve the wording in the NOTES section. Closes PR# 3223.mpp1997-04-081-13/+12
|
* Fix several problems with mkdir:mpp1997-04-011-29/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Fix mkdir -p to exit with the proper exit status and issue an error message if it was unable to create all of the specified directories and they did not previously exist. POSIX says: The mkdir utility shall exit with one of the following values: 0 All the specified directories were created successfully or the -p option was specified and all the specified directories now exist. E.g. % mkdir -p /var/mkdir mkdir: /var/mkdir: Permission denied % touch /tmp/file % mkdir -p /tmp/file/dir mkdir: /tmp/file: Not a directory Previously the above examples would exit with a zero exit status and no error message. Something like the following run as a normal user will still not produce an error: % id uid=629(mpp) gid=629(mpp).... % mkdir -p /usr/local/etc % ls -ld /usr/local/etc drwxr-xr-x 4 bin bin 512 Dec 26 14:55 /usr/local/etc/ 2) Cleaned up the mode handling to be more efficient when multiple directories are being created. 3) Fixed a problem where directories could be created with the wrong mode if the the -p option was specified and the build() routine returned and error. It would leave the umask set incorrectly at this point. 4) Removed an unused variable. Closes PR# 2304.
OpenPOWER on IntegriCloud