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
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
Ruslan Ermilov
1ab9d5a384
mdoc(7) police: removed unnecessary .Ns's.
2002-05-30 05:47:50 +00:00
Tim J. Robbins
80a4c82db1
Move exit status info into Diagnostics section.
2002-05-30 00:46:00 +00:00
Tim J. Robbins
38b1ff46af
Accept an input file name of "-" to mean standard input, as required by
...
P1003.2.
2002-05-30 00:07:14 +00:00
Tim J. Robbins
a9986a105a
Fields should be separated by <blank>s, not <space>s according to P1003.2.
2002-05-29 23:55:44 +00:00
Tim J. Robbins
fc63032590
Don't bother trying to handle "-" arguments ourselves, getopt(3) already
...
does this for us.
2002-05-29 23:52:55 +00:00
Ruslan Ermilov
2d7065e066
mdoc(7) police: lint.
2002-05-29 18:53:22 +00:00
Ruslan Ermilov
2d341e5cc3
mdoc(7) police: punctuation.
2002-05-29 18:52:02 +00:00
Ruslan Ermilov
c16cb68560
mdoc(7) police: tidy up the markup.
2002-05-29 18:49:22 +00:00
Ruslan Ermilov
e2f8ed516a
mdoc(7) police: markup nits.
2002-05-29 18:26:16 +00:00
Ruslan Ermilov
a59a315d08
mdoc(7) police: use .Fl to represent stdin.
2002-05-29 18:21:42 +00:00
Ruslan Ermilov
3971fc8c4b
mdoc(7) police: lint.
2002-05-29 18:12:21 +00:00
Ruslan Ermilov
5ec37969a1
mdoc(7) police: lint.
2002-05-29 18:00:23 +00:00
Juli Mallett
b45e416a12
A space between switch and open-paren. Don't explicitly cast the value
...
returned by getopt(3) to 'char' in a switch.
2002-05-29 17:12:30 +00:00
Juli Mallett
6cad2ed174
ANSI, __FBSDID()
2002-05-29 17:08:09 +00:00
Tim J. Robbins
5204b700b3
Use mkstemp(3) to avoid /tmp race.
2002-05-29 14:23:10 +00:00
Tim J. Robbins
23ff0f8355
Document standards conformance.
2002-05-29 13:45:16 +00:00
Tim J. Robbins
aa67918988
style(9): Sort sections correctly, exit status info into DIAGNOSTICS section.
2002-05-29 13:39:34 +00:00
Tim J. Robbins
b312843c3a
Sync synopsis with reality: file arguments are optional.
2002-05-29 13:33:48 +00:00
Tim J. Robbins
759484bacd
Use getopt() to reject any options and skip "--" arguments.
2002-05-29 13:14:51 +00:00
Dag-Erling Smørgrav
743ea2081c
Make our child the leader of its own process group to avoid receiving
...
signals in its stead. This fixes the dread "zsh exits upon ^C" bug.
2002-05-29 03:32:17 +00:00
Alfred Perlstein
16d8455dcc
Assume __STDC__, remove non-__STDC__ code.
2002-05-28 19:23:47 +00:00
Tim J. Robbins
7c5b751452
Add a History section. comm(1) appeared in V4.
2002-05-28 09:35:30 +00:00
Tim J. Robbins
fc7f17b1fe
No need to handle '-' explicitly in getopt() loop.
...
Obtained from: NetBSD
2002-05-28 09:26:08 +00:00
Dag-Erling Smørgrav
a1bdb05cce
Drive-by whitespace cleanup & add NAI copyright
2002-05-28 06:47:32 +00:00
Dag-Erling Smørgrav
c51edfb77d
Drive-by whitespace cleanup.
2002-05-28 06:46:37 +00:00
Tim J. Robbins
1a94013869
Write "FROM" heading above the hostname column, like NetBSD and GNU do.
2002-05-28 06:36:46 +00:00
Marcel Moolenaar
52183d0145
Add uuidgen(2) and uuidgen(1).
...
The uuidgen command, by means of the uuidgen syscall, generates one
or more Universally Unique Identifiers compatible with OSF/DCE 1.1
version 1 UUIDs.
From the Perforce logs (change 11995):
Round of cleanups:
o Give uuidgen() the correct prototype in syscalls.master
o Define struct uuid according to DCE 1.1 in sys/uuid.h
o Use struct uuid instead of uuid_t. The latter is defined
in sys/uuid.h but should not be used in kernel land.
o Add snprintf_uuid(), printf_uuid() and sbuf_printf_uuid()
to kern_uuid.c for use in the kernel (currently geom_gpt.c).
o Rename the non-standard struct uuid in kern/kern_uuid.c
to struct uuid_private and give it a slightly better definition
for better byte-order handling. See below.
o In sys/gpt.h, fix the broken uuid definitions to match the now
compliant struct uuid definition. See below.
o In usr.bin/uuidgen/uuidgen.c catch up with struct uuid change.
A note about byte-order:
The standard failed to provide a non-conflicting and
unambiguous definition for the binary representation. My initial
implementation always wrote the timestamp as a 64-bit little-endian
(2s-complement) integral. The clock sequence was always written
as a 16-bit big-endian (2s-complement) integral. After a good
nights sleep and couple of Pan Galactic Gargle Blasters (not
necessarily in that order :-) I reread the spec and came to the
conclusion that the time fields are always written in the native
by order, provided the the low, mid and hi chopping still occurs.
The spec mentions that you "might need to swap bytes if you talk
to a machine that has a different byte-order". The clock sequence
is always written in big-endian order (as is the IEEE 802 address)
because its division is resulting in bytes, making the ordering
unambiguous.
2002-05-28 06:16:08 +00:00
Tim J. Robbins
776c387ac1
Hook newgrp(1) up to the build.
...
PR: 36190
2002-05-28 05:07:42 +00:00
Tim J. Robbins
29f48d6256
Add the newgrp(1) utility, which changes groups. This is required by
...
the POSIX.2 UPE.
PR: 36190
Reviewed by: -standards, silence on -audit
2002-05-28 05:05:28 +00:00
Tim J. Robbins
66f9c15fcf
The XCU issue 5 requirement of accepting the file operand intermingled
...
with options has been withdrawn in issue 6, to which nl(1) now conforms.
2002-05-27 06:53:54 +00:00
Tim J. Robbins
53e29ec5b4
style(9): use errx() where appropriate instead of fprintf() + exit().
2002-05-27 06:46:29 +00:00
Tim J. Robbins
f1e20ff77e
style(9): use err() instead of perror() + exit().
2002-05-27 06:37:34 +00:00
Tim J. Robbins
3662a24058
Claim conformance to IEEE Std 1003.1-2001.
...
See also csplit(1).
2002-05-27 06:08:14 +00:00
Tim J. Robbins
3e4228c3be
Allow "-" to be specified as an operand as well as an option.
...
SUSV3 requires something like "split -- -" to work. Document the "-" operand.
2002-05-27 05:27:10 +00:00
Tim J. Robbins
3f5869d0b0
Avoid overflowing `fname' if the file name prefix given on the command
...
line is too long.
Obtained from: OpenBSD
2002-05-27 04:59:46 +00:00
Tim J. Robbins
880ff11350
Exit non-zero if the tags file cannot be opened.
2002-05-27 03:54:45 +00:00
Tim J. Robbins
594830fbc1
From NetBSD:
...
Revision 1.10 Sat Oct 14 17:41:55 2000 UTC by bjh21
Don't core dump with an empty format string. Fixes PR#11218.
Patch supplied by Launey Thomas.
Obtained from: NetBSD
2002-05-27 03:17:28 +00:00
Tim J. Robbins
f457179a13
Initialise the `positions' array correctly before use.
2002-05-27 02:01:25 +00:00
Tim J. Robbins
7d44cb6e1f
Add Standards, Diagnostics and History sections.
2002-05-26 07:07:14 +00:00
Tim J. Robbins
456fc9e56f
If a file operand cannot be processed, go on to process any remaining files
...
but exit non-zero.
2002-05-26 06:15:15 +00:00
Ruslan Ermilov
1c3fc710e2
Make it work for a different endianness binary.
...
(This version is still limited to ELF64.)
Reviewed by: jake
2002-05-25 13:43:16 +00:00
Ruslan Ermilov
02c0301fa7
Move elf2aout to usr.sbin/.
...
Approved by: jake
2002-05-25 13:29:47 +00:00
Tim J. Robbins
ba545bbb61
Sync usage message with manual page synopsis.
2002-05-25 11:37:10 +00:00
Tim J. Robbins
b8b53eef91
Bad numeric arguments or usernames should cause non-zero exit status.
2002-05-25 10:37:24 +00:00
Tim J. Robbins
d6c762af40
Determine exit status to use before writing diagnostic message; warn()
...
may change errno.
2002-05-25 03:32:23 +00:00
Tim J. Robbins
816dde7d05
Typo: use plural now that we have more than one option.
2002-05-25 03:08:21 +00:00
Tim J. Robbins
fb2582c006
If a file cannot be processed, try to process any remaining files
...
then exit non-zero.
2002-05-25 03:04:28 +00:00
Tom Rhodes
e223a77118
Add the word ``fields'' to the description, and change an instance from
...
fields to num in the SYNOPSIS
Noticed by: keramida
2002-05-24 19:12:02 +00:00
Ruslan Ermilov
1737392273
Back out the ``run shell from $PATH'' change; this was an overkill
...
and is insecure.
Requested by: bde
2002-05-24 15:51:27 +00:00
Tim J. Robbins
3af4dcb223
If a file argument cannot be processed, process the remaining ones
...
and exit non-zero (SUSv3)
2002-05-24 10:58:21 +00:00
Tim J. Robbins
204c78a163
When a file name of "-" is given, read from standard input (SUSv3)
2002-05-24 09:56:18 +00:00
Tim J. Robbins
a8522a9bb7
Allow byte/character positions >_POSIX2_LINE_MAX to be specified by
...
dynamically growing the `positions' array.
2002-05-24 09:11:18 +00:00
Tim J. Robbins
d42862594a
Use fgetln(3) to handle lines of unlimited length instead of a
...
getc/putc loop.
Suggested by: dd
2002-05-24 08:56:49 +00:00
Tim J. Robbins
ce78cbf9e0
P1003.2 forbids imposing any limit on line lengths; read character by
...
character instead of manually buffering each line.
2002-05-24 07:05:10 +00:00
Tim J. Robbins
0968654cfd
Exit with non-zero status if any files specified could not be opened
...
when -s option is given (SUSv3).
2002-05-24 06:17:29 +00:00
Tim J. Robbins
a6ea32c3c5
If processing of one file fails, try to process the remaining files and
...
exit non-zero instead of immediately exiting. The traditional BSD
behaviour is explicitly forbidden by P1003.2.
2002-05-24 06:03:12 +00:00
Tim J. Robbins
5069e2716c
If processing of one file fails, try to process the remaining files and
...
exit non-zero instead of immediately exiting (SUSv3).
2002-05-24 06:00:47 +00:00
Tony Finch
5ac21f6976
Sync with upstream version:
...
* Ensure we work within the array bounds when parsing command-line options;
* Replace h0h0getopt with getopt(3);
* Use consistent whitespace style in the function declarations.
Revieweded by: dwmalone (mentor)
2002-05-23 16:50:41 +00:00
Juli Mallett
a8ca0a178e
Handle numeric keys by checking a "default" file. Handle number-less keys
...
by failing, since comparing up to the length of the key (0) against the
begin line for a key in the help file will always succeed, and print what
is wholly bogus output.
2002-05-23 14:58:22 +00:00
Juli Mallett
e0bd05dc2f
Set the MAKEFILE variable to the value passed to ReadMakefile(), not the full
...
path to it. Use the full path only for parsing it.
2002-05-23 12:01:54 +00:00
Juli Mallett
39346853df
Make my style consistent.
...
Remove two includes.
Fix a typo (semicolon instead of period at EOL).
2002-05-23 03:03:44 +00:00
Juli Mallett
3549859680
Taking a leap of faith, tie the help command in to the build.
2002-05-22 23:15:58 +00:00
Juli Mallett
192f0a0c65
Add my PD implementation of the SCCS help command, which prints help from
...
files in the format used by SCCS, given a key. It behaves exactly like the
``proper'' SCCS help command, from what testing I can do.
2002-05-22 23:14:17 +00:00
Juli Mallett
a0304d8026
Tie sccs(1) in to the build, as it now does one thing right: sccs what
2002-05-22 16:19:31 +00:00
Juli Mallett
fb22fc68e4
Remove mention of the GNU version of ptx, it is dead.
2002-05-22 16:18:14 +00:00
Juli Mallett
08f4375879
Add a usage().
...
Print usage() if right before executing the specified command, it comes to be
that *argv is NULL (i.e. a flag was specified without a command being given).
2002-05-22 16:09:52 +00:00
Juli Mallett
824ff2896d
Remove #ifndef's on V6.
2002-05-22 16:01:50 +00:00
Juli Mallett
5e213af359
Put braces around the command table properly.
2002-05-22 15:59:27 +00:00
Juli Mallett
6bad09a23e
Use what(1) here, in /usr/bin/what. It doesn't print error 26 correctly, but
...
neither does the pd sccs(1) implementation I have around, so there's no loss
for now.
2002-05-22 15:44:29 +00:00
Juli Mallett
8eccf3b248
str_concat() doesn't really take const arguments.
...
Submitted by: bde
Pointy hat to: jmallett
2002-05-22 15:34:00 +00:00
Ruslan Ermilov
ea98f295f7
Do not run shell from /bin, run it from $PATH.
...
Bump MAKE_VERSION to 5200205221.
2002-05-22 14:53:18 +00:00
Ruslan Ermilov
8e9bddc97b
Added the MAKE_VERSION global that could be useful in determining
...
if a given make(1) is feature-compatible with a set of makefiles.
When merged, this will be used to replace the ugly upgrade_checks
hacks in src/Makefile.
Version has the RYYYYMMDDX format, where R is from RELENG_<R> and
X allows for 10 distinguishable changes per day.
Discussed with: bde
2002-05-22 14:35:47 +00:00
Juli Mallett
e0f783d4f8
Format internal commands properly.
...
Kill a bit of trailing whitespace.
Fix a path format.
Submitted by: mdoc(7) police (ru)
2002-05-22 14:17:16 +00:00
Juli Mallett
89d6ab227d
Clean up the manual page by leaps and bounds in terms of formatting.
...
Ruslan's version took away the '.Nm' for some commands, but not others, so
I chose to go with leaving '.Nm'.
Submitted by: ru
2002-05-22 13:59:52 +00:00
Juli Mallett
b77ce308c0
Make the guarded string functions take a const "from" addr, and make the
...
function that prints when a botched guarded string operation occurs take
two const arguments.
XXX Should we use strlcat/strlcpy instead and hope for the best?
2002-05-22 13:41:08 +00:00
Juli Mallett
aecf4d561b
Remove register qualifier.
2002-05-22 12:32:54 +00:00
Juli Mallett
8a4f086026
Use function prototypes.
2002-05-22 12:31:40 +00:00