Commit Graph

5330 Commits

Author SHA1 Message Date
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
Ruslan Ermilov
3c7cf139ac mdoc(7) police: tidy up the markup. 2002-05-30 14:02:23 +00:00
Ruslan Ermilov
8bf118ed78 mdoc(7) police: one minor change that was not probably worth a commit. 2002-05-30 13:57:35 +00:00
Ruslan Ermilov
35ff8c06b7 mdoc(7) police: fixed typo, minor markup nits. 2002-05-30 13:52:18 +00:00
Ruslan Ermilov
2d2ca4665c mdoc(7) police: markup polishing. 2002-05-30 13:48:06 +00:00
Ruslan Ermilov
13fbf0d174 mdoc(7) police: tidy up. 2002-05-30 13:39:43 +00:00
Ruslan Ermilov
05cb5024af mdoc(7) police: minor markup nits. 2002-05-30 13:33:59 +00:00
Tim J. Robbins
231b81bd22 Document conformance to IEEE Std 1003.1-2001. 2002-05-30 12:13:18 +00:00
Tim J. Robbins
38b8c17f6a Sort sections according to mdoc(7). 2002-05-30 12:02:55 +00:00
Tim J. Robbins
df111dde6e Sort entries by locale collating order when -x is specified. 2002-05-30 11:43:20 +00:00
Tony Finch
5b6c090658 Character 0 is nul not null. 2002-05-30 11:42:44 +00:00
Tim J. Robbins
a5d5212371 Create tags for typedefs, structs, unions and enums by default (imply the
-t option). Make a new option, -T, to revert to the old behaviour.
2002-05-30 11:36:12 +00:00
Ruslan Ermilov
24ef71e9f0 mdoc(7) police: tidy up. 2002-05-30 11:29:25 +00:00
Ruslan Ermilov
39a82b8c2d mdoc(7) police: tidy up the markup. 2002-05-30 11:12:34 +00:00
Tim J. Robbins
e58bac2e7f Avoid buffer overrun when identifies or filenames are extremely long.
OpenBSD revisions: C.c 1.4-1.5, ctags.c 1.5, fortran.c 1.3, lisp.c 1.3,
tree.c 1.2

Obtained from:	OpenBSD
2002-05-30 10:54:53 +00:00
Ruslan Ermilov
a17e8e32cc which(1) was once a Perl script. 2002-05-30 08:33:13 +00:00
Alfred Perlstein
e043516d4d Check for defined(__i386__) instead of just defined(i386) since the compiler
will be updated to only define(__i386__) for ANSI cleanliness.
2002-05-30 07:00:42 +00:00
Ruslan Ermilov
df182f6dd1 mdoc(7) police: tidy up the markup. 2002-05-30 06:56:43 +00:00
Ruslan Ermilov
809a3054f6 mdoc(7) police: punctuation, miscellaneous. 2002-05-30 06:50:52 +00:00
Ruslan Ermilov
8c756f116f mdoc(7) police: lint. 2002-05-30 06:44:27 +00:00
Ruslan Ermilov
50965a6892 mdoc(7) police: markup nits. 2002-05-30 06:18:53 +00:00
Ruslan Ermilov
f9988a58ec mdoc(7) police: use .Fl to denote stdin. 2002-05-30 06:07:29 +00:00
Ruslan Ermilov
cec2dd9f32 mdoc(7) police: typo in .Dd. 2002-05-30 06:05:42 +00:00
Ruslan Ermilov
4f3cd85e1d mdoc(7) police: untangle SYNOPSIS's markup. 2002-05-30 06:03:08 +00:00
Ruslan Ermilov
3a0f91d5ae mdoc(7) police: lint. 2002-05-30 05:59:25 +00:00
Ruslan Ermilov
12b32eafa8 mdoc(7) police: removed unnecessary .Ns. 2002-05-30 05:52:19 +00:00