[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coreutils] [PATCH] split: fail immediately if impossible to create
From: |
Jim Meyering |
Subject: |
Re: [coreutils] [PATCH] split: fail immediately if impossible to create a large file |
Date: |
Mon, 08 Nov 2010 10:37:23 +0100 |
Pádraig Brady wrote:
> For example, if splitting to 4G files (max on VFAT for example),
> and `split` is built without large file support, then we would
> have only failed after about 2G was written. If the input is
> currently less than that, we won't know about the issue until later.
>
> I'm not planning to apply for this release,
> but will if anyone thinks it's important enough.
...
Thanks. That looks like a fine patch.
Deferring it sounds good to me, too.
> Subject: [PATCH] split: fail immediately if impossible to create a large file
>
> * src/split.c (main): Error if -[bC] values > OFF_T_MAX
> * tests/misc/split-fail: Adjust for the new lower limits