[Fwd: [PATCH] glibc-2.2.5 utmp_file locking and locking question]
Roland McGrath
roland@frob.com
Sun Aug 25 16:14:00 GMT 2002
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Roland McGrath wrote:
>
> > The only possible error should be EINTR. But it does seem reasonable to
> > check for it. Hmm, actually ENOLCK and EDEADLK might be possible too.
> >
> > Does anyone know a reason to ignore the fcntl result?
>
> No reason but that it seemed unnecessary.
They may be obscure and vanishingly rare, but there are cases that could fail.
I have put the checks in.
More information about the Libc-alpha
mailing list