--- IO-AIO/AIO.pm 2005/12/26 20:17:13 1.46 +++ IO-AIO/AIO.pm 2006/03/01 23:56:54 1.49 @@ -69,7 +69,7 @@ use Fcntl (); BEGIN { - $VERSION = '1.71'; + $VERSION = '1.73'; @EXPORT = qw(aio_sendfile aio_read aio_write aio_open aio_close aio_stat aio_lstat aio_unlink aio_rmdir aio_readdir aio_scandir aio_symlink @@ -284,7 +284,7 @@ non-initial dot) and likely non-directories (everything else). Then every entry + C will be C'ed, likely directories first. This is often faster because filesystems might detect the type of the entry without -reading the inode data (e.g. ext2s filetype feature). If that succeeds, +reading the inode data (e.g. ext2fs filetype feature). If that succeeds, it assumes that the entry is a directory or a symlink to directory (which will be checked seperately). @@ -300,7 +300,7 @@ # stat once aio_stat $path, sub { - $cb->() if $_[0]; + return $cb->() if $_[0]; my $hash1 = join ":", (stat _)[0,1,3,7,9]; # read the directory entries