develooper Front page | perl.perl5.porters | Postings from July 2001

Change 11282 upsets gcc

From:
Nick Ing-Simmons
Date:
July 12, 2001 03:57
Subject:
Change 11282 upsets gcc
Message ID:
20010712105726.659.5@bactrian.ni-s.u-net.com

==== //depot/perl/win32/win32.c#162 (text) ====

@@ -3363,7 +3363,7 @@
     /* if this is a pseudo-forked child, we just want to spawn
      * the new program, and return */
     if (w32_pseudo_id)
-	return win32_spawnvp(P_WAIT, cmdname, (char *const *)argv);
+	return my_exit(win32_spawnvp(P_WAIT, cmdname, (char *const *)argv));
 #endif
     return execvp(cmdname, (char *const *)argv);
 }

That is according to gcc on Win2k gibberish - my_exit() returns void.

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/




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