svn commit: r317709 - head/usr.bin/csplit
Pedro Giffuni
pfg at FreeBSD.org
Tue May 2 23:04:21 UTC 2017
Very interesting ...
On 2/5/2017 16:56, Jilles Tjoelker wrote:
> Author: jilles
> Date: Tue May 2 21:56:20 2017
> New Revision: 317709
> URL: https://svnweb.freebsd.org/changeset/base/317709
>
> Log:
> csplit: Fix check of fputs() return value, making csplit work again.
>
> As of r295638, fputs() returns the number of bytes written (if not more than
> INT_MAX). This broke csplit completely, since csplit assumed only success
> only for the return value 0.
>
Actually r295631 explains better why the change was made.
I now checked with opengrok and it appears only csplit was hit.
Thanks!
Pedro.
More information about the svn-src-head
mailing list