Ian Dowse
e56990e43b
Add a new flag (-l) that suppresses quota checks on NFS filesystems.
...
PR: bin/12939
Submitted by: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
2002-08-09 00:53:00 +00:00
Ian Dowse
e608ec61bd
Fix a few compiler warnings, sort options and make the usage()
...
output match the synopsis.
2002-08-09 00:43:36 +00:00
Ruslan Ermilov
19d732af8b
Pacify ``make -f /dev/null -V FOO''.
2002-08-07 13:25:51 +00:00
Matthew N. Dodd
fb034d05ac
Remove an unnecessary cast.
2002-08-07 11:35:18 +00:00
Andrey A. Chernov
04a0be1f97
Back out workaround of fixing "suspend/fg" by price of breaking "stop $$/fg".
...
This is real kernel bug (threads) and don't attempt to mask it by
workarounds to increase chances to fix it in the kernel.
2002-08-07 05:44:50 +00:00
Matthew N. Dodd
37169f9446
- Use time.h not sys/time.h.
...
- Fix printf format errors.
Submitted by: bde
2002-08-06 12:46:14 +00:00
Greg Lehey
6dba302111
Remove Australia from list of locations supposedly having a bank
...
holiday on 6 August. Since this claim isn't dependent on the weekday,
I have my strong doubts about the other locations too, but I can't
confirm, so I'm leaving them in.
2002-08-05 23:54:22 +00:00
Matthew N. Dodd
28c4ea6da8
Remove extra space in output.
2002-08-05 14:56:20 +00:00
Matthew N. Dodd
42a389ac3e
Diff reduction.
2002-08-05 13:23:41 +00:00
Matthew N. Dodd
203098d816
Use timespec not timeval.
2002-08-05 12:22:55 +00:00
Jake Burkholder
f84c971a6f
Ported to sparc64.
2002-08-04 17:57:01 +00:00
Bruce Evans
c69d844294
Include <sys/time.h> for the declaration of struct timeval. Do not
...
depend on namespace pollution in <signal.h>. (truss shouldn't be
using timevals anyway, since it was implemented long after timevals
were obsoleted by timespecs.)
2002-08-04 10:57:41 +00:00
Matthew N. Dodd
9897b20356
Add options to print the argument and environment string parameters to
...
execve().
This could be done in a more general manner but it still wouldn't
be very pretty.
MFC after: 3 weeks
2002-08-04 02:24:21 +00:00
Matthew N. Dodd
0629483c41
Add a "FreeBSD ELF32" entry to ex_types[].
2002-08-04 02:20:06 +00:00
Matthew N. Dodd
88a6987d40
Terminate the output line when a non-returning syscall is printed.
2002-08-04 01:28:13 +00:00
Matthew N. Dodd
0d0bd00edd
Add options to print absolute and relative timestamps.
...
PR: bin/25587 (in part)
MFC after: 3 weeks
2002-08-04 01:27:31 +00:00
Matthew N. Dodd
c03bfcc871
Allow tracking fork()ed children.
...
PR: bin/25587 (in part)
MFC after: 3 weeks
2002-08-04 01:02:52 +00:00
Matthew N. Dodd
ec0bed25ba
Parameterize globals.
...
PR: bin/25587 (in part)
MFC after: 3 weeks
2002-08-04 00:46:48 +00:00
Robert Drehmel
6dbe8d53a5
Use a cast to `void *' before casting to a pointer to a structure
...
to stop GCC emitting warnings about increased alignment requirements
which broke the build for sparc64.
Approved by: des
2002-08-02 11:57:59 +00:00
Dag-Erling Smørgrav
02bd9db045
Don't depend on namespace pollution from <netinet/in_pcb.h>.
...
Submitted by: bde
2002-08-01 16:49:31 +00:00
Dag-Erling Smørgrav
1e6690e5db
Implement the -l and -c options, which I'd forgotten.
2002-08-01 11:02:30 +00:00
Dag-Erling Smørgrav
ca007d9172
Rewrite sockstat(1) in C.
...
Sponsored by: DARPA, NAI Labs
2002-07-31 12:32:03 +00:00
Tony Finch
d1691a2ff6
Fix some bugs in in-place editing:
...
(1) errors from freopen were not reported correctly
(2) large files were not handled correctly
(3) read-only files broke things
MFC after: 1 week
2002-07-30 19:42:18 +00:00
Tim J. Robbins
0467aed3c9
Ignore leading semicolons on commands; required by SUSv3.
...
Obtained from: NetBSD (kleink, Aymeric Vincent)
2002-07-30 14:07:30 +00:00
Tim J. Robbins
6e9c52b638
When translating and -C is specified, behave as if the complemented set was
...
in the locale collating order as required by SUSv3.
2002-07-29 23:42:00 +00:00
Tim J. Robbins
482711cfa6
When translating and the -c option is specified, handle the case where the
...
second string argument is more than one character in length in the way
required by SUSv3 (and the way GNU textutils and SVR4 do it).
2002-07-29 14:50:54 +00:00
Ruslan Ermilov
d2893b161b
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
Ruslan Ermilov
33c1de7d1f
Ignore -C, -p, and -S options of install(1) when used with the -d
...
option. Warn about COPY being phased out. Restore the old method
of always comparing before installing: INSTALL="install -C".
Requested by: bde
2002-07-29 08:51:04 +00:00
Dag-Erling Smørgrav
35945a74ac
fetch(1) is WARNS-5 clean (tested on i386 and Alpha)
2002-07-28 21:09:57 +00:00
Dag-Erling Smørgrav
32411a1b6f
Use strtol(3) instead of a home-grown version, and fix a "possibly
...
unitialized variable" warning.
2002-07-28 21:09:25 +00:00
David Malone
50bb77244e
Add enough consts to keep everyone happy.
2002-07-28 16:23:28 +00:00
David Malone
81b4504baa
Don't reuse a const char * when we really want a char *.
2002-07-28 16:17:38 +00:00
David Malone
91fbb9c1db
Improve WARNS situation for kdump:
...
1) Define _KERNEL while including sys/time.h to get some function prototypes.
2) Add prototypes and ANSIify definitions.
3) Constness changes.
4) Remove register keyword.
5) Actually return a sensible value from main.
6) Make fread_tail take a void * instead of a char *.
7) Avoid a signedness warning by casting to a size_t. Should be safe
enough 'cos we also check for nonnegativity.
8) Be extra chummy with sigset_t rather than passing a struct to printf
and pretending it is an int.
2002-07-28 16:05:07 +00:00
David Malone
c10b37bf7a
ANSIify function definitions to avoid a warning.
2002-07-28 15:50:38 +00:00
David Malone
8015edeebb
The return value of snprintf should be always nonnegative, so it should
...
be safe to cast it to a size_t before comparing it to a sizeof().
2002-07-28 15:41:15 +00:00
David Malone
47e9e6a168
ANSIify function definitions to avoid a warning.
2002-07-28 15:32:17 +00:00
David Malone
19817b8518
ANSIify function definitions to avoid a warning.
...
Minor constness changes.
2002-07-28 15:28:38 +00:00
David Malone
823ab23f39
ANSify function definitions to avoid a warning.
2002-07-28 15:25:15 +00:00
David Malone
6ed42fb9d2
ANSIify function definitions to avoid a warning.
2002-07-28 15:22:43 +00:00
David Malone
b74c79078f
ANSIify function definitions to avoid a warning.
...
PR: 38930
Submitted by: keramida
2002-07-28 15:20:10 +00:00
David Malone
f2e8e0dad7
ANSIify function definitions to avoid a warning.
2002-07-28 15:13:17 +00:00
David Malone
a374d6e0a1
ANSIify function definitions to avoid some warnings.
...
Include stdlib.h for exit.
2002-07-28 15:02:24 +00:00
David Malone
412f8d5a03
ANSIify function definitions to avoid a warning.
...
Minor constness changes.
2002-07-28 14:55:59 +00:00
David Malone
77ae8ac713
ANSIify function definitions to avoid a warning.
2002-07-28 14:41:26 +00:00
Juli Mallett
afb325f75d
Search the include path for the argument to -f, to make lives easier for
...
those of us who want to figure out how old Jim Mock is, but only want to
type 'calendar -f calendar.freebsd'. This is done in a way that should
be totally backwards compatible with no noticable differences, at all.
Reviewed by: mux
MFC after: 4 weeks
2002-07-28 13:46:09 +00:00
Dima Dorfman
16a8de73d2
Add a -v option that prevents switching virtual terminals while this
...
terminal is locked. This permits the user to easily lock the entire
console from a single terminal.
2002-07-28 07:13:53 +00:00
Juli Mallett
716297c2d3
Print a warning when we are given two scripts for one target. This is neither
...
as wide-reaching nor intensive as NetBSD's similar, but the warning uses the
same text.
Inspired by: NetBSD
2002-07-28 03:52:41 +00:00
Greg Lehey
76e27551b5
Clarify J.S. Bach's life: he was only born once, and he died in Leipzig.
...
Add entry for Antonio Vivaldi's death.
2002-07-28 00:42:02 +00:00
Warner Losh
a366365a74
Back out jmallett's realpath changes. They break a set of makefiles that
...
we use in sublte ways with relative paths. Until they can be resolved,
back out these changes and put a big comment about why using realpath is
busted.
Approved by: jmallett
MFC After: 100 millifortnights
2002-07-26 21:50:36 +00:00
Tim J. Robbins
5b3df62e01
Use sigaction(2) instead of signal(3) to avoid the signal handler being
...
re-entered.
2002-07-26 05:25:12 +00:00