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

Bug#429021: libc6: fputs can lose data in buffer on signal

On Fri, Jun 15, 2007 at 06:09:42PM +0200, Pierre Habouzit wrote:
>   The bug is here, you should set the flags to SA_RESTART so that
> interupted syscalls are restarted. If you don't do so you'll break the
> libio.

Is this documented anywhere?  The manual says that EINTR is treated as
an ordinary error, which would be fine; they don't say EINTR will lose
your data.

This seems like a bug to me unless you can find language in POSIX to
the contrary.

Daniel Jacobowitz

Reply to: