bug-coreutils
[Top][All Lists]
Advanced

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

Re: mktemp write failure


From: Eric Blake
Subject: Re: mktemp write failure
Date: Fri, 6 Nov 2009 22:41:10 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Jim Meyering <jim <at> meyering.net> writes:

> 
> Let's wrap only freopen for now.

OK, I'll squash 2 and 3 and wrap just freopen.

> If someone can spot a problem with an fopen or popen use,
> that would lend weight to the "just wrap them all" approach.

Maybe I'll find time to audit the rest of the list for any corner case 
behaviors.

> One potential problem:
> The removal of the
>   #include <stdio.h>
> that precedes e.g., #include <assert.h>
> 
> I recall (possibly on systems too old to be relevant) that including
> assert without first including stdio.h would cause compilation failure.
> Probably not worth worrying about.

And even if that IS true, it sounds like a perfect candidate for a gnulib 
assert.in.h fixup.

-- 
Eric Blake







reply via email to

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