Date: Tue, 2 May 2017 17:58:18 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: Jilles Tjoelker <jilles@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r317709 - head/usr.bin/csplit Message-ID: <faf05bce-c630-97fb-3164-e8a8abf543be@FreeBSD.org> In-Reply-To: <201705022156.v42LuKbp088899@repo.freebsd.org> References: <201705022156.v42LuKbp088899@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?faf05bce-c630-97fb-3164-e8a8abf543be>