Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/paste



Module Name:    src
Committed By:   dholland
Date:           Tue Apr  7 01:52:26 UTC 2009

Modified Files:
        src/usr.bin/paste: paste.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/paste/paste.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index