summaryrefslogtreecommitdiffstats
path: root/bin/sh/options.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings, some of them serious because sh violated namecracauer2000-04-201-2/+2
| | | | | | | | spaces reserved by the header files it includes. mkinit.c still produces C code with redundant declarations, although they are more harmless since they automatically derived from the right places.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Add rcsid. Spelling.charnier1998-05-181-3/+5
|
* Avoid a possible NULL pointer dereference, nuke register usage,steve1997-04-281-6/+5
| | | | | | and remove an unnecessary reset. Obtained from: NetBSD
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* 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-141-32/+109
| | | | Obtained from: NetBSD, me
* Add the -p (privileged) commandline switchsteve1996-10-291-1/+10
| | | | | | found in bash, zsh, and friends. Reviewed by: joerg
* Merge of 4.4-Lite2 sh source, plus some gcc -Wall cleaning. This is apeter1996-09-011-20/+39
| | | | | | | | | | | | | | merge of parallel duplicate work by Steve Price and myself. :-] There are some changes to the build that are my fault... mkinit.c was trying (poorly) to duplicate some of the work that make(1) is designed to do. The Makefile hackery is my fault too, the depend list was incomplete because of some explicit OBJS+= entries, so mkdep wasn't picking up their source file #includes. This closes a pile of /bin/sh PR's, but not all of them.. Submitted by: Steve Price <steve@bonsai.hiwaay.net>, peter
* Fix my breakage of the $0 handling during $ENV processing.joerg1995-10-091-2/+2
| | | | Since the broken version went into 2.1, this fix should, too.
* Posixize:joerg1995-10-011-1/+4
| | | | | | | | | | | | | | sh -c [-aCefinuvx] command_string [ command_name [argument ...] ] 1 4.56.3 Options -c Read commands from the command_string operand. Set the value of special parameter 0 (see 3.5.2) from the value of the command_name operand and the positional parameters ($1, $2, etc.) in sequence from the remaining argument operands. Pointed out by: Kaleb Keithly (kaleb@x.org)
* Fix /bin/sh's broken handling of the builtin getopts(1). The optionsjoerg1995-08-061-3/+2
| | | | | | | ``-ffoo'' and ``-f foo'' have been treated differently. This has been in violation of Posix.2 (that deprecates -ffoo, but doesn't disallow it).
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
| | | | Reviewed by: phk
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+433
OpenPOWER on IntegriCloud