summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-2821-44/+44
| | | | posix standard on the topic.
* make usage() and SYNOPSIS agree with each other and add missing optionsobrien1997-03-262-4/+4
| | | | documented in the DESCRIPTION section.
* Use mkstemp rather than mktemp to prevent races.imp1997-03-241-4/+8
| | | | Obtained from: OpenBSD
* Merged from Lite2. The -t option is now handled better. The only visiblebde1997-03-131-104/+37
| | | | change should be that the usage message now actually matches the man page.
* Merged from Lite2. The man page no longer attempts to list all thebde1997-03-131-21/+28
| | | | | | vfs types. Fixed ordering of FreeBSD `k' option in synopsis.
* Merge from Lite2. Straightforward changes.bde1997-03-131-2/+7
|
* Correct the self reference in the description of the "tabs" option.mpp1997-03-121-2/+2
| | | | | | It should really refer to "oxtabs". Obtained from: NetBSD-bugs mailing list PR# 3320
* Fix buffer overflowguido1997-03-101-2/+3
|
* This is a funny one: df for a device that was not mounted used to failguido1997-03-101-2/+2
| | | | for root only.
* Fix buffer overflow (probably unexploitable).guido1997-03-101-2/+2
|
* Make mv more robust. A race has been fixed, as well as an extra warningguido1997-03-081-10/+28
| | | | | added when sbits are cleared. Fixes PR 1351 and 1377 (I hope).
* Typo fix.mpp1997-03-071-2/+2
|
* Acitvate chio(1).joerg1997-03-061-2/+2
|
* This commit was generated by cvs2svn to compensate for changes in r23449,joerg1997-03-065-0/+966
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Jason Thorpe's contribution for an updated SCSI media changerjoerg1997-03-065-0/+966
| | | | device (now, finally!).
* Big usernames fixesache1997-03-041-4/+5
|
* Use MAXLOGNAME-1 for width because MAXLOGNAME includes NULache1997-03-031-3/+3
|
* Add a missing period in the -o option description.mpp1997-02-251-3/+10
| | | | | | Document the depreciated -g option. Inspired by: OpenBSD PR# 119
* Revert $FreeBSD$ to $Id$peter1997-02-22269-269/+269
|
* Use the .Bx macro in the HISTORY section.mpp1997-02-191-1/+2
|
* Add history section. Follows chflags(2).obrien1997-02-191-0/+4
|
* Include <ufs/ufs/ufsmount.h>.jkh1997-02-171-0/+1
|
* Fix a expansion bug that caused the result of `echo $((1 << 30))`steve1997-02-161-2/+5
| | | | | | to get truncated. Submitted by: bde
* Sweep through the tree fixing mmap() usage:alex1997-01-161-1/+1
| | | | | | | | | | | | - Use MAP_FAILED instead of the constant -1 to indicate failure (required by POSIX). - Removed flag arguments of '0' (required by POSIX). - Fixed code which expected an error return of 0. - Fixed code which thought any address with the high bit set was an error. - Check for failure where no checks were present. Discussed with: bde
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-14269-269/+269
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Sort cross references.wosch1997-01-135-13/+13
|
* Minor mdoc cleanup.mpp1997-01-111-2/+4
|
* Add a blurb describing the fact that ls will print thempp1997-01-111-2/+8
| | | | | | | year in place of the hour/minute fields if the time is more than 6 months in the past or future. Also some minor mdoc cleanup.
* Make ls include the year when displaying times that are more thanmpp1997-01-111-2/+6
| | | | | | 6 months into the future. Closes PR# 1657. Submitted by: Sakari Jalowaara <sja.home.tekla.fi>
* Fix a problem that caused some foreground pipelines to die with:steve1997-01-061-3/+2
| | | | | | tcsetpgrp failed, errno=1 Discovered and Reviewed by: joerg
* Make sh(1) think and be in the same place at the same time. This closessteve1997-01-041-15/+11
| | | | PR#2331: strange output of sh's pwd on symlinked directories.
* add some string examples, eg. test "" -o ""wosch1996-12-281-12/+16
|
* Use strcoll instead of strcmp for file names comparationache1996-12-281-3/+3
| | | | Should be in 2.2
* Fix handling of -o and -a operators in the 3 argument case.steve1996-12-251-2/+2
| | | | Submitted by: Tom Rush <tarush@mindspring.com>
* With these changes sh(1)'s trap command should be POSIX-compliant,steve1996-12-241-49/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | while remaining (becoming :) compatible with other popular shells. Specifically these changes include: 1) Implement 'trap -l' to get a list of valid signals names. This is useful if you wanted to do something like reset all signal handlers to there defaults values, in which case something like this will do the trick. trap `trap -l` 2) Reformat the output of 'trap' so it can be saved and later eval'd to restore the saved settings. 3) Allow the use of signal names as well as signal numbers. 4) Fix trap handling of SIGCHLD so that commands like the following (albeit, contrived) won't cause sh(1) to recurse ad infinitum. trap uname 0 20 5) Make variables static that are used only in trap.c. 6) Minor 'style(9) police' mods.
* Oops, it needs little more caulk to get it right.steve1996-12-231-2/+2
|
* Apply a little dab of bit caulk to keep those beggarssteve1996-12-231-6/+2
| | | | | | from leaking out. Noticed by: bde
* Don't use _POSIX_PATH_MAX to limit the size of the path, insteadsteve1996-12-231-3/+3
| | | | | | use 'getcwd(NULL, 0)' just as pwd(1) does. Suggested by: bde
* Make sh(1) a little braver in the face of adversity. sh(1)steve1996-12-214-169/+21
| | | | | | | now handles the getpwd() init problem the same way as bash and ksh do. Also while I was in here, I cleaned up the format a little, removed some unnnecessary #if SYMLINKS cruft, and changed the pwd builtin to use getcwd(3) as Joerg suggested.
* This doesn't change any behavior, but may be a slightsteve1996-12-211-2/+2
| | | | | | optimization. (num-- > 0) --> (--num >= 0). Obtained from: NetBSD
* Remove extra #undef.steve1996-12-211-2/+1
|
* Fix a problem caused by finger failure on my part. The builtinsteve1996-12-211-3/+7
| | | | | | | | getopts should now work as expected. This fix was in the NetBSD code that I was merging from but missed getting into FreeBSD's version because of 'drain bamage' on my part. Submitted by: NetBSD, joerg
* Merge in NetBSD mods and -Wall cleaning.steve1996-12-1443-491/+908
| | | | Obtained from: NetBSD, me
* -Wall cleaning.steve1996-12-1410-26/+26
|
* Cleanup man page and -Wall cleaning.steve1996-12-144-16/+27
|
* -Wall cleaning and implement -p commandline option.steve1996-12-142-23/+61
| | | | -p mod obtained from: NetBSD
* Merge Lite2 mods, and -Wall cleaning. Unimplemented undelete(2)steve1996-12-142-38/+113
| | | | | cruft is protected by a #ifdef (BSD4_4_LITE) that should be removed when this is supported by the kernel.
* -Wall cleaning.steve1996-12-1441-99/+105
|
* Merge Lite2 mods, cleanup man page, and -Wall cleaning.steve1996-12-142-9/+9
|
OpenPOWER on IntegriCloud