mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Remove `.tmp' suffix; mkstemp requires that XXXXXX be a suffix.
This commit is contained in:
1 parent
77abd81977
commit
be23469207
1 file changed
+1
-1
+1
-1
@@ -24,7 +24,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
|
||||
int i;
|
||||
for (i = 0; i < 70; i++)
|
||||
{
|
||||
char template[] = "conftest.mkstemp/coXXXXXX.tmp";
|
||||
char template[] = "conftest.mkstemp/coXXXXXX";
|
||||
int fd = mkstemp (template);
|
||||
if (fd == -1)
|
||||
exit (1);
|
||||
|
||||
Reference in new issue
Block a user