From: drand@omega.x.org (Doug Rand)
Subject: Re: emacs 19 problem on alpha
Date: 12 Sep 1994 22:13:05 GMT [thread overview]
Message-ID: <352jph$4ne@GRAPEVINE.LCS.MIT.EDU> (raw)
In-Reply-To: DRAND.94Sep8163322@omega.x.org
Doug Rand (drand@omega.x.org) wrote:
: I'm having a strange problem. I just upgraded from OSF/1 V2 to V3
: on alpha and I can no longer do dired. Tracking down the problem
: I found that no data was coming back over the pipe emacs sets up
: for the subprocess. Anyone know how to fix this? Better, does
: anyone have a prebuilt copy of either lemacs or emacs-19 for alpha
: with a fix?
First, I want to thank the person from DEC for sending me a new
version of callproc.c with the problem fixed. Good and fast
work. I'll also note that the fix is in the patch to 19.26 on
gatekeeper.dec.com for anyone else suffering the same malady.
The same fix can be made to lucid emacs, just change
the line calling read in callproc to != 0 instead of > 0
and add a clause so that the body of the loop isn't executed
if nread is < 0. Everything seems to work fine.
The root cause, from what he's told me and a little reading
of a POSIX book, is that if you set the FD to non-blocking, you
can get an error code if there isn't any data waiting, and this
isn't a fatal error. So one should continue to try to read the
pipe.
--
Doug Rand <drand@x.org> X Consortium
Disclaimer: We set the standards for disclaimers
prev parent reply other threads:[~1994-09-12 22:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-08 20:33 emacs 19 problem on alpha Doug Rand
1994-09-12 22:13 ` Doug Rand [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox