]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge r252512 from src/gnu/usr.bin/patch into src/usr.bin/patch:
authorobrien <obrien@FreeBSD.org>
Wed, 3 Jul 2013 22:44:26 +0000 (22:44 +0000)
committerobrien <obrien@FreeBSD.org>
Wed, 3 Jul 2013 22:44:26 +0000 (22:44 +0000)
commitd45f18e9d7e0dfff49a12196a8f4c325eefee716
treea9e0769df784c3884354be7647dd2aba8046db12
parent85ce2c58ff0686d38588441ec3e73ec11e901a71
Merge r252512 from src/gnu/usr.bin/patch into src/usr.bin/patch:

Make it so that 'patch < FUBAR' and 'patch -i FUBAR' operate the same.

The former makes a copy of stdin, but was not accurately putting the
content of stdin into a temp file.  This lead to the undercounting
the number of lines in hunks containing NUL characters when reading
from stdin.  Thus resulting in "unexpected end of file in patch" errors.
usr.bin/patch/pch.c