< prev index next >

src/java.base/unix/native/libjava/TimeZone_md.c

Print this page

        

*** 145,155 **** --- 145,158 ---- if (entry == NULL) { (void) closedir(dirp); return NULL; } + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wdeprecated-declarations" while (readdir64_r(dirp, entry, &dp) == 0 && dp != NULL) { + #pragma GCC diagnostic pop /* * Skip '.' and '..' (and possibly other .* files) */ if (dp->d_name[0] == '.') { continue;
< prev index next >