Your message dated Tue, 06 Dec 2022 11:05:15 +0000 with message-id <[email protected]> and subject line Bug#1016369: fixed in perl 5.36.0-5 has caused the Debian Bug report #1016369, regarding IO::Handle ->error does not work, always saying "fine" to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1016369: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016369 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: perl Version: 5.34.0-4 Severity: grave To reproduce perl -MIO::Handle -e 'open X, "<", "." or die $!; $_ = <X>; printf "%s %s %s\n", X->error(), $!;' perl -MIO::Handle -e 'open X, ">", "/dev/full" or die $!; print X 1; flush X; printf "%s %s %s\n", X->error(), $!; close X' Expected output -1 Bad file descriptor -1 No space left on device Actual output 0 Bad file descriptor 0 No space left on device This is quite alarming. I think it makes it in fact impossible to read files fully reliably in Perl. "use autodie" does not seem to help. And scripts might reasonably have expected that they could defer error handling by testing error() rather than each call (as one can in C). I think this used to work, but, evidently, only in the distant past, since my jessie chroot doesn't get this right either. Justification for the severity: Can cause data loss: if a file is opened but unreadable for any reason, the program will process the part (if any) that will is readable and then Ian. -- Ian Jackson <[email protected]> These opinions are my own. Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.
--- End Message ---
--- Begin Message ---Source: perl Source-Version: 5.36.0-5 Done: Niko Tyni <[email protected]> We believe that the bug you reported is fixed in the latest version of perl, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Niko Tyni <[email protected]> (supplier of updated perl 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 06 Dec 2022 11:43:06 +0200 Source: perl Architecture: source Version: 5.36.0-5 Distribution: unstable Urgency: medium Maintainer: Niko Tyni <[email protected]> Changed-By: Niko Tyni <[email protected]> Closes: 1015579 1016369 Changes: perl (5.36.0-5) unstable; urgency=medium . * Backported upstream changes: + only clear the stream error state in readline() for glob() (Closes: #1016369) + skip failing tests in libperl.t when building with LTO. (Closes: #1015579) * Refresh cross build support files for all architectures. Checksums-Sha1: 7eaba81bef840b7b4371d8c98709d8546a57c5e4 2886 perl_5.36.0-5.dsc 855fa01f69333f383ce6fb742cfd3a4baa6c6c18 169260 perl_5.36.0-5.debian.tar.xz 2036f59ba71c017e05949e0cafd5fbaf3fd60a64 6441 perl_5.36.0-5_source.buildinfo Checksums-Sha256: a8b2b02243d37a8476a291d82bbe012de6a270a1ca404f94e063852ab4ce8f9b 2886 perl_5.36.0-5.dsc e34e832c4f4f6d6e8298bbfff067036a4efb2805aa30ecacfa1f0423990243b1 169260 perl_5.36.0-5.debian.tar.xz acb7f893e616fe30a9e0d4dc189d2929df56ef4df61414d5e507e9531ae71efa 6441 perl_5.36.0-5_source.buildinfo Files: 6cb6454219fa2f907af6c694f25d37cd 2886 perl standard perl_5.36.0-5.dsc 5b9aeece8699fc6bae99e0b9e0d7a254 169260 perl standard perl_5.36.0-5.debian.tar.xz ebfc1705600b54967bdb6d1fb6f111db 6441 perl standard perl_5.36.0-5_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEEdqKOQsmBHZHoj7peLsD/s7cwGx8FAmOPDuARHG50eW5pQGRl Ymlhbi5vcmcACgkQLsD/s7cwGx8wfhAAvKgkf1W/f4McuM5H2NC4fTa9yklhc7uP spPuhEZrdHNpkqgxxfoAUpimTgRyQd8nFx5wtQ5AtbW6k0RhmACVCwKAEjspEPOy sFqPQ0B/l8VlS0NfJ7cbB0b2NUTGMK9rg8WEFnDsFhSDGIE9gBAzWD0auad3ticE 7JpxWYJXktQqnJaLNpBO7XF1OhRBgSnOC/kbwUc/19SS41P4kANz6ub+JKazPtVY Yx/W2rUY6CB6EyeWmDVeRI6ENhHWP3Fa84UDix4Q9m/vfotZTThwBeThepFTukfP 5JXmfomTrfkt5d3RNaiqyrNgZntfJ1pQcGLvIH3Y3BHEFmftl382PS7X39wXkCty URDlqrqZSMeHlpChMfVssL3m1lHaqg8H0HDu+mMr4ThKJYeI8scYqUsCYw9+g2Yi 4420/UEWANxwcI2rcuEK8zZ1o4TkTtgkUvo40DUqoKhCVIRUX1UcBAwQ488YXYqI rXM5ML09wAt6UEABBJmu36pABK12GuRGewKf5/gMQ5FFx2nPhnhmP6TlW0GkL9eZ IDYf6IQAuZl8EdbY7fofwg7hZaZMATNIX+ax0/Cl21JIHjOOatF7ALsoUQ6JtNAM ulV5KwyjIWJV9xRugCgBAMurBURFWRce41xfH06zAW4PTh3PuxdYNQwshckDlnPm IJgtenDWF50= =Le6A -----END PGP SIGNATURE-----
--- End Message ---

