tjr
6d20181e60
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
tjr
fb4f03d256
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
ru
a8adf98c82
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
ru
2a8927efce
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
des
403946d7ed
fetch(1) is WARNS-5 clean (tested on i386 and Alpha)
2002-07-28 21:09:57 +00:00
des
9413d584e7
Use strtol(3) instead of a home-grown version, and fix a "possibly
...
unitialized variable" warning.
2002-07-28 21:09:25 +00:00
dwmalone
8e2ebdedb2
Add enough consts to keep everyone happy.
2002-07-28 16:23:28 +00:00
dwmalone
3f2a3935bb
Don't reuse a const char * when we really want a char *.
2002-07-28 16:17:38 +00:00
dwmalone
4233e58352
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
dwmalone
391a69a94d
ANSIify function definitions to avoid a warning.
2002-07-28 15:50:38 +00:00
dwmalone
39f15130f8
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
dwmalone
1dca0716ff
ANSIify function definitions to avoid a warning.
2002-07-28 15:32:17 +00:00
dwmalone
bf25e6dcaf
ANSIify function definitions to avoid a warning.
...
Minor constness changes.
2002-07-28 15:28:38 +00:00
dwmalone
0e9dee55c6
ANSify function definitions to avoid a warning.
2002-07-28 15:25:15 +00:00
dwmalone
3f5f42dd5a
ANSIify function definitions to avoid a warning.
2002-07-28 15:22:43 +00:00
dwmalone
165587ded9
ANSIify function definitions to avoid a warning.
...
PR: 38930
Submitted by: keramida
2002-07-28 15:20:10 +00:00
dwmalone
6b76694948
ANSIify function definitions to avoid a warning.
2002-07-28 15:13:17 +00:00
dwmalone
c86f1a950a
ANSIify function definitions to avoid some warnings.
...
Include stdlib.h for exit.
2002-07-28 15:02:24 +00:00
dwmalone
fe8579aa8f
ANSIify function definitions to avoid a warning.
...
Minor constness changes.
2002-07-28 14:55:59 +00:00
dwmalone
59dc008527
ANSIify function definitions to avoid a warning.
2002-07-28 14:41:26 +00:00
jmallett
fd7aefbcf8
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
dd
82b3ef0386
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
jmallett
5a6eb0ca5f
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
grog
9cf68e2eb9
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
imp
7701b3e2af
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
tjr
32b632dfec
Use sigaction(2) instead of signal(3) to avoid the signal handler being
...
re-entered.
2002-07-26 05:25:12 +00:00
johan
b54fc31edc
Define all paths in pathnames.h
...
Approved by: joerg, sheldonh (mentor)
2002-07-25 23:04:31 +00:00
tjr
b47ef0cbaf
Give an example showing how to change the mesg status of terminals
...
other than the default one.
PR: 13073
2002-07-25 05:16:49 +00:00
robert
aa7e4582e3
style(9): - Put a space after the 'return' keyword.
...
- Wrap lines longer than 80 characters.
2002-07-24 18:54:59 +00:00
robert
a0562d2132
Use an ANSI-C function definition rather than a
...
K&R one to avoid a warning.
2002-07-24 18:39:51 +00:00
robert
6eea4ee200
- Add a COMPATIBILITY section explaining that the default
...
behaviour of obtaining the affected terminal has changed.
- Refer to the user's terminal instead of the current
terminal session.
- Tell the reader what the utility does when it is invoked
without arguments.
Submitted by: johan
2002-07-24 18:37:22 +00:00
robert
6edce70ffe
Allow selection of the affected terminal using redirection
...
of standard input or standard output, like mesg(1) does.
Suggested by: sheldonh
2002-07-24 15:48:17 +00:00
johan
544f1a7f94
Teach whereis(1) about games.
...
Approved by: joerg, sheldonh (mentor)
2002-07-24 14:35:29 +00:00
jdp
86b3836232
Widen struct sockbuf's sb_timeo member to int from short. With
...
non-default but reasonable values of hz this member overflowed,
breaking NFS over UDP.
Also, as long as I'm plowing up struct sockbuf ... Change certain
members from u_long/long to u_int/int in order to reduce wasted
space on 64-bit machines. This change was requested by Andrew
Gallatin.
Netstat and systat need to be rebuilt. I am incrementing
__FreeBSD_version in case any ports need to change.
2002-07-24 03:02:43 +00:00
trhodes
cef72b6149
Revert previous delta for cut(1) and calendar(1) as they were not applied
...
correctly. My fault, forgot that -current was checked out.
2002-07-23 15:09:56 +00:00
jmallett
558b722f1e
Remove duplicate __FBSDID() - spotted by trying to build with a non-GNU
...
compiler.
2002-07-23 14:39:20 +00:00
ru
1419e21345
Dependencies are delimited by space not tab.
2002-07-23 09:15:45 +00:00
eric
7ff3e005dc
Handle directories correctly.
...
PR: 40801
MFC after: 5 days
2002-07-23 04:54:57 +00:00
trhodes
2f537c20aa
Revert last commit. Sorry for breaking things
2002-07-22 21:45:16 +00:00
trhodes
e123a791c5
MFC: Fix some grammar, greater reduce diffs to HEAD
2002-07-22 21:14:16 +00:00
ume
a3550f2858
add -4 and -6 option to be able to specify an address family.
...
Requested by: matusita
MFC after: 1 week
2002-07-22 17:19:54 +00:00
robert
28e1b1786c
- Use MAXLOGNAME - 1 rather than UT_NAMESIZE.
...
- Remove the inclusion of <utmp.h>.
2002-07-22 11:36:25 +00:00
robert
ea42527996
- Use MAXLOGNAME - 1 instead of UT_NAMESIZE.
...
- Do not pretend there is something like '/etc/utmp'.
2002-07-22 11:32:16 +00:00
tjr
b8007ee7a0
Correct syntax error, remove the unescaped newline between "||" and the
...
command it is intended to test. pdksh and bash caught this syntax error,
sh(1) did not behave as intended.
PR: 40386
2002-07-22 05:35:59 +00:00
ru
516f6d963f
Fixed improper SCRIPTS assignment that broke `clean'.
2002-07-21 21:03:47 +00:00
johan
9f194c6b43
Only use one %s when there is only one argument to print.
...
Submitted by: keramida
Approved by: sheldonh (mentor)
2002-07-21 15:11:32 +00:00
charnier
26ad533edb
Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc,
...
xstrdup. There is a crash() function that do cleaning before exiting the
program. The new functions are wrappers that make use of crash() in case
of allocation failure. warn, exit -> err.
Reviewed by: alfred
2002-07-21 12:55:04 +00:00
charnier
9f90b488fd
s/A last utility last appeared/A last utility appeared/ (horikawa).
...
Use .Pa for wtmp.
Submitted by: horikawa
2002-07-21 12:45:54 +00:00
dillon
62fef107e4
Add the tcps_sndrexmitbad statistic, keep track of late acks that caused
...
unnecessary retransmissions.
2002-07-19 18:29:38 +00:00
markm
d283bf5723
Merge conflicts.
2002-07-19 16:38:21 +00:00