From aef2d807e75fd7461c402c012bef3bdabf8dfa84 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 27 Jul 2025 18:45:03 +0300 Subject: [PATCH] ; * src/emacs.c (default_PATH) [DOS_NT]: Add commentary. --- src/emacs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/emacs.c b/src/emacs.c index 0983b757f08..8a6307f077d 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -771,6 +771,9 @@ default_PATH (void) path = buf; #elif defined DOS_NT + /* This is not exactly what Windows does when there's no PATH (see + documentation of CreateProcessW), but it's a good-enough + approximation. */ path = strcpy (staticbuf, "."); #endif }