[PATCH:xrdb 1/2] Only add -P flag if using cpp as our preprocessor

Alan Coopersmith alan.coopersmith at oracle.com
Sat Jul 20 10:46:52 PDT 2013


On 07/20/13 03:03 AM, walter harms wrote:
> btw: i noticed
>    (void) mktemp(tmpname3);
> should that be mkstemp() ?

That call is only in the Windows code path, which as I found out the hard way
this week, still has no mkstemp:
http://lists.x.org/archives/xorg-devel/2013-July/036984.html

The POSIX code path uses popen() instead of another temp file there, but Windows
falls back to writing to a temp file & reading from it to simulate a pipe.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list