Subject: bug#17149: shred - tape data

From: Paul Eggert <[email-masked]>
Date: Thu, 03 Apr 2014 21:53:03 -0700

Pádraig Brady wrote:
>                     if (! INT_ADD_OVERFLOW (size, size_incr))
>                       size += size_incr;
> +                  else
> +                    size = OFF_T_MAX;

A clearer way to write that would be:

    size += MIN (size_incr, OFF_T_MAX - size);

Otherwise it looks good.