]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge r252513 from src/gnu/usr.bin/patch into src/usr.bin/patch:
authorDavid E. O'Brien <obrien@FreeBSD.org>
Wed, 3 Jul 2013 22:46:30 +0000 (22:46 +0000)
committerDavid E. O'Brien <obrien@FreeBSD.org>
Wed, 3 Jul 2013 22:46:30 +0000 (22:46 +0000)
commit6d85e39be1690c85a4286b75e0c9e141d242fb8d
treef06c5a5fe068dd01397380714c832827adb30a61
parent0571fd57a11a605e64763b4d62ab1d20de989b31
Merge r252513 from src/gnu/usr.bin/patch into src/usr.bin/patch:

Properly handle input lines containing NUL characters such that pgets()
accurately fills the read buffer.

Callers of pgets() still mis-process the buffer contents if the read line
contains NUL characters, but this at least makes pgets() accurate.
usr.bin/patch/pch.c