bug-gnulib
[Top][All Lists]
Advanced

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

Re: tmpfile-gnu: yes!


From: Bruno Haible
Subject: Re: tmpfile-gnu: yes!
Date: Sat, 1 May 2010 09:39:31 +0200
User-agent: KMail/1.9.9

Jim Meyering wrote:
> > Do we want a tmpfile-gnu module that guarantees that tmpfile() is
> > not constrained by silly platform limits, and does not put garbage
> > on stderr on failure to create a temporary file?
> 
> That sounds worthwhile.
> No one wants their daemon or library code to spew diagnostics to stderr.

That is an argument for putting the replacement or workaround into the
module 'tmpfile'. Recall that we create a module 'foo-gnu' if _some_
people want the POSIX behaviour and _some_ people want the improved/GNU
behaviour. If everyone wants to improved/GNU behaviour, put it into 'foo'.

Also, do you know any platforms that actually do produce diagnostics on
stderr? doc/posix-functions/tmpfile.texi does not mention any.

Bruno




reply via email to

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