changeset 7824:de1dfb8aea82

(init_callproc) [MSDOS]: Exclude less code, so ../etc is still tested for doc file.
author Richard M. Stallman <rms@gnu.org>
date Tue, 07 Jun 1994 15:29:45 +0000
parents 1fbd479fb0b2
children 06c366308319
files src/callproc.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Tue Jun 07 15:26:59 1994 +0000
+++ b/src/callproc.c	Tue Jun 07 15:29:45 1994 +0000
@@ -847,7 +847,6 @@
   register char * sh;
   Lisp_Object tempdir;
 
-#ifndef MSDOS
   if (initialized && !NILP (Vinstallation_directory))
     {
       /* Add to the path the lib-src subdir of the installation dir.  */
@@ -856,8 +855,11 @@
 			       Vinstallation_directory);
       if (NILP (Fmember (tem, Vexec_path)))
 	{
+#ifndef MSDOS
+	  /* MSDOS uses wrapped binaries, so don't do this.  */
 	  Vexec_path = nconc2 (Vexec_path, Fcons (tem, Qnil));
 	  Vexec_directory = Ffile_name_as_directory (tem);
+#endif
 
 	  /* If we use ../lib-src, maybe use ../etc as well.
 	     Do so if ../etc exists and has our DOC-... file in it.  */
@@ -893,7 +895,6 @@
 	    Vdata_directory = newdir;
 	}
     }
-#endif
 
   tempdir = Fdirectory_file_name (Vexec_directory);
   if (access (XSTRING (tempdir)->data, 0) < 0)