| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
|
|
|
|
|
|
|
|
| |
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.
Sponsored by: Netflix
|
|
|
|
|
|
|
|
|
| |
These sys/cdefs.h are not needed. Purge them. They are mostly left-over
from the $FreeBSD$ removal. A few in libc are still required for macros
that cdefs.h defines. Keep those.
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42385
|
|
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
|
|
|
|
|
| |
Define a non-const static char EMSG[] = "" to avoid having to add
__DECONST() to all uses of EMSG. Also make current_dash a const char *
to fix this warning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When presented with an arg string like '-l-', getopt_long will successfully
parse out the 'l' short option, then proceed to match '--' against the first
longopts entry as it later does a strncmp with len=0. This latter bit is
arguably another bug in itself, but presumably not a practical issue as all
callers of parse_long_options are already doing the right thing (except this
one pointed out).
An opt string like '-l-' should be considered malformed and throw a bad
argument rather than behaving as if '--' were passed. It cannot possibly do
what the invoker expects, and it's probably the result of a typo (ls -l- a)
rather than any intent.
Reported by: Tony Overfield <toverfield@yahoo.com>
Reviewed by: imp
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D18616
Notes:
svn path=/head/; revision=342757
|
|
|
|
|
|
|
|
|
| |
to reduce diff and bump OpenBSD patch level to v1.26.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267756
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also ANSIfy a function declaration.
While here update the OpenBSD patch level in getopt_long.c as we
already have the corresponding change.
Obtained from: NetBSD
MFC after: 2 weeks
Notes:
svn path=/head/; revision=267745
|
|
|
|
|
|
|
|
|
| |
No functional change.
Obtained from: NetBSD via OpenBSD
Notes:
svn path=/head/; revision=236936
|
|
|
|
|
|
|
| |
No functional changes.
Notes:
svn path=/head/; revision=162574
|
|
|
|
|
|
|
| |
v1.21 which just do that.
Notes:
svn path=/head/; revision=162557
|
|
|
|
|
|
|
|
|
| |
don't be greedy on the GNU "::" extension when arg separated by whitespace
and POSIX_CORRECTLY is set. From POSIX point of view this is unclear
situation, so minimal assumption looks right.
Notes:
svn path=/head/; revision=162555
|
|
|
|
|
|
|
|
|
|
| |
An optional argument cannot start with '-', even if permutation is
disabled.
Obtained from: OpenBSD getopt_long.c v1.17
Notes:
svn path=/head/; revision=131710
|
|
|
|
|
|
|
| |
short_too already assumes FLAG_LONGONLY
Notes:
svn path=/head/; revision=127734
|
|
|
|
| |
Notes:
svn path=/head/; revision=127733
|
|
|
|
|
|
|
| |
single '-' in command line and '-' (non-first) in options
Notes:
svn path=/head/; revision=126692
|
|
|
|
| |
Notes:
svn path=/head/; revision=126535
|
|
|
|
| |
Notes:
svn path=/head/; revision=126518
|
|
|
|
|
|
|
|
|
|
| |
define for it.
Don't catch POSIXLY_CORRECT env. into static variable, it can be changed
on the fly by program.
Use P1003.2 standartized illoptchar[]
Notes:
svn path=/head/; revision=126452
|
|
|
|
|
|
|
|
| |
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.
Notes:
svn path=/head/; revision=126438
|
|
|
|
|
|
|
|
| |
PR: 63173
Submitted by: Marius Strobl <marius@alchemy.franken.de>
Notes:
svn path=/head/; revision=126189
|
|
|
|
|
|
|
| |
<gnuregex.h>.
Notes:
svn path=/head/; revision=126039
|
|
|
|
| |
Notes:
svn path=/head/; revision=105299
|
|
Obtained from: NetBSD
Sponsored by: Apple
Notes:
svn path=/head/; revision=104128
|