bug-gnulib
[Top][All Lists]
Advanced

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

Re: mkstemp


From: Eric Blake
Subject: Re: mkstemp
Date: Wed, 27 Apr 2011 16:00:54 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

On 04/27/2011 03:29 PM, Bruno Haible wrote:
> Just "less likely"?! The code in module 'clean-temp' goes through all kinds of
> hoops with signal handlers and 'volatile' variables to make _sure_ that the
> temporary files are cleaned up. This has also been tested as part of the
> 'msgfmt' program.
> 
> It may not have been clear because of lack of comments. So let me add such
> comments.

Nice addition.

> +   directories are not supported here.  The temporary directories and files
> +   are automatically cleaned up (at the latest) when the program exits or
> +   dies from a fatal signal such as SIGINT, SIGTERM, SIGHUP, but not if it
> +   dies from a fatal signal such as SIGQUIT, SIGKILL, or SIGABRT, SIGSEGV,
> +   SIGBUS, SIGILL, SIGFPE,  */

The grammar is a bit off, though.  Should the "or" be moved to the end,
and the sentence end in "."?

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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