HAS_MKSTEMP vs. HAVE_MKSTEMP (From Fredrik Höglund)

parent 1a4f2054
2006-02-13 Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Xprint/Util.c: (XpOpenTmpFile):
HAS_MKSTEMP vs. HAVE_MKSTEMP (From Fredrik Höglund)
2006-02-13 Benjamin Herrenschmidt <benh@kernel.crashing.org> 2006-02-13 Benjamin Herrenschmidt <benh@kernel.crashing.org>
* cfb/Makefile.am: * cfb/Makefile.am:
......
...@@ -303,7 +303,7 @@ XpFinishDocData( ...@@ -303,7 +303,7 @@ XpFinishDocData(
return Success; return Success;
} }
#ifndef HAS_MKSTEMP #ifndef HAVE_MKSTEMP
static static
char *XpDirName(char *fname) char *XpDirName(char *fname)
{ {
...@@ -330,7 +330,7 @@ XpOpenTmpFile( ...@@ -330,7 +330,7 @@ XpOpenTmpFile(
char **fname, char **fname,
FILE **stream) FILE **stream)
{ {
#ifndef HAS_MKSTEMP #ifndef HAVE_MKSTEMP
char *fn = NULL; char *fn = NULL;
/* note that there is a small race condition here... */ /* note that there is a small race condition here... */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment