[Bug libc/24184] Regression in exit() behavior

angrave at illinois dot edu sourceware-bugzilla@sourceware.org
Wed Feb 6 18:58:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=24184

--- Comment #2 from angrave at illinois dot edu ---

The provided example is actually boiled down from a real program: An
implementation of a fork-exec-wat shell-like behavior i.e. where the child
issues 'exec' to implement a script of commands from a file.
In the case that the exec fails (or exec and implements the command internally)
then the child ends(exits) normally. 

* So yes, I'm advocating that the original behavior (no seeking in this corner
case) be returned.

[okay I agree it's not fair to refer to the C standard view of fflush(input
streams) when this is POSIX platform example - that was meant as a footote]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list