Commit Graph

12 Commits

Author SHA1 Message Date
rtr 75de03412e cast line_len to (int) to avoid warn. 2006-04-01 06:36:58 +00:00
rtr df14d9f34e revert previous to previous as it was correct 2006-04-01 06:31:43 +00:00
rtr f738eedb64 change printf format from "%.*s" to "%.8s"
have to conclude it was what was actually intended in the previous change
2006-04-01 06:26:31 +00:00
dsl ec40cf92c2 Rewrite parallel() so that it uses fgetln() instead of fgets() so that
horrid nasty things don't happen when the input lines are the same size
as the buffer.
Simplify by using an array of 'FILE *' instead of a linked list so that
is possible to appease coverty (SID:1598) by freeing the memory.
Also fclose() the input lines when they are consumed.
Code still modifies optarg strings....
2006-03-31 18:59:52 +00:00
dsl 0720992d8c KNF prior to fixing all the buffer overruns....
Coverty highlighted something else that doesn't matter!
2006-03-31 17:20:07 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wsanchez d213a54fe9 include unistd.h 1998-10-13 17:02:16 +00:00
perry 9f66981ad6 add <unistd.h> to fix compiler warning 1998-02-03 03:56:44 +00:00
lukem 9b5a69b52c WARNSify, fix .Nm usage, deprecate register 1997-10-19 12:36:23 +00:00
tls 5445d0188b Sync to 4.4BSD-Lite2 1997-01-09 14:39:10 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00