New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readdir_r is deprecated #15943
Comments
From @khwilliamsonThis is a bug report for perl from khw@khw.(none), glibc 2.24 deprecates readdir_r. And, compiling perl creates annoying Starting with that version, plain readdir is reentrant, but not if two A man page is attached. Flags: Site configuration information for perl 5.26.0: Configured by khw at Mon Apr 24 08:31:45 MDT 2017. Summary of my perl5 (revision 5 version 26 subversion 0) configuration: @INC for perl 5.26.0: Environment for perl 5.26.0: PATH=/usr/lib/ccache:/home/khw/bin:/home/khw/perl5/perlbrew/bin:/home/khw/print/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/games:/usr/local/games:/home/khw/iands/www:/home/khw/cxoffice/bin |
From @khwilliamsonREADDIR_R(3) Linux Programmer's Manual READDIR_R(3) NAME SYNOPSIS int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): readdir_r(): DESCRIPTION The readdir_r() function was invented as a reentrant version of read‐ A pointer to the returned buffer is placed in *result; if the end of It is recommended that applications use readdir(3) instead of read‐ * On systems where NAME_MAX is undefined, calling readdir_r() may be * On some systems, readdir_r() can't read directory entries with very * In the current POSIX.1 specification (POSIX.1-2008), readdir(3) is * It is expected that a future version of POSIX.1 will make read‐ RETURN VALUE ERRORS ENAMETOOLONG ATTRIBUTES ┌────────────┬───────────────┬─────────┐ SEE ALSO COLOPHON 2016-03-01 READDIR_R(3) |
From @tonycozOn Wed, 26 Apr 2017 11:24:08 -0700, public@khwilliamson.com wrote:
This is something we'd need to detect, somehow. POSIX still defines readdir_r() and doesn't require that readdir() be thread-safe (though that may change, see http://austingroupbugs.net/view.php?id=696 ) Tony |
The RT System itself - Status changed from 'new' to 'open' |
From @TuxOn Tue, 23 May 2017 19:11:24 -0700, "Tony Cook via RT"
This has already been addressed in branch arc_readdir_after5260 -- |
From @xsawyerxOn 05/24/2017 09:46 AM, H.Merijn Brand wrote:
This can be merged into blead-next. |
From @khwilliamsonOn Sat, 27 May 2017 10:15:59 -0700, xsawyerx@gmail.com wrote:
This is on our blockers list for 5.28. Did this merge ever happen? |
From @xsawyerxOn 03/20/2018 01:23 AM, Karl Williamson via RT wrote:
I found this: c6709bf. |
From @khwilliamsonI'm closing it then. |
@khwilliamson - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release yesterday of Perl 5.28.0, this and 185 other issues have been Perl 5.28.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#131214 (status was 'resolved')
Searchable as RT131214$
The text was updated successfully, but these errors were encountered: