Clint Adams <[EMAIL PROTECTED]> wrote:
> On Sat, May 24, 2008 at 11:51:37AM -0400, Michael Stone wrote:
>> A quick glance suggests that the syntax is compatible at this point, is
>> that right?
>
> As far as I know, the only potential issue is that current mktemp will
> happily go along with `mktemp -p /tmp blah.XX` and GNU mktemp will
> complain that there are too few X's.  I can't imagine that there are
> many people actually depending on this behavior, but maybe that's just
> me.
>
> I think that Jim alluded to a potential change in that department, but
> I'm not sure what the status is or if it's important at all.

Yes, I mentioned that in the announcement:

    http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/11527

I wrote pseudocode to support a template string with only one or two X's,
but it's just a little too ugly and in support of risky behavior that
(afaik) no one wants, so it's still only on paper.

Actually, depending on how you compile, the original mktemp program will
barf if there are fewer than 6 X's.  That's what at least one distribution
does, so I don't feel too bad about the current restriction.  The only
justification I've come up with for adding that support would be to make
it easy to test the case in which all possible names already exist.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to