From: Wayne Davison <wayne@clari.net>
To: Zoltan Hidvegi <hzoli@cs.elte.hu>
Cc: zsh-workers@math.gatech.edu
Subject: Re: Weird problem with zsh running trn's Configure script
Date: Mon, 05 Aug 1996 00:47:25 -0700 [thread overview]
Message-ID: <199608050747.AAA00145@bebop.clari.net> (raw)
In-Reply-To: hzoli's message of Mon, 05 Aug 1996 00:39:32 +0200. <199608042239.AAA11670@bolyai.cs.elte.hu>
Zoltan Hidvegi writes:
> I cannot reproduce this with any version of zsh.
The problem turns out to be that the zexit() routine is calling exit()
from a forked process when it should be calling _exit(). When this
occurs, weird things happen to the open file handles, and the file
handle that is reading the input file gets changed somehow and ends
up re-reading part of the input file.
I don't know enough about the inner workings of the exec system to
know what test to make in zexit() to let it choose the right exit
function, so I cannot supply a patch.
> What system/compiler do you use?
Just so you know, I'm running zsh under Solaris x86 2.5 compiled with
gcc 2.7.2.
..wayne..
next prev parent reply other threads:[~1996-08-05 8:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-04 21:28 Weird problem with " Wayne Davison
1996-08-04 22:39 ` Zoltan Hidvegi
1996-08-05 7:47 ` Wayne Davison [this message]
1996-08-05 13:08 ` Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199608050747.AAA00145@bebop.clari.net \
--to=wayne@clari.net \
--cc=hzoli@cs.elte.hu \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).