… | |
… | |
857 | print "everything else: @$nondirs\n"; |
857 | print "everything else: @$nondirs\n"; |
858 | }; |
858 | }; |
859 | |
859 | |
860 | Implementation notes. |
860 | Implementation notes. |
861 | |
861 | |
862 | The "aio_readdir" cannot be avoided, but "stat()"'ing every entry |
862 | The "aio_readdir" cannot be avoided, but stat()'ing every entry can. |
863 | can. |
|
|
864 | |
863 | |
865 | If readdir returns file type information, then this is used directly |
864 | If readdir returns file type information, then this is used directly |
866 | to find directories. |
865 | to find directories. |
867 | |
866 | |
868 | Otherwise, after reading the directory, the modification time, size |
867 | Otherwise, after reading the directory, the modification time, size |