HAS_MKSTEMP vs. HAVE_MKSTEMP (From Fredrik Höglund)
This commit is contained in:
parent
1a4f20541a
commit
4839e91fca
|
@ -1,3 +1,8 @@
|
||||||
|
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(
|
||||||
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(
|
||||||
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... */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user