* lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.
authorEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 16:49:05 +0000 (16:49 +0000)
committerEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 16:49:05 +0000 (16:49 +0000)
ChangeLog
lib/mkstemp-safer.c

index 864c2961d3495f5f9891ccdfa4d5af10755fbabe..14955b0bcfe8d2ed81fd2fe73ceef618841e2f06 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-11-01  Eric Blake  <ebb9@byu.net>
 
+       * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.
+
        * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration.
 
 2006-10-29  Bruno Haible  <bruno@clisp.org>
index 365b3e6a760b3a65443d3277557a6752dd5345d8..c8c5bbd6e43701eaeab626da1c4edf4e5ce99a00 100644 (file)
@@ -29,7 +29,7 @@
    STDERR_FILENO.  */
 
 int
-mkstemp_safer (char *template)
+mkstemp_safer (char *templ)
 {
-  return fd_safer (mkstemp (template));
+  return fd_safer (mkstemp (templ));
 }