Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 252971 Details for
Bug 343913
app-admin/durep - closedir() attempted on invalid dirhandle DIR at /usr/bin/durep line 246.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch to fix the issue
durep-0.9-dirhandle.patch (text/plain), 848 bytes, created by
Jesús Guerrero Botella (RETIRED)
on 2010-11-02 23:07:07 UTC
(
hide
)
Description:
Patch to fix the issue
Filename:
MIME Type:
Creator:
Jesús Guerrero Botella (RETIRED)
Created:
2010-11-02 23:07:07 UTC
Size:
848 bytes
patch
obsolete
>--- durep 2007-09-08 11:44:05.000000000 -0500 >+++ durep.new 2008-12-15 10:04:14.907825184 -0600 >@@ -175,6 +175,7 @@ > my $coalesced_size = 0; > my $node = {}; > my $temp; >+ my $dirhandle; > > $node->{ID} = $next_id++; > if(defined $parent) { >@@ -196,9 +197,9 @@ > > $node->{TYPE} &= $TYPE_COLLAPSED unless $store; > >- opendir(DIR, $dir) or warn "Unable to open dir '$dir': $!\n" and return $node; >+ opendir($dirhandle, $dir) or warn "Unable to open dir '$dir': $!\n" and return $node; > >- foreach(readdir(DIR)) { >+ foreach(readdir($dirhandle)) { > @stats = lstat "$dir/$_" or warn "Unable to lstat '$dir/$_': $!\n" and next; > > $node->{MTIME} = $stats[9] if($_ eq "."); >@@ -247,7 +248,7 @@ > $file_count++; > $node->{FCOUNT}++; > } >- closedir(DIR); >+ closedir($dirhandle); > > if($coalesced_count) { > if($store) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 343913
: 252971 |
252973
|
287475