changeset 24193:2cc3642eb734

(WinMain): Pass explicit environment block to CreateProcess, to work around a bug in Windows 95/98.
author Andrew Innes <andrewi@gnu.org>
date Tue, 26 Jan 1999 12:56:01 +0000
parents 1baa5a4968b2
children ed72bbcad0b4
files nt/runemacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nt/runemacs.c	Tue Jan 26 01:36:00 1999 +0000
+++ b/nt/runemacs.c	Tue Jan 26 12:56:01 1999 +0000
@@ -126,7 +126,7 @@
   sec_attrs.bInheritHandle = FALSE;
 
   if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class,
-		     NULL, NULL, &start, &child))
+		     GetEnvironmentStrings (), NULL, &start, &child))
     {
       if (wait_for_child)
 	{