From: Andrew Innes Date: Tue, 26 Jan 1999 12:56:01 +0000 (+0000) Subject: (WinMain): Pass explicit environment block to X-Git-Tag: emacs-20.4~756 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=171321202579d7a7e1eaaf6bf377a390a50fb01a;p=emacs.git (WinMain): Pass explicit environment block to CreateProcess, to work around a bug in Windows 95/98. --- 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) 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) {