ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.pm
(Generate patch)

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.42 by root, Mon Dec 26 18:15:23 2005 UTC vs.
Revision 1.43 by root, Mon Dec 26 18:18:32 2005 UTC

319 $ndirs = -1; 319 $ndirs = -1;
320 } else { 320 } else {
321 # if nlink == 2, we are finished 321 # if nlink == 2, we are finished
322 # on non-posix-fs's, we rely on nlink < 2 322 # on non-posix-fs's, we rely on nlink < 2
323 $ndirs = (stat _)[3] - 2 323 $ndirs = (stat _)[3] - 2
324 or $cb->([], $entries); 324 or return $cb->([], $entries);
325 } 325 }
326 326
327 # sort into likely dirs and likely nondirs 327 # sort into likely dirs and likely nondirs
328 # dirs == files without ".", short entries first 328 # dirs == files without ".", short entries first
329 $entries = [map $_->[0], 329 $entries = [map $_->[0],

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines