| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Submitted by: DES
|
|
|
|
|
| |
Reviewed by: jake
Approved by: jake
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
returns, exit gracefully with 0.
This fixes the behavior you see when you specify libc.so. It occurs
because ldd(1) itself is linked with libc.so.
$ ldd /usr/lib/libc.so
/usr/lib/libc.so:
ldd: /usr/lib/libc.so: (null)
/usr/lib/libc.so: exit status 1
Reviewed by: silence of audit@
|
|
|
|
| |
to userland. This makes elf2aout work as a cross tool.
|
|
|
|
|
|
|
| |
to using arithmatic to determine buffer sizes to encode into.
Diane Bruce pointed out to me that BSD/OS did MIME too, so I want to match
their output, too, since my decision of 8 output groups was wholly arbitrary.
|
|
|
|
|
|
|
|
|
|
|
| |
is wrong, even though our C compiler doesn't understand that exit() eats
control of the program, and as such can sometimes complain that main() reaches
the bottom of its body without an explicit return().
Aside from that, the functional usefulness of changing it is effectively nil,
so back it out.
Submitted by: mike
|
|
|
|
|
|
| |
attempting to line up values into columns.
Obtained from: NetBSD (idea)
|
|
|
|
|
| |
substitution if `utility' is not specified and we're using the buildin echo;
It has no arguments for us to abuse.
|
|
|
|
|
|
| |
SUSv3 requires and give od a proper manual page.
PR: 36783
|
|
|
|
| |
PR: 36783
|
|
|
|
| |
PR: 36783
|
|
|
|
|
|
| |
converting them to unsigned bytes.
PR: 36783
|
|
|
|
|
|
|
|
|
| |
deprecation warning from the utility and manual page. Since this utility
is required by POSIX, it's not likely to be removed any time soon.
This is leading up to the addition of the P1003.1-2001 -s -A -j -N -t options.
PR: 36783
|
|
|
|
|
|
|
| |
using sizeof() anyway. Use slightly more consistent (per-file) error
reporting for malloc(3) returning NULL. If "malloc failed" was being printed,
don't use err(3). If a NULL format is being used, use err(3). In one case
errx(3) was being used with strerror(3), so just use err(3).
|
|
|
|
| |
Use `return' instead of `exit' at the bottom of main().
|
|
|
|
| |
conform to P1003.1-2001.
|
|
|
|
| |
to be compressed/decompressed to standard output.
|
| |
|
|
|
|
| |
its size would not be reduced (SUSv3).
|
|
|
|
|
|
|
| |
not octal or hex. This is the way it was before revision 1.10.
PR: 36950
Submitted by: Peter Avalos <pavalos@theshell.com>
|
|
|
|
| |
PR: 36950
|
|
|
|
| |
renice may not use stdout at all.
|
|
|
|
|
|
|
|
| |
stdout. Unfortunately, DES mfc'ed this change in 1.15.2.1 (this
part probably should not have been) so it is broken there too.
truss is documented to use stderr, and other implementations use stderr.
Submitted by: Arne Dag Fidjestøl <adf@idi.ntnu.no>
|
|
|
|
| |
is larger than the number of lines in the overflow file.
|
| |
|
| |
|
|
|
|
|
|
|
| |
to be specified on the command line for which information should be reported.
Submitted by: Joe Halpin <joe.halpin@attbi.com>
Reviewed by: mike
|
|
|
|
|
|
| |
PR: 30543
Approved by: dwmalone (mentor)
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* It now knows about the existence of #elif which would have
caused it to produce incorrect results in some situations.
* It can now process #if and #elif lines according to the
values of symbols that are specified on the command line.
The expression parser is only a simple subset of what C
allows but it should be sufficient for most real-world
code (it can cope with everything it finds in xterm).
* It has an option for printing all of the symbols that might
control #if processing. The unifdefall script uses this
option along with cpp -dM to strip all #ifs from a file.
* It has much larger static limits.
* It handles nested #ifs much more completely.
There have also been many style improvements: KNF; ANSI function
definitions; all global stuff moved to the top of the file; use
stdbool instead of h0h0bool; const-correctness; err(3) instead
of fprintf(stderr, ...); enum instead of #define; commentary.
I used NetBSD's unifdef as the basis of this since it has received
the most attention over the years.
PR: 37454
Reviewed by: markm, dwmalone
Approved by: dwmalone (mentor)
MFC after: 3 weeks
|
|
|
|
|
| |
PR: 36130
Reviewed by: mike
|
|
|
|
|
| |
PR: 36130
Approved by: mike
|
|
|
|
|
|
|
|
| |
marker. Exit non-zero if we cannot open one of the input files. Update
standards conformance and exit status statements in manual page.
PR: 36130
Approved by: mike
|
|
|
|
|
|
|
|
|
| |
Don't prototype main(),
C89-style function declarations,
char **argv -> char *argv[] for main()
PR: 36130
Approved by: mike
|
|
|
|
|
|
|
|
| |
sort variables, NULL is the null-pointer constant, remove unnecessary
braces.
PR: 36130
Approved by: mike
|
|
|
|
|
|
|
|
| |
characters.
PR: 36130
Approved by: mike
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
mktemp(3). It would be amazingly unlikely, but the former method
could result in a symlink attack. A better solution would use
${TMPDIR}, though.
o Make sed not overwrite old backup files with no warning.
|
|
|
|
| |
Submitted by: fenner
|
|
|
|
| |
Submitted by: wollman
|
|
|
|
|
|
|
|
| |
the requested utility. This is how nice(1) traditionall behaved,
and the behaviour required by SUSv3 and POSIX.2 UPE.
Submitted by: Peter Avalos <pavalos@theshell.com> (partially)
Reviewed by: mike
|
|
|
|
|
|
|
|
|
| |
Replace "command" with "utility" in the manual page & source to be more
consistent with the terminology used in the standard, and to hint that
shell builtin commands won't work.
Submitted by: Peter Avalos <pavalos@theshell.com> (partially)
Approved by: mike
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files. Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.
Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1. Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):
kerberos5/lib/libtelnet/Makefile
lib/libbz2/Makefile
lib/libdevinfo/Makefile
lib/libform/Makefile
lib/libisc/Makefile
lib/libmenu/Makefile
lib/libmilter/Makefile
lib/libpanel/Makefile
Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.
Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD. Similarly for INCOWN, INCGRP,
and INCMODE.
Consistently use INCLUDEDIR instead of /usr/include.
gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.
These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
|
| |
|
|
|
|
| |
to ANSI C. Use new source ID scheme.
|
| |
|
|
|
|
|
|
|
|
| |
indicates that not everything worked as expected. Exit non-zero if we
timed out while transmitting or receiving a file or if the file did
not exist, etc.
MFC After: 3 days (re@ willing)
|
|
|
|
|
|
| |
environment variable that specifies the name of the strip(1)
program to use. The envvar is "STRIPBIN". The more natural
choice would be "STRIP", but that one is taken already.
|
|
|
|
|
| |
K&R style main() makes gcc emit a warning about missing prototypes so
switch to ANSI.
|
| |
|
|
|
|
|
| |
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.
|