[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug libc/4656] FILE* operations are not robust enough with signals



------- Additional Comments From nix at esperi dot org dot uk  2007-09-22 19:40 -------
This patch turns out to be a seriously bad idea, because no other libcs 
preserve the stdio buffer state on error. At least bash, zsh, and rpc.mountd in 
all released versions of nfs-utils are known to fail with this patch applied, 
with rpc.mountd failing in such a way that NFS service appears to entirely fail 
because no fhs can be validated. (Also several of glibc's own tests fail.)

Ideally you'd think it would be better: it's avoiding data loss. But a lot of 
programs are *expecting* data loss in this situation, and avoiding it makes 
them misbehave...

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4656

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
You are on the CC list for the bug, or are watching someone who is.



Reply to: