Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird problem with zsh running trn's Configure script
- X-seq: zsh-workers 1921
- From: Wayne Davison <wayne@xxxxxxxxx>
- To: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- Subject: Re: Weird problem with zsh running trn's Configure script
- Date: Mon, 05 Aug 1996 00:47:25 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: hzoli's message of Mon, 05 Aug 1996 00:39:32 +0200. <199608042239.AAA11670@xxxxxxxxxxxxxxxxx>
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..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author