Commit Graph

11 Commits

Author SHA1 Message Date
Warner Losh
3f330d7d1a remove __P 2002-03-22 01:42:45 +00:00
David Malone
45af1a4cbd Warns cleanups. 2001-12-03 21:27:45 +00:00
Warner Losh
62f882d620 getopt and friends are declared in <unistd.h>
getopt returns -1 not EOF.
2000-09-04 06:09:54 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Poul-Henning Kamp
31f9b07613 malloc(3) need to allocate one byte more.
PR:		10855
Submitted by:	Petteri Holländer <pete@iki.fi>
1999-03-29 13:18:16 +00:00
Philippe Charnier
db4f31b740 Use err(3). 1997-08-11 07:31:28 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Andrey A. Chernov
4c19ddc5f1 Use more complicated printable test to remove unnecessary 8bit chars 1995-12-28 16:31:23 +00:00
Andrey A. Chernov
9f3ececf05 Localize it 1995-12-28 13:43:40 +00:00
David Greenman
a8c6dbca84 >Description:
The "strings" program chokes if you try using "-n".

>How-To-Repeat:

	Try "strings -n SOMENUMBER SOMEFILE".

>Fix:

Here's a "diff -u" patch that corrects the problem.

Submitted by:	Lon Willett <lon%softt.uucp@math.utah.edu> via NetBSD
1995-02-15 02:47:47 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00