Debian Bug report logs -
#574370
manpages-dev: select(2) sets cannot become undefined
Reported by: Marc Lehmann <debian-reportbug@plan9.de>
Date: Wed, 17 Mar 2010 17:54:01 UTC
Severity: normal
Tags: fixed-upstream, upstream
Found in version manpages/3.22-1
Fixed in version manpages/3.57-1
Done: Simon Paillard <spaillard@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#574370; Package manpages-dev.
(Wed, 17 Mar 2010 17:54:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Marc Lehmann <debian-reportbug@plan9.de>:
New Bug report received and forwarded. Copy sent to Martin Schulze <joey@debian.org>.
(Wed, 17 Mar 2010 17:54:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Added tag(s) upstream.
Request was from Joey Schulze <joey@infodrom.org>
to control@bugs.debian.org.
(Mon, 05 Jul 2010 06:30:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Martin Schulze <joey@debian.org>:
Bug#574370; Package manpages-dev.
(Fri, 24 Jan 2014 09:30:14 GMT) (full text, mbox, link).
Acknowledgement sent
to mtk.manpages@gmail.com:
Extra info received and forwarded to list. Copy sent to Martin Schulze <joey@debian.org>.
(Fri, 24 Jan 2014 09:30:14 GMT) (full text, mbox, link).
Message #12 received at 574370@bugs.debian.org (full text, mbox, reply):
tags 574370 fixed-upstream
thanks
I've made the text:
On error, -1 is returned,
and errno is set to indicate the error; the file descriptor
sets are unmodified, and timeout becomes undefined.
Thanks for the report.
Added tag(s) fixed-upstream.
Request was from "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
to control@bugs.debian.org.
(Fri, 24 Jan 2014 09:30:18 GMT) (full text, mbox, link).
Reply sent
to Simon Paillard <spaillard@debian.org>:
You have taken responsibility.
(Mon, 03 Feb 2014 21:51:10 GMT) (full text, mbox, link).
Notification sent
to Marc Lehmann <debian-reportbug@plan9.de>:
Bug acknowledged by developer.
(Mon, 03 Feb 2014 21:51:10 GMT) (full text, mbox, link).
Message #19 received at 574370-close@bugs.debian.org (full text, mbox, reply):
Source: manpages
Source-Version: 3.57-1
We believe that the bug you reported is fixed in the latest version of
manpages, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 574370@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon Paillard <spaillard@debian.org> (supplier of updated manpages package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 03 Feb 2014 22:04:08 +0100
Source: manpages
Binary: manpages manpages-dev
Architecture: source all
Version: 3.57-1
Distribution: unstable
Urgency: medium
Maintainer: Martin Schulze <joey@debian.org>
Changed-By: Simon Paillard <spaillard@debian.org>
Description:
manpages - Manual pages about using a GNU/Linux system
manpages-dev - Manual pages about using GNU/Linux for development
Closes: 574370 638186 735590
Changes:
manpages (3.57-1) unstable; urgency=medium
.
* Imported Upstream version 3.57
. select.2: RETURN VALUE: Fix discussion of treatment of file descriptor
(Closes: #574370)
. environ.7: Correct reference to locale(7) (not locale(5))
(Closes: #638186)
. filesystems.5: Add reference to proc(5) for more details on
/proc/filesystems (Closes: #735590)
* debian/control: Bump Standards-Version to 3.9.5
Checksums-Sha1:
62c6a1a03c99e9c007bb07b71ab3907e6e2bfeb4 1916 manpages_3.57-1.dsc
e83f68f77dcc14d2c060fc6ef66c5f65ca78fb65 1195700 manpages_3.57.orig.tar.xz
df463ab150efedf86a70ea8bb6ec8e3ae14cbc99 42408 manpages_3.57-1.debian.tar.xz
d88ce40a0f0cff3819491c62f3d5ee3608e71d52 879012 manpages_3.57-1_all.deb
4f49aec85b9e41b6b0ec645c34e16de8ffdbefaa 1805336 manpages-dev_3.57-1_all.deb
Checksums-Sha256:
81af875912bad5b88447713b49292f944a1602de1c4041be675f81d54a64e141 1916 manpages_3.57-1.dsc
910ba04a792fe5769957d91701066e57ce6e9ff7f2ea6479ff3f2cde147706e5 1195700 manpages_3.57.orig.tar.xz
f051ab71af2368723d49a9a83472f8ea6ced2bef9d59968ea38976d57ac70dc2 42408 manpages_3.57-1.debian.tar.xz
973afd65d6336a9df34500d1158cb615e9e19da2c67d31afe59bb889223d1a39 879012 manpages_3.57-1_all.deb
21f0a4232487fc1f2666e00d153c1c2fcae8bb828e19b620cb55d7e10141f35f 1805336 manpages-dev_3.57-1_all.deb
Files:
523fdb7d855a8b4b092364d952bf0be2 1916 doc important manpages_3.57-1.dsc
18bba89745fecdfddad3caaef7cde5f4 1195700 doc important manpages_3.57.orig.tar.xz
0f1cbd6c95bda4a6111da2018af7f8cf 42408 doc important manpages_3.57-1.debian.tar.xz
661f9a97ab19190dd238470185bd1a4a 879012 doc important manpages_3.57-1_all.deb
d0d08b16e602ac722556ff37cea94991 1805336 doc optional manpages-dev_3.57-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJS8AevAAoJEN/3OMLRbPuiGJYP/3WGMg59nXhDcd4OTtT0utOb
ppwhPHC5qcuW2gJl7rrmMvHbJlxE9qCG5jHpqETjz7m1cBRnMitOifTJGY0limEC
NYxz+x6G0w1cCsvBeSDnmeB2Cr2X3Q0uiI6dcFseaz4oRk43D3J79GsyaeoBera+
jjpXiRetagD0bhnHmf0W3ADSzH50+4EIuTgpO9M7NN2SWo1MyvImPgbYadNYAU/d
jU3GlEJWuJroJZpAg+15PUNEzBhlf+5sSdlPo/m0arVrd0w/NRSpaxgtawF8fSl0
nqpEUE3STpvONuClyYeSu8z+F+CTVyVk9UWpfAAkRSXU+ltQvSNje1ZqVQGv3AUJ
or4/9IztgXoX+jKlLyQr/dAYxyxEgkmXBQql9K5irE5spXCdtissDY4msRT+FBys
qxFxVCKVL5vPYCNpPP/moIX5Mn2jsLtqpjuZffdkGwyQhctGinqQIJ0Cx/OCdCBc
cs9mK09zRlCTCU2tri3AJ9FHnzbFcNRfAiT/5V3BEZBFp/D2Q+GD7ovFN+0GSCxt
mH+rSlb4qJHoRuHivlDIEtMamvkT+i1FoByjqRWcCHntl02hDGQ/HfJChsYJ6Zrn
9JzCz0I863mnliXhG0yepLbmxd6q972P64QhCl8osiVv55qmBiyCWD1DtnbcaPDg
s+ZaH0YRdVNyKqIWnvEf
=BzYG
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 10 Mar 2014 07:34:53 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Mar 9 09:55:41 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.