Commit Graph

16 Commits

Author SHA1 Message Date
tron
c8b0d04949 Fix wrong array size calculation in call to memset() and avoid a possible
segmentation fault in memmove(). Patches supplied by Stephan Thesing in
PR bin/8184.
1999-08-10 20:09:02 +00:00
christos
0d9bacd536 gcc-2.8.1 wants more braces 1998-12-19 17:05:30 +00:00
wsanchez
d213a54fe9 include unistd.h 1998-10-13 17:02:16 +00:00
ross
f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
perry
b7110dfa46 add <unistd.h> to fix compiler warning 1998-02-03 03:47:47 +00:00
lukem
ac4e9aa74a WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 03:32:11 +00:00
tls
9bb9a57573 revert to pre-merged version due to bugs; will fix. 1997-01-13 20:57:48 +00:00
tls
9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
tls
20d490585f Sync to 4.4BSD Lite-2 (minus a number of conflicting bugfixes) 1997-01-09 13:29:56 +00:00
mycroft
1a97a35609 Fix off-by-one error in checking field numbers. From der Mouse, PR 1356. 1996-02-08 18:24:16 +00:00
cgd
02254e0c37 rename fgetline() and sharpen axe for bostic... 1994-01-04 05:16:44 +00:00
cgd
a60129f588 update for fgetline 1993-12-22 07:23:27 +00:00
cgd
cf60e8dfa8 fix from Dave Matthews <dave@prlng.co.uk>, with modifications by cgd:
Bug Description:
	Two different bugs in join.  One causes a segmentation fault if
	increasing the space by 100 is not enough.  The other gives the
	wrong results because the program saves a pointer to the original
	buffer rather than to the area where the lines have been copied.
1993-11-15 09:30:52 +00:00
jtc
2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
glass
f7d7921aae join from ftp.uu.net:bsd-sources integrated 1993-04-30 08:04:31 +00:00