Hi Paul,
Someone, probably me, forgot about preserving errno
Not you, be reassured :-)
It is a long-standing issue, which has been in innd/chan.c since 1998
(after a "mega inn.status and hosts.nntp patch").
and stuck the status
hook between the select and the check of its return status, so you're
getting a spurious EPERM from STATUSsummary, probably from some random
glibc internal syscall involved in fopen() that isn't actually important
Strange that the problem came only now, with Debian Squeeze. Probably
because of a change in the return status of glibc, if I understand well
your point.
The solution is to rewrite this code to the order that it should have been
written in the first place
Thanks for your patch.
Committed to upstream:
http://inn.eyrie.org/trac/changeset/9470/branches
--
Julien ÉLIE
« – C'est joli cette avenue le long de la mer… Ça s'appelle
comment ?
– La promenade des Bretons. » (Astérix)
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org