Mail Archives: djgpp-workers/2012/07/13/01:20:27
> Date: Thu, 12 Jul 2012 20:44:33 -0400
> From: DJ Delorie <dj AT delorie DOT com>
>
>
> The Linux man pages say:
>
> DESCRIPTION
> The mktemp() function generates a unique temporary filename
> from template. The last six characters of template must be
> XXXXXX and these are replaced with a string that makes the
> filename unique. Since it will be modified, template must not
> be a string constant, but should be declared as a character
> array.
>
> CONFORMING TO
> 4.3BSD, POSIX.1-2001. POSIX.1-2008 removes the specification
> of mktemp().
>
> My POSIX spec is older than 2001 so I can't confirm this. Note that
> the XXXXXX part is *not* a filename component, but a pattern to be
> replaced, so the "files are case ignoring" argument doesn't apply.
That's true, but some programs downcase file names before using them,
and don't differentiate between patterns and actual file names.
That's what Emacs does. (I will fix this in Emacs in a day or two.)
Anyway, I think given the slim chances that there will ever be another
DJGPP release, I think this is a moot point. Any changes in the
library at this time are unlikely to help DJGPP users.
- Raw text -