Commit Graph

3864 Commits

Author SHA1 Message Date
Greg Lehey
5a0a51cf5a Include correct header files, in preparation for fixing sys/mount.h.
Suggested-by:	phk
2001-04-23 08:11:54 +00:00
Jeroen Ruigrok van der Werven
370795830b Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
remain so.

Submitted by:	bde/obrien
2001-04-22 17:06:12 +00:00
Jeroen Ruigrok van der Werven
16a10d334e Aesthetics: fix placement of $NetBSD$ (use space instead of tab) 2001-04-21 11:17:44 +00:00
Akinori MUSHA
5c10c492a4 Correct and update Japanese holidays.
PR:		misc/26703
Submitted by:	SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
2001-04-20 13:44:21 +00:00
Jeroen Ruigrok van der Werven
1b1990f6e2 Properly constify the rcsid[]. 2001-04-20 09:43:30 +00:00
Jeroen Ruigrok van der Werven
30fb1fac8d Add $FreeBSD$ to the files which didn't have it yet.
Fix the .c files, so that the $FreeBSD$ is contained within the rcsid. [bde]
2001-04-20 09:33:57 +00:00
David E. O'Brien
0a8bb16255 Fix damage I did in rev 1.4 that broke formatting this example:
void foo(struct bar *bar) { return 0; }
2001-04-20 07:41:23 +00:00
Jeroen Ruigrok van der Werven
998e62958c Change uses of mktemp() to mkstemp().
Call cc -E, not cpp, this allows lint to be unaware of any
machine-dependent defines that cc(1) may normally define.

Change fork() to vfork() and exit() to _exit().

Reuse temporary file so that multiple files passed can be processed without
problems.
2001-04-19 15:40:04 +00:00
Jeroen Ruigrok van der Werven
c7bee68f23 Change SYNOPSIS to use mdoc keeps.
Obtained from:	NetBSD
2001-04-19 14:48:36 +00:00
Jeroen Ruigrok van der Werven
4d380447f7 Fix some mdoc usage.
Obtained from:	NetBSD
2001-04-19 14:20:54 +00:00
Jeroen Ruigrok van der Werven
db52328cf6 Fix english grammar: then does -> than.
Obtained from:	NetBSD
2001-04-19 14:06:12 +00:00
Jeroen Ruigrok van der Werven
d808aefa49 Add a comma after e.g.. This syncs us more with NetBSD and looks more
aesthetically correct.

Obtained from:	NetBSD
2001-04-19 14:02:36 +00:00
Jeroen Ruigrok van der Werven
9d083950b7 Fix spelling of comparison (was: comparision).
Add $FreeBSD$.

Obtained from:	NetBSD/OpenBSD
2001-04-19 11:10:51 +00:00
Andrey A. Chernov
24695f0617 Add Russian message catalog
PR:		26663
Submitted by:	Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
2001-04-19 10:32:25 +00:00
Ruslan Ermilov
eb0838029f mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
Nick Hibma
1a2cdef496 Remove a bogus %s from a printf.
Submitted by:	kris
2001-04-17 15:00:03 +00:00
Jesper Skriver
fa7e10eca6 Fix typo s/thissystem/this system/
Submitted by:	Stephen <sdk@shell.yuck.net>
2001-04-16 21:14:13 +00:00
Gregory Neil Shapiro
164c01f05b Clean up temporary file(s) and directory when m4 exits without falling
through main() (e.g., signals or calls to errx()).

PR:		conf/25715
2001-04-16 18:36:35 +00:00
Ruslan Ermilov
3cfb58ec23 mdoc(7) police: cosmetics. 2001-04-16 15:14:07 +00:00
Dima Dorfman
5e75e35cca Grammar police: "its", not "it's", is the possessive form of "it". 2001-04-15 19:53:47 +00:00
Alfred Perlstein
f0cad56fd7 Turn -b (BSD socket compat mode) back on by default, as we don't have TLI/XTI 2001-04-13 23:20:16 +00:00
Dima Dorfman
19ab52cb4e mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section.
Reviewed by:	ru
2001-04-13 19:59:47 +00:00
Ruslan Ermilov
471b9c332c mdoc(7) police: Fixed typo and markup in rev.1.11. 2001-04-13 09:15:16 +00:00
Brian Somers
c42584e853 o The -s limit is ARG_MAX - 4K, not ARG_MAX - 2K.
o Mention that the current environment is part of the -s calculation.
o Add a BUGS section that warns against executing a program that increases
  the size of the argument list or the size of the environment.

  I have wondered for a while what the difference is between

    get a big list | xargs sudo command

  which fails and

    get a big list | sudo xargs command

  which succeeds.  The answer is that in the first case, sudo expands
  the environment and pushes the amount of data passed into execve over
  the E2BIG threshold.
2001-04-10 23:16:55 +00:00
Ruslan Ermilov
b9ad8c8635 beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
Ruslan Ermilov
207ef320ab Execute this script in a "C" locale environment.
Currently, cs_CZ.ISO_8859-2 locale's collation sequence is
broken, and this caused grep(1) to skip some include files.

Reported by:	Michal Mertl <mime@traveller.cz>
2001-04-06 14:40:26 +00:00
Ian Dowse
c2fdb4d1b1 Add IPv6 support to showmount(8). This replaces IPv4-specific code
with calls to the new protocol-independent clnt_*_create functions
provided by ti-rpc. Martin submitted a more complex patch to achieve
this, but it turns out that clnt_create() does everything we need.

Reviewed by:	Martin Blapp <mb@imp.ch>
2001-04-05 17:18:36 +00:00
Bruce Evans
09f59dfc92 Fixed a null pointer bug in rev.1.10. Rev.1.10 was supposed to to
move the "for safety" zeroing of unused members of timebuf to a better
place.  It actually moved the zeroing to a worse place and didn't add
necessary braces.

Fixed a nearby older bug.  timebuf.tm_gmtoff was sometimes used even
when timebuf was invalid.  Even when it is zeroed, a failing mktime()
might set it to nonzero.

PR:		25243
2001-04-04 15:09:54 +00:00
David Malone
983e044ad8 Round up before checking if the width is smaller than the widest
column, otherwise we may divide by zero later.

PR:		26283
Reviewed by:	roam
2001-04-03 18:03:29 +00:00
Ruslan Ermilov
3c4869d927 Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
2001-04-03 13:34:35 +00:00
Ruslan Ermilov
18453f1ad3 Do not override `realinstall' target, use ${PROGNAME}. 2001-04-02 12:06:00 +00:00
Ruslan Ermilov
a73313a679 Do not override `realinstall' target, use ${PROGNAME}. 2001-04-02 11:54:59 +00:00
Ruslan Ermilov
63d2b1e9f0 libtelnet.a is gone; add a special hack for `make release' fixit floppy. 2001-03-31 17:04:49 +00:00
Poul-Henning Kamp
0b23654bb3 Don't core dump when given "-i -a". Problem caused by a mistaken
dereference of a kernel-pointer in userland.

PR:		26168
Submitted by:	Peter Pentchev <roam@orbitel.bg>
2001-03-30 19:16:04 +00:00
Eric Melville
1a125da03a Include a missing header, and change a mktemp(3), mkdir(2) sequence to
mkdtemp(3).

Approved by:	murray
2001-03-29 20:33:57 +00:00
Andrew Gallatin
0b8b714fa9 numdirtybuffers is an int, not a long. 2001-03-29 02:18:19 +00:00
Joerg Wunsch
44019d9ef6 Update message #56. Maxim didn't merge the English version here since
partially merging the line would have exceeded 80 characters.

Reminded by:	sobomax
2001-03-28 21:33:30 +00:00
Joerg Wunsch
bd35de0c1d There was only a single message to be translated into German here. 2001-03-28 21:02:56 +00:00
Dag-Erling Smørgrav
dde0dff6dc Bring the usage message in synch with reality.
PR:		bin/26160
2001-03-28 21:01:07 +00:00
Maxim Sobolev
944adaa6c0 Add Ukrainian translation.
Submitted by:	Olexander Kunytsa <kunia@wolf.istc.kiev.ua>
2001-03-28 16:51:02 +00:00
Andrey A. Chernov
a74da62e70 Back out my fseeko -> fseek(END) change - we need to position on what we
displayed last, not to the end of file
2001-03-28 13:10:17 +00:00
Ruslan Ermilov
4ecbb30346 Bye-bye /usr/lib/libtelnet.a. This should fix ``make release'' brokeness.
Approved by:	markm
2001-03-28 12:08:22 +00:00
Andrey A. Chernov
462da59fb1 Restore part of my fix spammed in v1.23:
fseeko(file_size, SEEK_SET) -> fseek(0L, SEEK_END)
1) File may grows between operations, so fseeko to file_size may miss
2) 0L, SEEK_END is the same code using in tail in all other places
2001-03-27 23:24:25 +00:00
David Malone
726098d35e Fix tail to work on files bigger than 2GB.
PR:		14786
Reviewed by:	iedowse
2001-03-27 20:37:34 +00:00
Mark Murray
5bc9d93db3 Add full PAM support for account management and sessions.
The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux
package's PAM patches to the BSD login.c

Submitted by:	"David J. MacKenzie" <djm@web.us.uu.net>
2001-03-27 19:40:51 +00:00
Maxim Sobolev
15129224d4 Describe details of importing. 2001-03-27 16:27:31 +00:00
Ruslan Ermilov
5c9b69e3ac Traverse ${DESTDIR}/usr/include in lexographical order.
This should fix problems reported recently on -current.
2001-03-27 16:15:25 +00:00
Andrey A. Chernov
6bea9ab43b Add comment explaining why size not passed directly to mmap, i.e. not relay
on its check.
KNF multi-line comments
(inspired by bde)
2001-03-27 15:53:48 +00:00
Ruslan Ermilov
d92a0c0bde Do not override the ``install'' target. 2001-03-27 15:14:49 +00:00
Maxim Sobolev
f0adfd584f Update FreeBSD translations to match 1.4.1 (actually just copied Enslish
messages as I don't know de, pl and fr).
2001-03-27 13:53:08 +00:00