mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8202353: os::readdir should use readdir instead of readdir_r
8202835: jfr/event/os/TestSystemProcess.java fails on missing events Os::readdir uses POSIX readdir, drop buffer arg, fix JFR uses. Reviewed-by: coleenp, tschatzl, bsrbnd
This commit is contained in:
parent
f4723253b6
commit
9a9c824ece
22 changed files with 54 additions and 238 deletions
|
@ -580,8 +580,7 @@ class os: AllStatic {
|
|||
|
||||
// Reading directories.
|
||||
static DIR* opendir(const char* dirname);
|
||||
static int readdir_buf_size(const char *path);
|
||||
static struct dirent* readdir(DIR* dirp, dirent* dbuf);
|
||||
static struct dirent* readdir(DIR* dirp);
|
||||
static int closedir(DIR* dirp);
|
||||
|
||||
// Dynamic library extension
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue