Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 1995 00:32:46 -0700
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        jmacd@uclink.berkeley.edu
Cc:        ports@FreeBSD.org, rms@gnu.ai.mit.edu
Subject:   Re: M-x man hangs emacs 19.29[FreeBSD]
Message-ID:  <199507250732.AAA03297@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199507250227.TAA22566@uclink.berkeley.edu> (jmacd@uclink.berkeley.edu)

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: jmacd@uclink.berkeley.edu

 * I just realized I wasn't applying patch-a to the version I 
 * rebuilt that works, everything makes sense now...  the patch 
 * fixed one problem in process.c and broke something else, 
 * problem is, the patch rms just sent fails a hunk... I'll test
 * it now.

 * From: Manfred Antar <mantar@netcom.com>

 * i just deleted the patches directory and re-made emacs M-x man now works

Confirmed here on my machine too.  The timestamp of the emacs
executable was newer than the patch itself, but somehow it didn't get
compiled in, I guess.

I compiled it with the old patch only, and it failed.  I applied the
second patch from Richard as well (note it is relative to the old
patch, you can't just replace it), it worked again.

Satoshi
-------
P.S. Here is the new patch-a, relative to the 19.29 distribution; I'll
     commit it shortly.

--- ./src/process.c.org	Mon Jun 19 16:18:21 1995
+++ ./src/process.c	Mon Jul 24 23:52:53 1995
@@ -1093,10 +1093,16 @@
       UNGCPRO;
       if (NILP (tem))
 	report_file_error ("Searching for program", Fcons (program, Qnil));
+      tem = Fexpand_file_name (tem, Qnil);
       new_argv[0] = XSTRING (tem)->data;
     }
   else
-    new_argv[0] = XSTRING (program)->data;
+    {
+      if (!NILP (Ffile_directory_p (program)))
+	error ("Specified program for new process is a directory");
+
+      new_argv[0] = XSTRING (program)->data;
+    }
 
   for (i = 3; i < nargs; i++)
     {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507250732.AAA03297>