This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
- From: "John dot Fardo at ecitele dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 29 Aug 2006 15:03:43 -0000
- Subject: [Bug libc/2074] _IO_new_file_xsputn() in fileops.c not checking for EOF
- References: <20051220202817.2074.jfardo@laurelnetworks.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From John dot Fardo at ecitele dot com 2006-08-29 15:03 -------
Subject: RE: _IO_new_file_xsputn() in fileops.c not checking for EOF
It's not very clear from the glibc code, but, isn't _IO_SYSWRITE
a wrapper for the system call to write?
Are you implying that the write system call should never fail?
What do you think will happen when the file system is full?
- John Fardo
> -----Original Message-----
> From: drepper at redhat dot com
> [mailto:sourceware-bugzilla@sourceware.org]
> Sent: Monday, August 28, 2006 11:25 AM
> To: John Fardo
> Subject: [Bug libc/2074] _IO_new_file_xsputn() in fileops.c
> not checking for EOF
>
>
> ------- Additional Comments From drepper at redhat dot com
> 2006-08-28 15:24 ------- Which function called though
> _IO_SYSWRITE returns -1? None should, that's the whole point.
>
> --
>
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=2074
>
> ------- You are receiving this mail because: ------- You
> reported the bug, or are watching the reporter.
>
>
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2074
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.