bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: drop -q from mktemp


From: Bruno Haible
Subject: Re: drop -q from mktemp
Date: Mon, 23 Jan 2006 18:03:38 +0100
User-agent: KMail/1.5

Ralf Wildenhues wrote:
> [ This is the thread that led up to this change:
>   http://thread.gmane.org/gmane.comp.sysutils.autoconf.general/7018 ]
> Please apply this patch to gettext.
>
>          * gettext-tools/misc/autopoint.in (func_tmpdir): Do not pass
>          `-q' to mktemp.
>          * gettext-tools/misc/gettextize.in (func_tmpdir): Likewise.

Thanks, applied.

So, as I understand it, with that particular version of 'mktemp',
"mktemp -d -q ..." doesn't output the name of the directory it just created?
That sounds like a bug to me, because how could a script or program that
wants to store some contents in the directory actually do that? Guessing
the directory name through `ls -t | head -1` or some such is unreliable.

Bruno





reply via email to

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