From 8a71bdcfde83cc9069a28dc2c77d44c391ced355 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 22 Jun 2001 16:54:07 -0500 Subject: [svn-r4069] Purpose: Code cleanup... Description: Took out Windows ifdef and switched back to just using HDmkdir --- test/h5test.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/h5test.c b/test/h5test.c index 5317e02..0571493 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -402,14 +402,11 @@ h5_fixname(const char *base_name, hid_t fapl, char *fullname, size_t size) if (HDstat(fullname, &buf) < 0) /* The directory doesn't exist just yet */ -#ifdef WIN32 - if (_mkdir(fullname)<0){ -#else - if (HDmkdir(fullname, (mode_t)0755) < 0 && errno != EEXIST){ -#endif + if (HDmkdir(fullname, (mode_t)0755) < 0 && errno != EEXIST) { /* We couldn't make the "/tmp/${USER,LOGIN}" subdirectory. * Default to PREFIX's original prefix value. */ - HDstrcpy(fullname, prefix);} + HDstrcpy(fullname, prefix); + } HDstrcat(fullname, "/"); HDstrcat(fullname, base_name); -- cgit v0.12