mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r1089] changed the call to open to HDopen since NT needs that 0_BINARY flag
in it to open binary files.
This commit is contained in:
parent
2052d2edae
commit
ac8c4177aa
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user