aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes1999-01-26 12:56:01 +0000
committerAndrew Innes1999-01-26 12:56:01 +0000
commit171321202579d7a7e1eaaf6bf377a390a50fb01a (patch)
tree00f5ba2a6c0c6aa4d3fef772b94d6d6a7cbfbbc9
parent6339134ef0bf0693002290c3d58e1d729e046f23 (diff)
downloademacs-171321202579d7a7e1eaaf6bf377a390a50fb01a.tar.gz
emacs-171321202579d7a7e1eaaf6bf377a390a50fb01a.zip
(WinMain): Pass explicit environment block to
CreateProcess, to work around a bug in Windows 95/98.
-rw-r--r--nt/runemacs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nt/runemacs.c b/nt/runemacs.c
index dc8d1bfe710..c1b28951748 100644
--- a/nt/runemacs.c
+++ b/nt/runemacs.c
@@ -126,7 +126,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
126 sec_attrs.bInheritHandle = FALSE; 126 sec_attrs.bInheritHandle = FALSE;
127 127
128 if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class, 128 if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class,
129 NULL, NULL, &start, &child)) 129 GetEnvironmentStrings (), NULL, &start, &child))
130 { 130 {
131 if (wait_for_child) 131 if (wait_for_child)
132 { 132 {