freebsd-dev/bin/sh
Jilles Tjoelker 7cbda73825 sh: Prefer internal nextopt() to libc getopt().
This reduces code duplication and code size.

/usr/bin/printf is not affected.

Side effect: different error messages when certain builtins are passed
invalid options.
2012-09-15 21:56:30 +00:00
..
bltin
funcs
alias.c
alias.h
arith_yacc.c
arith_yacc.h
arith_yylex.c
arith.h
builtins.def
cd.c sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
cd.h
error.c
error.h
eval.c sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
eval.h
exec.c sh: Expand assignment-like words specially for export/readonly/local. 2012-07-15 10:19:43 +00:00
exec.h sh: Expand assignment-like words specially for export/readonly/local. 2012-07-15 10:19:43 +00:00
expand.c
expand.h
histedit.c sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
init.h
input.c Merge libedit adjustment from NetBSD. 2012-07-11 22:17:58 +00:00
input.h
jobs.c sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
jobs.h sh: Remove unused variable in_dowait. 2012-07-15 10:49:16 +00:00
mail.c
mail.h
main.c sh: Reduce code duplication: use setinputfile instead of open/setinputfd 2012-09-14 15:22:15 +00:00
main.h
Makefile Work better with how make/bmake works: 2012-05-24 19:48:15 +00:00
memalloc.c
memalloc.h
miscbltin.c
mkbuiltins Work better with how make/bmake works: 2012-05-24 19:48:15 +00:00
mkinit.c
mknodes.c
mksyntax.c
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes
options.c sh: Remove XXX comment about removing nextopt(). 2012-09-08 19:24:03 +00:00
options.h
output.c
output.h
parser.c
parser.h
redir.c
redir.h
sh.1 Minor mdoc fix. 2012-09-11 17:57:03 +00:00
shell.h
show.c
show.h
TOUR
trap.c sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend(). 2012-07-29 18:04:38 +00:00
trap.h sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend(). 2012-07-29 18:04:38 +00:00
var.c sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
var.h