* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration.
authorEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 16:32:50 +0000 (16:32 +0000)
committerEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 16:32:50 +0000 (16:32 +0000)
ChangeLog
m4/mkstemp.m4

index cf535bb..864c296 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-01  Eric Blake  <ebb9@byu.net>
+
+       * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration.
+
 2006-10-29  Bruno Haible  <bruno@clisp.org>
 
        Make it compile in C++ mode.
index 27367cb..d2741b9 100644 (file)
@@ -1,4 +1,4 @@
-#serial 15
+#serial 16
 
 # Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -28,9 +28,9 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
              large = 2147483647;
            for (i = 0; i < 70; i++)
              {
-               char template[] = "conftest.mkstemp/coXXXXXX";
+               char templ[] = "conftest.mkstemp/coXXXXXX";
                int (*mkstemp_function) (char *) = mkstemp;
-               int fd = mkstemp_function (template);
+               int fd = mkstemp_function (templ);
                if (fd < 0 || lseek (fd, large, SEEK_SET) != large)
                  return 1;
                close (fd);