[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/41159 CVS commit: src/usr.bin/paste
The following reply was made to PR bin/41159; it has been noted by GNATS.
From: "David A. Holland" <dholland%netbsd.org@localhost>
Subject: PR/41159 CVS commit: src/usr.bin/paste
Date: Tue, 7 Apr 2009 01:52:27 +0000
Module Name: src
Committed By: dholland
Date: Tue Apr 7 01:52:26 UTC 2009
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.
Main Index |
Thread Index |