Commit Graph

23 Commits

Author SHA1 Message Date
wiz 667b1ee949 Remove second NetBSD RCS Id. 2013-04-07 17:43:01 +00:00
jdf 4931818ff5 * Create separate section with macro for EXIT STATUS
* Additionally reference join(1)
Patch supplied by Bug Hunting.
2013-04-07 17:40:16 +00:00
joerg f085baab1a static + __dead 2011-09-06 18:24:43 +00:00
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
dholland 1a6bc86ad6 Null-terminate the delimiter list string after processing escapes
(which can shorten it) because the code that issues delimiters depends
on it being null-terminated. This caused e.g. paste -d '\0' a b to
print a '0' at the beginning of each line. Closes PR 41159.
2009-04-07 01:52:26 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
hubertf 48b31403c5 Remove duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
2007-01-17 00:21:43 +00:00
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
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +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
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00