PerlIO_tmpfile clean-up for VMS
Craig A. Berry [Sun, 14 Sep 2003 00:23:56 +0000 (19:23 -0500)]
From: "Craig A. Berry" <craigberry@mac.com>
Message-ID: <3F63FB6C.5040502@mac.com>

p4raw-id: //depot/perl@21217

perlio.c

index 8ea9ade..c3b331d 100644 (file)
--- a/perlio.c
+++ b/perlio.c
@@ -4861,7 +4861,7 @@ PerlIO_tmpfile(void)
      if (fd >= 0)
          f = PerlIO_fdopen(fd, "w+b");
 #else /* WIN32 */
-#    ifdef HAS_MKSTEMP
+#    if defined(HAS_MKSTEMP) && ! defined(VMS)
      SV *sv = newSVpv("/tmp/PerlIO_XXXXXX", 0);
 
      /*