Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Weird problem with zsh running trn's Configure script



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