From 4839e91fcab4c344e672154a447d8c7035fce1f4 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 13 Feb 2006 05:03:13 +0000 Subject: [PATCH] =?UTF-8?q?HAS=5FMKSTEMP=20vs.=20HAVE=5FMKSTEMP=20(From=20?= =?UTF-8?q?Fredrik=20H=C3=B6glund)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 5 +++++ Xprint/Util.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9fe191285..5250e7ef4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-13 Benjamin Herrenschmidt + + * Xprint/Util.c: (XpOpenTmpFile): + HAS_MKSTEMP vs. HAVE_MKSTEMP (From Fredrik Höglund) + 2006-02-13 Benjamin Herrenschmidt * cfb/Makefile.am: diff --git a/Xprint/Util.c b/Xprint/Util.c index 069595b9a..12a2562a4 100644 --- a/Xprint/Util.c +++ b/Xprint/Util.c @@ -303,7 +303,7 @@ XpFinishDocData( return Success; } -#ifndef HAS_MKSTEMP +#ifndef HAVE_MKSTEMP static char *XpDirName(char *fname) { @@ -330,7 +330,7 @@ XpOpenTmpFile( char **fname, FILE **stream) { -#ifndef HAS_MKSTEMP +#ifndef HAVE_MKSTEMP char *fn = NULL; /* note that there is a small race condition here... */