[sane-devel] PATCH: Make creation of output files of scanimage batch mode atomic

Julien BLACHE jb at jblache.org
Wed Jan 14 20:35:20 UTC 2009


"m. allan noah" <kitno455 at gmail.com> wrote:

> True enough, So, instead of using mktemp at all, why not do something
> like append '.part' to the image name? I think that is a little more
> clear to the end user if they find some hanging around after a
> scanimage crash or something.

Absolutely, especially if this all happens in the working directory.

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb at jblache.org>                                  GPG KeyID 0xF5D65169



More information about the sane-devel mailing list