coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: csplit 'write error' missing errno?


From: Assaf Gordon
Subject: Re: csplit 'write error' missing errno?
Date: Wed, 11 Nov 2015 17:18:53 +0200

Hello,

> On Nov 10, 2015, at 20:50, Pádraig Brady <address@hidden> 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

Attachment: csplit-fwrite-errors.patch
Description: Binary data



reply via email to

[Prev in Thread] Current Thread [Next in Thread]