Giorgos Keramidas
c8f927b297
Use size_t or ino_t instead of int, and remove a few warnings.
...
The makewhatis utility is now ok with WARNS=3.
Reviewed by: bde
2002-06-07 01:01:08 +00:00
Tim J. Robbins
850a1deb0c
Refer to environ(7) for description of COLUMNS. Note the effects of LANG,
...
LC_ALL and LC_TIME upon the utility.
2002-06-07 00:50:22 +00:00
Dag-Erling Smørgrav
a5426997a3
debug.{numvnodes,freevnodes} moved to vfs.
2002-06-06 23:01:50 +00:00
Doug Barton
d4d239ae67
Hook stat into the build
...
Fix a trailing ws nit while I'm here
2002-06-06 19:36:51 +00:00
Doug Barton
dd3d071205
This commit was generated by cvs2svn to compensate for changes in r97952,
...
which included commits to RCS files with non-trunk default branches.
2002-06-06 19:27:17 +00:00
Doug Barton
06b6d7d8a8
Virgin import of NetBSD's stat(1)
2002-06-06 19:27:17 +00:00
Dag-Erling Smørgrav
1f910d6cae
Factor out some code in preparation for un-kmeming fstat(1).
...
Sponsored by: DARPA, NAI Labs
2002-06-06 18:39:53 +00:00
Ruslan Ermilov
4093807dd9
libfetch now depends on libcrypto and libssl.
2002-06-06 13:45:46 +00:00
Andrey A. Chernov
e12155c834
Back out rev 1.19 because
...
1) It breaks uniq for real life languages when "substitute" directive used in
the collating table.
2) It breaks uniq usage in tool chain with other localized utilities which
use collate.
3) To follow LC_COLLATE it is directly allowed for uniq
by POSIX P1003.1 Draft7 (7.3.2). It means that rev 1.19 gains no additional
POSIX conformance.
2002-06-06 13:44:14 +00:00
Dag-Erling Smørgrav
2b488685e3
Support suidperl as well.
2002-06-06 12:12:23 +00:00
Ruslan Ermilov
860a2bf505
Added missing DPADD detected by ``make checkdpadd''.
2002-06-06 11:30:57 +00:00
Tim J. Robbins
5935c07540
Compare lines with strcmp(), not strcoll(). We are interested only in
...
equality, not ordering.
2002-06-06 03:13:08 +00:00
Tim J. Robbins
6a8be5c4f2
Sync usage() with manual page synopsis.
2002-06-06 03:05:30 +00:00
Dag-Erling Smørgrav
1bf28f7e94
Figures they had to call it NOCRYPT instead of NOCRYPTO.
2002-06-05 21:28:47 +00:00
Dag-Erling Smørgrav
d9615d7da4
During buildworld, "regular" libraries are built before crypto stuff, so
...
libfetch can't depend on lib{crypto,ssl}. Move the dependency to fetch
until we can figure out how to fix this.
2002-06-05 21:25:33 +00:00
Kelly Yancey
ab67591303
Use calculated column widths for the routing table display when -W is
...
supplied rather than arbitrarily larger widths. This (almost) guarantees
that no columns will be truncated (routing table additions between the
width calculation and display passes may create a row with column widths
larger than those calculated).
Sponsored by: NTT Multimedia Communications Labs
2002-06-05 18:29:26 +00:00
Ruslan Ermilov
5af50a7c59
Start the (overdue) de-orbit sequence for the -d -C combo,
...
as was promised in revision 1.43.
MFC after: 1 month
2002-06-05 17:37:48 +00:00
David E. O'Brien
6332b52c26
Some things used "#!/usr/bin/perl5" (such as the /usr/local/bin/use.perl on
...
my system). So install a "perl5" wrapper too.
2002-06-05 15:32:26 +00:00
Dag-Erling Smørgrav
fc281c6159
Don't build perl if NO_PERL is defined.
2002-06-04 15:20:11 +00:00
Tim J. Robbins
d1ccc822a5
Wrap lines correctly for the `l' command.
2002-06-04 10:40:14 +00:00
Tim J. Robbins
30e9580eca
Document the fact that the `l' command uses the COLUMNS environment
...
variable (SUSv3)
2002-06-04 10:01:06 +00:00
Tim J. Robbins
3714ae1254
Ignore COLUMNS environment variable if it is empty (SUSv3)
2002-06-04 10:00:08 +00:00
Tim J. Robbins
8358edb6c7
Respect the setting of the COLUMNS environment variable, use it instead of
...
the TTY width obtained by ioctl() when set & non-null. (SUSv3)
2002-06-04 09:52:30 +00:00
Tim J. Robbins
a51b574c46
Sort options in Description section.
2002-06-04 09:17:30 +00:00
Tim J. Robbins
debb184261
Note SUSv2 conformance.
2002-06-04 09:16:09 +00:00
Tim J. Robbins
91b14bffac
confstr() returns (size_t)-1 on failure. Check for this explicitly instead
...
of trying to see if an unsigned number is less than zero.
2002-06-04 08:45:38 +00:00
Juli Mallett
6aab7a863f
Add support for non-numeric key lookup via the 'cmds' file, by using the key
...
base as the key number.
2002-06-04 06:14:11 +00:00
Juli Mallett
51f7a48bf0
Err, duh, free(3) doesn't set its argument to NULL... Fix realloc of a freed
...
chunk.
2002-06-04 04:08:18 +00:00
Mike Barcroft
cb263c3594
Use POSIX macros for wait(2)-style status information instead of the
...
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.
2002-06-03 23:13:11 +00:00
Juli Mallett
ee3cbef6be
Make the manpage consistent with the code on the subject of comments, as to
...
not change the code to always do the "GNU" thing, as it's possible people
rely on BSD m4(1) traditionally resetting comment characters in case of no
arguments to the changecom function.
PR: bin/17480 (I think this satisfies the problem report)
2002-06-03 20:35:35 +00:00
Tim J. Robbins
1b2edc04ee
Correct History: cal(1) appeared in V5, not V6.
2002-06-03 15:02:02 +00:00
Tim J. Robbins
e561f2b479
Correct History: nice(1) appeared in V4.
2002-06-03 14:56:57 +00:00
Tim J. Robbins
780c7a8790
Correct History: time(1) appeared at least as early as V3.
2002-06-03 14:54:04 +00:00
Tim J. Robbins
242093bb8c
Sort sections.
2002-06-03 14:42:28 +00:00
Tim J. Robbins
03c249af41
Correct HISTORY section - split(1) appeared at least as early as V3.
2002-06-03 14:41:32 +00:00
Ian Dowse
ab5ff6a601
Call getmntinfo with MNT_NOWAIT to avoid hanging if any NFS servers
...
are down. Avoid trying to send RPCs to the pidXXX@machine names
used in the special amd(8) mounts.
PR: bin/6183
Submitted by: Petr Lampa <lampa@fee.vutbr.cz>
2002-06-03 12:06:49 +00:00
Andrey A. Chernov
86a7fd100f
Skip %pN comes from ncurses
...
PR: 15418
2002-06-03 10:44:39 +00:00
Dag-Erling Smørgrav
ce7be04eae
Connect perl to the build.
2002-06-02 22:43:17 +00:00
Jens Schweikhardt
21dc7d4f57
Fix typo in the BSD copyright: s/withough/without/
...
Spotted and suggested by: des
MFC after: 3 weeks
2002-06-02 20:05:59 +00:00
Tim J. Robbins
5e25d888a8
Support the SysV-style -exec utility args.. {} + function, required by
...
SUSv3. This is similar to find foo -print0 | xargs -0 utility args.
2002-06-02 12:57:41 +00:00
Brian Feldman
f020c7fa88
Fix a bug in sed(1)'s "s" command wherein if an escape ("\" character)
...
was initiated at the last character of the line buffer, the Wrong
Thing was done and sed barfed by interpreting the following NUL byte
as a digit. Instead, pull up the next buffer and record that the "\"
was last seen.
2002-06-01 13:25:47 +00:00
Juli Mallett
27d72beba7
We have a version of help(SCCS) in /usr/bin now.
2002-06-01 01:07:50 +00:00
Juli Mallett
30617de0f3
Remove a stray asterisk in a comment.
2002-06-01 00:52:28 +00:00
Mike Silbersack
acc52a9a8e
Use %lu instead of %ld when printing rt_use (aka rt_rmx.rmx_pksent)
...
Submitted by: Andre Oppermann <oppermann@pipeline.ch>
MFC after: 5 days
2002-05-31 04:36:55 +00:00
Giorgos Keramidas
806968d6a7
Typo: characer -> character
2002-05-31 00:33:40 +00:00
Garrett Wollman
0fb7a0beb0
Fix preprocessor directive syntax (text after #endif).
...
The style of this program is still atrocious (not fixed).
2002-05-30 21:18:01 +00:00
Juli Mallett
6ea89183fc
Restructure sanity checks so that -I and -J just override eachother, rather
...
than triggering a usage(). Allow -R and -I to be specified in any order, and
thus change how -R checks for -I not being given and triggering a usage().
Partially requested by: gad
2002-05-30 19:34:31 +00:00
Juli Mallett
986d829b8f
Allow the input line to be NULL, and teach strnsubst() that NULL means to use
...
a nil-string.
2002-05-30 19:24:08 +00:00
Ruslan Ermilov
36588206d0
mdoc(7) police: kill hard sentence breaks.
2002-05-30 14:10:44 +00:00
Ruslan Ermilov
14387c71ca
mdoc(7) police: pedantry.
2002-05-30 14:07:05 +00:00