From owner-freebsd-ports Fri Jun 30 17:01:47 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id RAA25050 for ports-outgoing; Fri, 30 Jun 1995 17:01:47 -0700 Received: from uclink.berkeley.edu (uclink.Berkeley.EDU [128.32.155.3]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id RAA25044 for ; Fri, 30 Jun 1995 17:01:46 -0700 From: jmacd@uclink.berkeley.edu Received: from localhost.berkeley.edu by uclink.berkeley.edu (8.6.10/1.33(web)-OV4) id QAA22928; Fri, 30 Jun 1995 16:51:31 -0700 Message-Id: <199506302351.QAA22928@uclink.berkeley.edu> To: roberto@blaise.ibp.fr (Ollivier Robert) Cc: ports@freebsd.org Subject: Re: emacs locks up/update In-reply-to: Your message of "Fri, 30 Jun 95 23:26:46 +0200." <199506302126.XAA10182@blaise.ibp.fr> Date: Fri, 30 Jun 95 16:51:31 PDT Sender: ports-owner@freebsd.org Precedence: bulk > > > > directory. for example, I have a directory /users/jmacd/bin > > and if I execute in a lisp interaction buffer the command > > (make-comint "directory-process" "/users/jmacd/bin") > > it dies, can anyone else reproduces this? > > It does not die here just forever blocked : > > 5564 ?? D 0:05.21 /usr/local/bin/emacs > 5565 p8 SEs+ 0:00.03 (emacs) > > Time to reboot :-) and :-( > -- > Ollivier ROBERT -=- The daemon is FREE! -=- roberto@FreeBSD.ORG > FreeBSD keltia 2.0-BUILT-19950503 #3: Wed May 3 19:53:04 MET DST 1995 I mailed this bug to bug-gnu-emacs also and rms replied: > > > (make-comint "some process" "path_of_a_directory") > > I tried this and got an error message that Emacs could not find > this program. > > Would you please debug openp (lread.c) and figure out why it does not > reject the directory name? There is code to reject them. > > /* Ignore file if it's a directory. */ > if (stat (fn, &st) >= 0 > && (st.st_mode & S_IFMT) != S_IFDIR) > { > /* Check that we can access or open it. */ > I can try this, but my experience with gdb is very limited, perhaps someone more experienced could give it a try. -josh