diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2002-04-19 21:54:35 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2002-04-19 21:54:35 (GMT) |
commit | f42dc21708e2846d2ad34f4066351de4f78fa8a4 (patch) | |
tree | 4cdc445e937756556934117eeccd9d2de1927d75 /perform | |
parent | 1f913b1eab51e049ada907598395180fc4b5c61c (diff) | |
download | hdf5-f42dc21708e2846d2ad34f4066351de4f78fa8a4.zip hdf5-f42dc21708e2846d2ad34f4066351de4f78fa8a4.tar.gz hdf5-f42dc21708e2846d2ad34f4066351de4f78fa8a4.tar.bz2 |
[svn-r5212] Purpose:
Code improvement
Description:
Changed stat to HDstat macro for portability.
Platforms tested:
eirene.
Diffstat (limited to 'perform')
-rw-r--r-- | perform/pio_engine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c index 5a796e7..e75dee1 100644 --- a/perform/pio_engine.c +++ b/perform/pio_engine.c @@ -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. |