This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5998] fwrite returns -1 and errno EINTR instead of a short write when sigaction without SA_RESTART is used
- From: "zlynx at acm dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Mar 2008 18:07:54 -0000
- Subject: [Bug libc/5998] fwrite returns -1 and errno EINTR instead of a short write when sigaction without SA_RESTART is used
- References: <20080330032205.5998.zlynx@acm.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From zlynx at acm dot org 2008-03-30 18:07 -------
No, the code cannot restart. Perhaps I didn't make that clear. It cannot know
how much output was actually written. Its only option is to redo the entire
write, which will result in duplicate output.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://sourceware.org/bugzilla/show_bug.cgi?id=5998
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.