mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
[svn-r5212] Purpose:
Code improvement Description: Changed stat to HDstat macro for portability. Platforms tested: eirene.
This commit is contained in:
parent
1f913b1eab
commit
f42dc21708
@ -414,7 +414,7 @@ pio_create_filename(iotype iot, const char *base_name, char *fullname, size_t si
|
||||
* handled below. */
|
||||
h5_stat_t buf;
|
||||
|
||||
if (stat(fullname, &buf) < 0)
|
||||
if (HDstat(fullname, &buf) < 0)
|
||||
/* The directory doesn't exist just yet */
|
||||
if (mkdir(fullname, (mode_t)0755) < 0 && errno != EEXIST) {
|
||||
/* We couldn't make the "/tmp/${USER,LOGIN}" subdirectory.
|
||||
|
Loading…
x
Reference in New Issue
Block a user