Hi Hans, I'm investigating Debian bug #730718 (cc'd on this mail, bug
history at [1]). It appears to me at this point that rlwrap built with
gcc 4.8 and -O2 does not exit correctly when EOF is received. Compiling
with -O0 or -O1 or with gcc 4.7 restores the proper behavior.

What I've been able to gather from the debug log so far is that the EOF
is read and passed to the child process, which does correctly exit
immediately. The difference looks like the next call to select does not
return until another byte is read from the terminal when built with -O2.

I'll certainly investigate further, but I wanted to report this to you
along with my findings so far and see if you have any insights or have
already run into this problem.

[1] http://bugs.debian.org/730718

Thanks,

-- 
mike


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to