jlemon
f903fac30d
Do not pull in <sys/select.h>, it isn't required.
2000-04-16 17:34:33 +00:00
imp
4721d7ef43
#include <errno.h> where needed. Kill extern int errno;.
...
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
sheldonh
2ae0158f08
Do not issue a warning when chflags() fails with EOPNOTSUPP.
...
PR: 17875
Submitted by: Bjoern Fischer <bfischer@Techfak.Uni-Bielefeld.DE>
2000-04-13 09:39:29 +00:00
sheldonh
0875731adb
Use an MD5 checksum to test for file changes; the previous method
...
of using file mtimes could result in chpasss(1) erroneously
detecting that no changes were made for non-interactive edits.
PR: 4238
Reported by: Jens Schweikhardt <schweikh@noc.dfn.de>
Submitted by: Daniel Hagan <dhagan@cs.vt.edu>
2000-04-12 08:49:14 +00:00
green
aa7e4f0b1b
Add a new options: -m enables searching for memory-mapped files.
...
It is not default because it's an expensive option by nature, making the
search take 2-3 times as long.
PR: 17555
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
2000-04-05 05:45:40 +00:00
bde
977296812a
Fixed prototype for setflags(). setflags() returns int, not u_long,
...
and "extern" in function prototypes is a style bug. The type mismatch
broke chflags(1) on i386's with 64-bit longs and may have broken it on
alphas.
2000-04-04 14:12:35 +00:00
jdp
609dd90b56
Document that the flags can be specified as an octal number.
2000-04-03 22:10:58 +00:00
steve
e963b3d27c
The FreeBSD/Sparc64 port will also have an __ELF_WORD_SIZE of 64.
2000-04-02 20:22:04 +00:00
bsd
66b7eaeb75
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
nectar
2bfd3498b2
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
sheldonh
98310ba5f0
While I'm in here, remove an unused variable.
...
Submitted by: Nathan Ahlstrom <nrahlstr@winternet.com>
2000-03-30 09:23:28 +00:00
sheldonh
21bd5ff01f
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
sheldonh
2990034f0b
Cross-reference ldd(1) in rtld(1) and vice versa.
2000-03-28 09:01:04 +00:00
charnier
5a4abe1599
Get rid of hard sentence break
...
Asked by: Sheldon
2000-03-27 20:38:21 +00:00
charnier
d5a26c7dfe
More rusers to .Nm convertion
...
Some of them found by: Sheldon
2000-03-27 20:36:55 +00:00
charnier
93a72430a6
Quote with .Dq
...
Asked by: Sheldon
2000-03-27 20:33:32 +00:00
bde
e636950b3e
Fixed misspelling of DPADD as DPADDA.
...
Fixed some misformattings.
2000-03-27 16:37:32 +00:00
bde
04fe744aae
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
sheldonh
5f2d618ecb
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
sheldonh
e01cfe7006
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
sheldonh
9787eba10e
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
charnier
20156c5955
Add DIAGNOSTICS section name. Spelling
2000-03-26 15:10:37 +00:00
charnier
42d5955dc9
Add DIAGNOSTICS section name
2000-03-26 15:06:46 +00:00
charnier
a6d980ec98
Use .Xr
2000-03-26 15:05:40 +00:00
charnier
a6390ef211
Add usage().
2000-03-26 15:04:35 +00:00
charnier
4928e25e18
Do not dot terminate list of references
2000-03-26 14:56:52 +00:00
charnier
bf7f493ee0
remove unknown OPTIONS section name. Getopt returns -1.
2000-03-26 14:55:05 +00:00
charnier
2188db442c
Add section number to .Xr references. Enumerate flags the standard way.
2000-03-26 14:54:01 +00:00
charnier
64416b232f
Put argument under .Ar.
2000-03-26 14:53:00 +00:00
charnier
409a5f3988
Add section number to .Xr. Put arguments under .Ar.
2000-03-26 14:52:02 +00:00
charnier
44a3c6403c
Do not dot terminate err() string. Cross reference using .Xr
2000-03-26 14:50:56 +00:00
charnier
d6f874ae5b
Use .Pa
2000-03-26 14:49:49 +00:00
charnier
2dd3dfdb1c
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
charnier
1a3d0bcf01
Put flags under .Fl. Add DIAGNOSTICS section name
2000-03-26 14:47:43 +00:00
charnier
b7d4784750
Sync SYNOPSIS and usage() string.
2000-03-26 14:46:41 +00:00
charnier
f0804c6aec
Add missing dots
2000-03-26 14:45:38 +00:00
charnier
c56fe754f5
Move RCS tags after copyright
...
Add DIAGNOSTICS section name
2000-03-26 14:43:25 +00:00
charnier
c8ca89e91c
Add DIAGNOSTICS section name
2000-03-26 14:42:14 +00:00
charnier
c0b39261d6
.Nm changes
2000-03-26 14:41:07 +00:00
charnier
9277a81bd6
Add DIAGNOSTICS section name
...
Options: -> The following options are available:
2000-03-26 14:39:03 +00:00
charnier
4f71f300d3
Properly use .Nm, .Em, .Pa etc. Make usage() a simplier function.
2000-03-26 14:37:47 +00:00
charnier
1006ba9553
Add -d and -t flags to usage. Add usage().
2000-03-26 14:30:51 +00:00
charnier
4bd9a70bb4
Typo
2000-03-26 14:29:45 +00:00
charnier
26ea86f226
Use errx(), remove unused #include. Correct SYNOPSIS
2000-03-26 14:28:31 +00:00
charnier
9349f009d7
Add .Nm.
...
Options: -> The following options are available:
2000-03-26 14:27:19 +00:00
charnier
a3ded725c9
Add DIAGNOSTICS section name and section name to .Xr.
2000-03-26 14:25:51 +00:00
charnier
0a686ed3d8
DIAGNOSTICS section name missing and .Nm changes
2000-03-26 14:24:40 +00:00
charnier
d7faf524e1
Use errx(). .Nm fixes
2000-03-26 14:23:23 +00:00
charnier
f717c07c8a
Use warnx(), -Wall cleaning and remove unused #include
...
Better use of .Nm and .Ar
2000-03-26 14:21:57 +00:00
sheldonh
53bc1ed538
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