Hello, > On Nov 10, 2015, at 20:50, Pádraig Brady <[email protected]> wrote: >> >> Attached is such change with relevant test using LD_PRELOAD. >> Tested on Debian with GCC 4.7.2, and on Mac OS X (where the test is skipped). >> I'll soon test on more systems. > > It would be good to verify we get some detail in the diagnostic, > as that's what the patch is doing. > I.E. something like: > > sed 's/:...*/.../ err > compare exp err || fail=1
Attached an improved test, this time using '/dev/full' (if exists) to get the wording for the ENOSPC errno, then verify the error message from csplit. Comments welcomed, - assaf
csplit-fwrite-errors.patch
Description: Binary data
