Jim Meyering <address@hidden> wrote:
> The problem is that on systems for which m4/mkstemp.c
> would normally make an application use the replacement
> function, an application calling mkstemp_safer would end up
> using the buggy version, because mkstemp-safer.c didn't
> include <config.h> (for the mkstemp -> mkstemp_rpl definition).
>
> In coreutils I added a pre-release check target
> to ensure that this sort of thing doesn't happen again.
> We [*really*] need something similar for gnulib.
FYI, the consequences are not negligible.
I've just added this coreutils NEWS entry on both the trunk
and the b5_9x branch:
** Bug fixes
sort and tac now use the replacement mkstemp function, and hence
are no longer subject to limitations (of 26 or 32, on the maximum
number of files from a given template) on HP-UX 10.20, SunOS 4.1.4,
Solaris 2.5.1 OSF1/Tru64 V4.0F.
[Prev in Thread]
Current Thread
[Next in Thread]
Re: mkstemp-safer.c must include <config.h>,
Jim Meyering<=