Author: kjs
Date: Tue Jan 6 05:26:07 2009
New Revision: 35030
Modified:
trunk/compilers/pirc/src/main.c
Log:
[pirc] _tempnam is not available on linux; change into tmpnam.
Modified: trunk/compilers/pirc/src/main.c
==============================================================================
--- trunk/compilers/pirc/src/main.c (original)
+++ trunk/compilers/pirc/src/main.c Tue Jan 6 05:26:07 2009
@@ -310,7 +310,7 @@
return 0;
}
else {
- hdocoutfile = _tempnam(NULL, "hdoc");
+ hdocoutfile = tmpnam("hdoc");
file = open_file(hdocoutfile, "w");
process_heredocs(interp, argv[0], file);
fclose(file);