When I run durep it just spits a message like this again and again, ad infinitum. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246. It seems to be some bug on the perl code, but perl is not really my field of action so I can't really comment on it. The attached patch seems to work, though. Reproducible: Always Steps to Reproduce: 1.emerge durep 2.run durep /etc (or whatever small dir) 3.it should spit that error
Created attachment 252971 [details] Patch to fix the issue Patch to fix the issue
Created attachment 252973 [details] diff for durep-0.9-r2.ebuild
Created attachment 287475 [details] a unified diff with patch appended
+*durep-0.9-r3 (03 Mar 2012) + + 03 Mar 2012; Pacho Ramos <pacho@gentoo.org> +durep-0.9-r3.ebuild, + +files/durep-0.9-dirhandle.patch: + Fix dirhandle errors, bug #343913 by Jesús Guerrero and Ian Delaney. +