Commit Graph

3251 Commits

Author SHA1 Message Date
Steve Price
b7ea7f1260 The FreeBSD/Sparc64 port will also have an __ELF_WORD_SIZE of 64. 2000-04-02 20:22:04 +00:00
Brian S. Dean
599c73a35f Fix a bug in rsh that caused the remote process to hang waiting on
input even if the '-n' flag to rsh is used.  The write side of the
socket should be closed to allow the remote process to see EOF.

Submitted by:  Brad Chisholm <sasblc@unx.sas.com>
2000-04-01 00:14:50 +00:00
Jacques Vidrine
07aa6ef0c9 Instead of checking for a non-zero return value from kvm_read, check
whether we read as many bytes as we expected.
2000-03-31 15:02:10 +00:00
Sheldon Hearn
209e048477 While I'm in here, remove an unused variable.
Submitted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-03-30 09:23:28 +00:00
Sheldon Hearn
9b75e14d30 Fix buffer overflow copying the ``kernel'' command-line argument into
buffers.  The buffers have been resized from the irrelevant BUFSIZ
to the more relevant MAXPATHLEN + 1.

Reported by:	Mike Heffner <spock@techfour.net>
2000-03-29 17:22:10 +00:00
Sheldon Hearn
35add0e9a7 Cross-reference ldd(1) in rtld(1) and vice versa. 2000-03-28 09:01:04 +00:00
Philippe Charnier
11458b9601 Get rid of hard sentence break
Asked by: Sheldon
2000-03-27 20:38:21 +00:00
Philippe Charnier
d3b7ea3d8c More rusers to .Nm convertion
Some of them found by: Sheldon
2000-03-27 20:36:55 +00:00
Philippe Charnier
ffa1b5c165 Quote with .Dq
Asked by: Sheldon
2000-03-27 20:33:32 +00:00
Bruce Evans
15d237484a Fixed misspelling of DPADD as DPADDA.
Fixed some misformattings.
2000-03-27 16:37:32 +00:00
Bruce Evans
1f82591eba Fixed LDADD. Using ${LIBM} instead of -lm gave the wrong libm in most
cases and broke the world in some cases.

Fixed style bugs for DPADD and LDADD (don't use += for variables defined
only once).
2000-03-27 15:02:59 +00:00
Sheldon Hearn
a6eb0df247 Do not overwrite files when the -i option is specified!
PR:		17476
Reported by:	Jonathan Chen <jon@spock.org>
2000-03-27 11:49:36 +00:00
Sheldon Hearn
a2554a04db Fix a mistakenly broken sentence. The mistake was made easy by the
confusing use of a comma to separate two sentences. :-)

Reported by:	bp
2000-03-27 10:50:54 +00:00
Sheldon Hearn
f4510294cb Y2K fix. at(1) would die with 'garbled time' when assign_date() was
pased a year > 99.  This change fixes the conversion of 2-digit years
into tm_year format.

This change is differs from the OpenBSD fix because of differences
in our assign_date().

PR:		15872
Reported by:	"Crist J. Clark" <cjclark@home.com>
Submitted by:	"Sergey N. Voronkov" <serg@dor.zaural.ru>
Obtained from:	OpenBSD
2000-03-27 09:32:23 +00:00
Philippe Charnier
fae643c579 Add DIAGNOSTICS section name. Spelling 2000-03-26 15:10:37 +00:00
Philippe Charnier
dbb9d8f826 Add DIAGNOSTICS section name 2000-03-26 15:06:46 +00:00
Philippe Charnier
5e8eb81aac Use .Xr 2000-03-26 15:05:40 +00:00
Philippe Charnier
110ab594ad Add usage(). 2000-03-26 15:04:35 +00:00
Philippe Charnier
f57cdd0f01 Do not dot terminate list of references 2000-03-26 14:56:52 +00:00
Philippe Charnier
846fef5834 remove unknown OPTIONS section name. Getopt returns -1. 2000-03-26 14:55:05 +00:00
Philippe Charnier
115a32af83 Add section number to .Xr references. Enumerate flags the standard way. 2000-03-26 14:54:01 +00:00
Philippe Charnier
7bb5b8a572 Put argument under .Ar. 2000-03-26 14:53:00 +00:00
Philippe Charnier
c66cf8837a Add section number to .Xr. Put arguments under .Ar. 2000-03-26 14:52:02 +00:00
Philippe Charnier
e88b3b4f9a Do not dot terminate err() string. Cross reference using .Xr 2000-03-26 14:50:56 +00:00
Philippe Charnier
742c75f3b7 Use .Pa 2000-03-26 14:49:49 +00:00
Philippe Charnier
b189011d7d Remove incorrect use of .Nm. Wrap long lines, Unwrap short lines
Options: -> The following options are available:
2000-03-26 14:48:46 +00:00
Philippe Charnier
4ed31d6609 Put flags under .Fl. Add DIAGNOSTICS section name 2000-03-26 14:47:43 +00:00
Philippe Charnier
34398e2d9b Sync SYNOPSIS and usage() string. 2000-03-26 14:46:41 +00:00
Philippe Charnier
e91b5c5294 Add missing dots 2000-03-26 14:45:38 +00:00
Philippe Charnier
a917a42da5 Move RCS tags after copyright
Add DIAGNOSTICS section name
2000-03-26 14:43:25 +00:00
Philippe Charnier
2e184158bf Add DIAGNOSTICS section name 2000-03-26 14:42:14 +00:00
Philippe Charnier
f71970dd4d .Nm changes 2000-03-26 14:41:07 +00:00
Philippe Charnier
83edb87b68 Add DIAGNOSTICS section name
Options: -> The following options are available:
2000-03-26 14:39:03 +00:00
Philippe Charnier
c097456602 Properly use .Nm, .Em, .Pa etc. Make usage() a simplier function. 2000-03-26 14:37:47 +00:00
Philippe Charnier
eb257e6ec5 Add -d and -t flags to usage. Add usage(). 2000-03-26 14:30:51 +00:00
Philippe Charnier
66f8a9c045 Typo 2000-03-26 14:29:45 +00:00
Philippe Charnier
a2995dd0f1 Use errx(), remove unused #include. Correct SYNOPSIS 2000-03-26 14:28:31 +00:00
Philippe Charnier
3bd17b58bc Add .Nm.
Options: -> The following options are available:
2000-03-26 14:27:19 +00:00
Philippe Charnier
f29410236f Add DIAGNOSTICS section name and section name to .Xr. 2000-03-26 14:25:51 +00:00
Philippe Charnier
540939b489 DIAGNOSTICS section name missing and .Nm changes 2000-03-26 14:24:40 +00:00
Philippe Charnier
a292105ac8 Use errx(). .Nm fixes 2000-03-26 14:23:23 +00:00
Philippe Charnier
884bd44c59 Use warnx(), -Wall cleaning and remove unused #include
Better use of .Nm and .Ar
2000-03-26 14:21:57 +00:00
Sheldon Hearn
464699d858 Correct grammar.
Rename and (where appropriate) re-order sections.
Put something useful in the BUGS section.
Clear the Os macro and add a HISTORY section.

Reviewed by:	bp
2000-03-24 07:37:02 +00:00
Michael Haro
b4448bd5d2 fix bug with du -hd
Submitted by: dcs
2000-03-24 06:25:32 +00:00
Mike Pritchard
b541ae06bd Change the usage of the .Nm macro in the NAME section to be
consistent with the rest of the system.
2000-03-24 00:30:30 +00:00
Sheldon Hearn
31eed39f9e Clear the Os macro and provide an HISTORY section instead. 2000-03-23 12:05:10 +00:00
Sheldon Hearn
51bef57540 Correct grammar.
Rename and (where appropriate) re-order sections:
        NOTES -> IMPLEMENTATION NOTES
        AUTHOR -> AUTHORS
Put something useful in the BUGS section.

Only the first gammar fix in the file comes was given in the
attributed PR.

PR:		17545
Submitted by:	Yoshihiro Ota <hiro@mail.advok.com>
2000-03-23 11:59:30 +00:00
Brian Feldman
d249b1750a Uncorrupt the SCCS id (s/ From: / /).
Put a tab before the comment for "rflags".

Submitted by:	bde
2000-03-20 21:31:30 +00:00
Guido van Rooij
9ef6ceee15 Add '-L' option to usage(). 2000-03-20 18:33:11 +00:00
Brian Feldman
0ef1d1f59c Fix a couple hard sentence breaks I inadvertently introduced. Also,
update a bit of English into something easier to read.

Prompted by:	sheldonh (thanks!)
2000-03-20 16:21:53 +00:00