OpenGrok
Cross Reference: paste.c
xref
: /
src
/
usr.bin
/
paste
/
paste.c
Home
|
History
|
Annotate
|
Download
|
only in
paste
History log of
/src/usr.bin/paste/paste.c
Revision
Date
Author
Comments
1.16
06-Sep-2011
joerg
static + __dead
1.15
07-Apr-2009
dholland
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.
1.14
21-Jul-2008
lukem
branches: 1.14.4; 1.14.6; 1.14.10;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
1.13
17-Jan-2007
hubertf
branches: 1.13.12;
Remove duplicate #includes
From Slava Semushin <slava.semushin@gmail.com>, via private mail
1.12
01-Apr-2006
rtr
branches: 1.12.6; 1.12.10;
cast line_len to (int) to avoid warn.
1.11
01-Apr-2006
rtr
revert previous to previous as it was correct
1.10
01-Apr-2006
rtr
change printf format from "%.*s" to "%.8s"
have to conclude it was what was actually intended in the previous change
1.9
31-Mar-2006
dsl
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....
1.8
31-Mar-2006
dsl
KNF prior to fixing all the buffer overruns....
Coverty highlighted something else that doesn't matter!
1.7
07-Aug-2003
agc
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
1.6
13-Oct-1998
wsanchez
include unistd.h
1.5
03-Feb-1998
perry
add <unistd.h> to fix compiler warning
1.4
19-Oct-1997
lukem
WARNSify, fix .Nm usage, deprecate register
1.3
09-Jan-1997
tls
Sync to 4.4BSD-Lite2
1.2
01-Aug-1993
mycroft
Add RCS identifiers.
1.1
21-Mar-1993
cgd
branches: 1.1.1;
Initial revision
1.1.1.2
09-Jan-1997
tls
Import from 4.4BSD-Lite2
1.1.1.1
21-Mar-1993
cgd
initial import of 386bsd-0.1 sources
1.12.10.1
18-May-2009
bouyer
Tickets 1317, 1318
1.12.6.1
18-May-2009
bouyer
Pull up following revision(s) (requested by dholland in ticket #1319):
usr.bin/paste/paste.c: revision 1.15
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.
1.13.12.1
18-Sep-2008
wrstuden
Sync with wrstuden-revivesa-base-2.
1.14.10.1
21-Apr-2010
matt
sync to netbsd-5
1.14.6.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
1.14.4.1
18-May-2009
bouyer
Pull up following revision(s) (requested by dholland in ticket #766):
usr.bin/paste/paste.c: revision 1.15
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.
Indexes created Wed Oct 01 13:09:50 GMT 2025