Quote:
Originally Posted by poohbear
One small problem I ran into is that mkstemp doesn't appear to be in MinGW. Deprecated POSIX function perhaps?
|
You should have emailed me. I can fix the problem directly in the source tree.
Quote:
mkstemps is defined in %MINGW%\lib\libiberty.a, and a quick glance of the GNU mkstemps suggests that mkstemp(p) is equivalent to mkstemps(p,0). So change, lines 288-289 from:
strcpy(tname, "/tmp/xdmsXXXXXX");
fd = mkstemp(tname);
to:
strcpy(tname, "xdmsXXXXXX");
fd = mkstemps(tname,0);
(unless you have a writeable /tmp directory).
|
One has to have a write /tmp directory, that's a basic requirement for UNIX programs.
Next version (hopefully released soon) will have the fix.