summaryrefslogtreecommitdiffstats
path: root/tools/h5jam/h5jamgentest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5jam/h5jamgentest.c')
-rw-r--r--tools/h5jam/h5jamgentest.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/h5jam/h5jamgentest.c b/tools/h5jam/h5jamgentest.c
index e3bf10f..7f6342f 100644
--- a/tools/h5jam/h5jamgentest.c
+++ b/tools/h5jam/h5jamgentest.c
@@ -383,7 +383,7 @@ char *bp;
H5Fclose(fid);
- fd = open(FILE8,O_RDWR);
+ fd = HDopen(FILE8,O_RDWR, 0);
if (fd < 0) {
/* panic */
}
@@ -394,7 +394,7 @@ char *bp;
*bp++ = pattern[i%10];
}
- write(fd,buf,512);
+ HDwrite(fd,buf,512);
close(fd);
}
@@ -527,7 +527,7 @@ char *bp;
H5Fclose(fid);
- fd = open(FILE9,O_RDWR);
+ fd = HDopen(FILE9,O_RDWR, 0);
if (fd < 0) {
/* panic */
}
@@ -538,7 +538,7 @@ char *bp;
*bp++ = pattern[i%10];
}
- write(fd,buf,1024);
+ HDwrite(fd,buf,1024);
close(fd);
}
@@ -565,7 +565,7 @@ char *bp;
}
- write(fd,buf,size);
+ HDwrite(fd,buf,size);
close(fd);
}
@@ -593,7 +593,7 @@ char *bp;
*bp++ = (char) i & 0xff;
}
- write(fd,buf,size);
+ HDwrite(fd,buf,size);
close(fd);
}