File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -685,7 +685,7 @@ pub fn list_dir(p: &Path) -> ~[~str] {
685
685
log ( debug, "os::list_dir -- BEFORE OPENDIR" ) ;
686
686
let dir_ptr = opendir ( input_ptr) ;
687
687
if ( dir_ptr as uint != 0 ) {
688
- log ( debug, "os::list_dir -- opendir() SUCCESS" ) ;
688
+ log ( debug, "os::list_dir -- opendir() SUCCESS" ) ;
689
689
let mut entry_ptr = readdir ( dir_ptr) ;
690
690
while ( entry_ptr as uint != 0 ) {
691
691
strings. push (
@@ -697,9 +697,11 @@ pub fn list_dir(p: &Path) -> ~[~str] {
697
697
closedir ( dir_ptr) ;
698
698
}
699
699
else {
700
- log ( debug, "os::list_dir -- opendir() FAILURE" ) ;
700
+ log ( debug, "os::list_dir -- opendir() FAILURE" ) ;
701
701
}
702
- log ( debug, fmt ! ( "os::list_dir -- AFTER ITERATION -- # of results: %?" , strings. len( ) ) ) ;
702
+ log ( debug,
703
+ fmt ! ( "os::list_dir -- AFTER -- #: %?" ,
704
+ strings. len( ) ) ) ;
703
705
strings
704
706
}
705
707
#[ cfg( windows) ]
You can’t perform that action at this time.
0 commit comments