Commit Graph

25 Commits

Author SHA1 Message Date
David Malone
f4ac32def2 ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by:	md5
2002-09-04 23:29:10 +00:00
Philippe Charnier
084e19802d The .Nm utility 2002-07-14 15:12:00 +00:00
Robert Drehmel
3b1320f9de Remove a debug output statement. 2002-07-07 15:29:00 +00:00
Robert Drehmel
e1e9c75605 - Fix the code in sbuf_need() to double the allocation size until
the new content size fits into the sbuf, instead of assuming
   that allocating twice the old size is enough.
 - Use memmove(3) rather than strcpy(3) to copy overlapping
   strings.

PR:		bin/39930
2002-07-07 15:24:36 +00:00
Giorgos Keramidas
c8f927b297 Use size_t or ino_t instead of int, and remove a few warnings.
The makewhatis utility is now ok with WARNS=3.

Reviewed by:	bde
2002-06-07 01:01:08 +00:00
Ruslan Ermilov
f6ce5895a9 Unroff all forms of \f and \*, and the simplest form of \s.
Submitted by:	fenner, ru
Reviewed by:	ru, fenner
2002-05-22 11:08:41 +00:00
Ruslan Ermilov
0f91d7050c Style. 2002-05-20 16:42:15 +00:00
Ruslan Ermilov
9f377ad834 Fix markup.
Give Wolfram a credit for writing the original version in Perl
like in killall(1).
2002-05-18 15:39:56 +00:00
Ruslan Ermilov
3e97608622 More whitespace fixes. 2002-05-18 15:15:30 +00:00
Ruslan Ermilov
93685bb81e Fixed spacing. 2002-05-18 14:17:53 +00:00
Ruslan Ermilov
02484f2b53 Look into machine specific subdirs. 2002-05-18 13:56:53 +00:00
Mark Murray
bf7bec3366 Add C rewrites of catman and makewhatis. These aren't quite as
the submitter supplied them, as I did some WARNS=n fixups (mostly
const-ification).

Submitted by:	John Rochester <john@jrochester.org>
2002-05-18 09:19:08 +00:00
Ruslan Ermilov
eb89426722 mdoc(7) police: removed punctuation after the last SEE ALSO xref. 2001-07-10 18:00:19 +00:00
Ruslan Ermilov
63919764c2 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
Ruslan Ermilov
886539482d mdoc(7) police: removed history info from the .Os call. 2000-12-14 11:40:41 +00:00
Ruslan Ermilov
3450dff7f1 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 12:18:54 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Nik Clayton
13bc97efa9 Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.
PR:             docs/12734
Submitted by:   Alexey M. Zelkin <phantom@scorpion.crimea.ua>
1999-07-30 21:12:35 +00:00
Steve Price
d0dff61cfb Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.
1997-06-23 04:52:13 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Mike Pritchard
5a2964f7c9 Minor formatting fixes.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR # 2134.
1996-12-09 07:26:04 +00:00
Wolfram Schneider
5a80fb277e sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
Wolfram Schneider
d1c1415248 New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8
1996-05-22 00:57:42 +00:00
Wolfram Schneider
7d732d1e4f Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286
Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
1996-05-12 21:02:04 +00:00