This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PerlIO_tmpfile clean-up for VMS
authorCraig A. Berry <craigberry@mac.com>
Sun, 14 Sep 2003 00:23:56 +0000 (19:23 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 14 Sep 2003 06:42:12 +0000 (06:42 +0000)
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);
 
      /*