Parent Directory | Revision Log | Patch
revision 1.1 by nmav, Wed Sep 25 19:55:53 2002 UTC | revision 1.2 by nmav, Thu Sep 26 00:05:43 2002 UTC | |
---|---|---|
# | Line 118 int total_size, i; | Line 118 int total_size, i; |
118 | ||
119 | *data_fd = open(pathname_with_index, O_RDONLY); | *data_fd = open(pathname_with_index, O_RDONLY); |
120 | ||
121 | if (*data_fd == -1) continue; | /* If we couldn't access the file, then return the |
122 | * filename as usual, and a data_fd (-1), with the | |
123 | * proper errno. | |
124 | */ | |
125 | if (*data_fd == -1 && errno != EACCES) continue; | |
126 | ||
127 | /* data_fd > 0 -- found index! */ | /* data_fd > 0 -- found index! */ |
128 | return directory_index_table[i]->file; | return directory_index_table[i]->file; |
|
webmaster@linux.gr | ViewVC Help |
Powered by ViewVC 1.1.26 |