bug-coreutils
[Top][All Lists]
Advanced

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

bug#17149: shred - tape data


From: Pádraig Brady
Subject: bug#17149: shred - tape data
Date: Wed, 02 Apr 2014 19:24:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 04/02/2014 06:59 PM, Paul Eggert wrote:
> On 04/02/2014 09:31 AM, Paul Eggert wrote:
>> Does the attached patch work for you? 
> Oops. that had an incorrect integer overflow check.  Attached is an improved 
> version, which uses INT_ADD_OVERFLOW instead of attempting to do it by hand.

I was thinking initially the MTIOCTOP code would be too specific
to add to shred, but searching a bit more it seems generic
enough to be useful. The code looks good.

thanks!
Pádraig.






reply via email to

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