2004-12-20 Stepan Kasal * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Change the template to ``conftestXXXXXX.tmp'' and remove the files at the end. Index: m4/mkstemp.m4 =================================================================== RCS file: /cvsroot/gnulib/gnulib/m4/mkstemp.m4,v retrieving revision 1.11 diff -u -r1.11 mkstemp.m4 --- m4/mkstemp.m4 20 Apr 2004 09:05:49 -0000 1.11 +++ m4/mkstemp.m4 20 Dec 2004 09:33:15 -0000 @@ -22,7 +22,7 @@ int i; for (i = 0; i < 70; i++) { - char template[] = "conftestXXXXXX"; + char template[] = "conftestXXXXXX.tmp"; int fd = mkstemp (template); if (fd == -1) exit (1); @@ -35,6 +35,7 @@ gl_cv_func_mkstemp_limitations=yes, gl_cv_func_mkstemp_limitations=yes ) + rm -f conftest*.tmp ] ) fi