bug-gnulib
[Top][All Lists]
Advanced

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

mkstemp-safer followup


From: Paul Eggert
Subject: mkstemp-safer followup
Date: Wed, 20 Sep 2006 13:17:45 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I also installed this further change, which shouldn't hurt either.
That old HAVE_MKSTEMP code was bogus anyway, since it should have
been HAVE_DECL_MKSTEMP.

2006-09-20  Paul Eggert  <address@hidden>

        * mkstemp-safer.c: Include "mkstemp.h" instead of <stdlib.h>.
        (mkstemp): Remove, since mkstemp.h does this for us.

--- lib/mkstemp-safer.c 13 Sep 2006 22:38:14 -0000      1.5
+++ lib/mkstemp-safer.c 20 Sep 2006 20:16:48 -0000      1.7
@@ -22,13 +22,9 @@
 
 #include "stdlib-safer.h"
 
-#include <stdlib.h>
+#include "mkstemp.h"
 #include "unistd-safer.h"
 
-#if ! HAVE_MKSTEMP
-int mkstemp (char *);
-#endif
-
 /* Like mkstemp, but do not return STDIN_FILENO, STDOUT_FILENO, or
    STDERR_FILENO.  */
 




reply via email to

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