mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8207744: Clean up inconsistent use of opendir/closedir versus opendir64/closedir64
Reviewed-by: bsrbnd, mbaesken, bchristi, simonis
This commit is contained in:
parent
091aff1178
commit
67b2c6fc66
7 changed files with 50 additions and 38 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -100,6 +100,14 @@
|
|||
#include <dirent.h>
|
||||
#endif /* Unix */
|
||||
|
||||
#if defined(_AIX)
|
||||
#define DIR DIR64
|
||||
#define dirent dirent64
|
||||
#define opendir opendir64
|
||||
#define readdir readdir64
|
||||
#define closedir closedir64
|
||||
#endif
|
||||
|
||||
static int
|
||||
exists(const char* filename)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue