Bug#916562: libc6: fputs(), fputc(), and fwrite() do not fail on write error

2018-12-15 Thread Asher Gordon
On Saturday, December 15, 2018 7:02 PM, Samuel Thibault wrote: > Hello, > > Asher Gordon, le sam. 15 déc. 2018 18:51:19 -0500, a ecrit: > > > If I use fputs(3), fputc(3), or fwrite(3) to write to a file that can > > be opened for writing but cannot be written to (e.g /dev/full), the > >

Bug#916562: libc6: fputs(), fputc(), and fwrite() do not fail on write error

2018-12-15 Thread Samuel Thibault
Hello, Asher Gordon, le sam. 15 déc. 2018 18:51:19 -0500, a ecrit: > If I use fputs(3), fputc(3), or fwrite(3) to write to a file that can > be opened for writing but cannot be written to (e.g /dev/full), the > functions return 1 rather than the expected EOF (or 0 in the case of > fread()).

Bug#916562: libc6: fputs(), fputc(), and fwrite() do not fail on write error

2018-12-15 Thread Asher Gordon
Package: libc6 Version: 2.27-8 Severity: normal Tags: upstream Dear Maintainer, If I use fputs(3), fputc(3), or fwrite(3) to write to a file that can be opened for writing but cannot be written to (e.g /dev/full), the functions return 1 rather than the expected EOF (or 0 in the case of fread()).