develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35030 - trunk/compilers/pirc/src

From:
kjs
Date:
January 6, 2009 05:26
Subject:
[svn:parrot] r35030 - trunk/compilers/pirc/src
Message ID:
20090106132607.DE072CB9F9@x12.develooper.com
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);



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About