Package: manpages-dev
Version: 3.22-1
Severity: normal
The select(2) manoage says, under RETURN VALUE:
On error, -1 is returned, and errno is set appropriately; the sets and
timeout become undefined, so do not rely on their contents after an
error.
However, this is neither the (current?) behaviour on Debian, nor does it
comply to POSIX (which requires the sets to be unmodified).
Since behaviour matches POSIX, and this would make select(2) non-posix
compliant, I suspect that the manpage is simply wrong.
A POSIX-correct wording would be:
On error, -1 is returned, and errno is set appropriately; the timeout
becomes undefined and the sets stay non-modified.
(In fact, I think glibc copies the timeout on purpose, so the timeout
would also be non-modified).
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages manpages-dev depends on:
hi manpages 3.22-1 Manual pages about using a GNU/Lin
manpages-dev recommends no packages.
Versions of packages manpages-dev suggests:
ii konqueror [man-browser] 4:3.5.9.dfsg.1-6 KDE's advanced file manager, web b
ii man-db [man-browser]2.5.6-5 on-line manual pager
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org