projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test-base64: Improve.
[gnulib.git]
/
lib
/
tmpfile.c
diff --git
a/lib/tmpfile.c
b/lib/tmpfile.c
index
543e363
..
83df9fe
100644
(file)
--- a/
lib/tmpfile.c
+++ b/
lib/tmpfile.c
@@
-1,5
+1,5
@@
/* Create a temporary file.
/* Create a temporary file.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
, 2009
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-83,7
+83,7
@@
tmpfile (void)
do
{
memcpy (&xtemplate[len - 6], "XXXXXX", 6);
do
{
memcpy (&xtemplate[len - 6], "XXXXXX", 6);
- if (gen_tempname (xtemplate, GT_NOCREATE) < 0)
+ if (gen_tempname (xtemplate,
0, 0,
GT_NOCREATE) < 0)
{
fd = -1;
break;
{
fd = -1;
break;