[Top][All Lists]

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

Re: mkstemp-safer.c must include <config.h>

From: Jim Meyering
Subject: Re: mkstemp-safer.c must include <config.h>
Date: Mon, 14 Nov 2005 12:20:04 +0100

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.

reply via email to

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