X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ftmpfile.c;h=83df9fe2961f982bbb3c115738b15826e3bb0f62;hb=d1d75d5540bf75df8bc41c85b5a9fd111ca1f2dd;hp=543e363dedf88709aa5629222a825ce1aeefe0ec;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/lib/tmpfile.c b/lib/tmpfile.c index 543e363de..83df9fe29 100644 --- a/lib/tmpfile.c +++ b/lib/tmpfile.c @@ -1,5 +1,5 @@ /* 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 @@ -83,7 +83,7 @@ tmpfile (void) 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;