This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix cygwin.c again
authorJerry D. Hedden <jdhedden@cpan.org>
Sat, 22 Dec 2007 16:11:48 +0000 (11:11 -0500)
committerSteve Peters <steve@fisharerojo.org>
Sat, 22 Dec 2007 21:37:39 +0000 (21:37 +0000)
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-ID: <1ff86f510712221311v1c58d606jc8dfeee6a21e6194@mail.gmail.com>

Fixes breakage caused by change #32707
p4raw-link: @32707 on //depot/perl: 24792b8dabd61fb81a064d275b67bc65123a8d4c

p4raw-id: //depot/perl@32712

cygwin/cygwin.c

index b1db756..21ec98c 100644 (file)
@@ -63,7 +63,7 @@ do_aspawn (SV *really, void **mark, void **sp)
             *a++ = SvPVx((SV *)*mark, n_a);
         else
             *a++ = "";
-    *a = Nullch;
+    *a = (char*)NULL;
 
     if (argv[0][0] != '/' && argv[0][0] != '\\'
         && !(argv[0][0] && argv[0][1] == ':'
@@ -133,7 +133,7 @@ do_spawn (char *cmd)
        if (*s)
            *s++='\0';
     }
-    *a=Nullch;
+    *a = (char*)NULL;
     if (!PL_Argv[0])
         return -1;