diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-02-21 19:55:24 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1999-02-21 19:55:24 (GMT) |
commit | ac8c4177aa219c3452b569555ff72229f3783aa3 (patch) | |
tree | 93245037a150133c0be9061afd4aff56ef974780 | |
parent | 2052d2edaef4800b383de0a51cffe1819e05e211 (diff) | |
download | hdf5-ac8c4177aa219c3452b569555ff72229f3783aa3.zip hdf5-ac8c4177aa219c3452b569555ff72229f3783aa3.tar.gz hdf5-ac8c4177aa219c3452b569555ff72229f3783aa3.tar.bz2 |
[svn-r1089] changed the call to open to HDopen since NT needs that 0_BINARY flag
in it to open binary files.
-rw-r--r-- | test/external.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/external.c b/test/external.c index 48aea9c..edc05c9 100644 --- a/test/external.c +++ b/test/external.c @@ -582,7 +582,7 @@ test_2 (hid_t fapl) part[j] = (int)(i*25+j); } sprintf (filename, "extern_%lua.raw", (unsigned long)i+1); - fd = open (filename, O_RDWR|O_CREAT|O_TRUNC, 0666); + fd = HDopen (filename, O_RDWR|O_CREAT|O_TRUNC, 0666); assert (fd>=0); n = lseek (fd, (off_t)(i*10), SEEK_SET); assert (n>=0 && (size_t)n==i*10); |