From owner-freebsd-ports Sun Jul 23 22:37:47 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id WAA02005 for ports-outgoing; Sun, 23 Jul 1995 22:37:47 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id WAA01997 for ; Sun, 23 Jul 1995 22:37:41 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id WAA12686; Sun, 23 Jul 1995 22:37:32 -0700 Date: Sun, 23 Jul 1995 22:37:32 -0700 Message-Id: <199507240537.WAA12686@silvia.HIP.Berkeley.EDU> To: roberto@blaise.ibp.fr CC: jmacd@uclink.berkeley.edu, bug-gnu-emacs@prep.ai.mit.edu, ports@FreeBSD.org In-reply-to: <199507222317.BAA26069@blaise.ibp.fr> (roberto@blaise.ibp.fr) Subject: Re: M-x man hangs emacs 19.29[FreeBSD] From: asami@cs.berkeley.edu (Satoshi Asami) Sender: ports-owner@FreeBSD.org Precedence: bulk * There is patch floating around for some problem in process.c which hang * indefinitely if the target is a directory. You way want to try it. Sorry * it seems that I don't have anymore... If you are talking about this one, it's already in patches/patch-a. It doesn't seem to help, as it still hangs on thud. Do other people see the problem? Right now I have one -current system (mine) on which it works, one (approx.) 2.0.5R system (thud) on which it hangs, and Josh's machine where it started working after recompilation (how new is your OS, Josh?). If nobody else reports problems, I'll just upgrade thud and be done with it. :> Satoshi ------- *** src/process.c 1995/06/25 18:57:25 1.161 --- src/process.c 1995/07/01 05:15:43 *************** *** 1080,1085 **** --- 1080,1087 ---- #else /* not VMS */ new_argv = (unsigned char **) alloca ((nargs - 1) * sizeof (char *)); + program = Fexpand_file_name (program, Qnil); + /* If program file name is not absolute, search our path for it */ if (!IS_DIRECTORY_SEP (XSTRING (program)->data[0]) && !(XSTRING (program)->size > 1 *************** *** 1096,1102 **** new_argv[0] = XSTRING (tem)->data; } else ! new_argv[0] = XSTRING (program)->data; for (i = 3; i < nargs; i++) { --- 1098,1109 ---- new_argv[0] = XSTRING (tem)->data; } else ! { ! 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++) {