aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2025-07-27 18:45:03 +0300
committerEli Zaretskii2025-07-27 18:45:03 +0300
commitaef2d807e75fd7461c402c012bef3bdabf8dfa84 (patch)
tree55171a5de37b2b360bb02131edf56e0d49141205 /src
parent64c93e188e6ffa9253ab49078e4ad3aef1616611 (diff)
downloademacs-aef2d807e75fd7461c402c012bef3bdabf8dfa84.tar.gz
emacs-aef2d807e75fd7461c402c012bef3bdabf8dfa84.zip
; * src/emacs.c (default_PATH) [DOS_NT]: Add commentary.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c3
1 files changed, 3 insertions, 0 deletions
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)
771 path = buf; 771 path = buf;
772 772
773#elif defined DOS_NT 773#elif defined DOS_NT
774 /* This is not exactly what Windows does when there's no PATH (see
775 documentation of CreateProcessW), but it's a good-enough
776 approximation. */
774 path = strcpy (staticbuf, "."); 777 path = strcpy (staticbuf, ".");
775#endif 778#endif
776 } 779 }