diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2000-10-12 22:52:28 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2000-10-12 22:52:28 (GMT) |
commit | bddc59c0ead7bc5e6cf5cc832a8281580c9e1208 (patch) | |
tree | cecd7df83613f210a6505346e336f640ed5d013b /tools/h4toh5main.c | |
parent | 8abdfea352aaebde90c67e4c0657ef866caaab79 (diff) | |
download | hdf5-bddc59c0ead7bc5e6cf5cc832a8281580c9e1208.zip hdf5-bddc59c0ead7bc5e6cf5cc832a8281580c9e1208.tar.gz hdf5-bddc59c0ead7bc5e6cf5cc832a8281580c9e1208.tar.bz2 |
[svn-r2675]
Purpose:
fix "zero memory" routine and change dimensional scale name size to MAX_DIM_NAME
Description:
change bzero into h4toh5_ZeroMemory
change dimensional scale name size(orginally MAX_NC_NAME) to MAX_DIM_NAME at converter.
Solution:
see description
Platforms tested:
arabica,baldric,gondolin(DEC),opus(HP 11),eirene(Linux),paz(IRIX6.5)
Diffstat (limited to 'tools/h4toh5main.c')
-rw-r--r-- | tools/h4toh5main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/h4toh5main.c b/tools/h4toh5main.c index ca8d7fd..0947bb8 100644 --- a/tools/h4toh5main.c +++ b/tools/h4toh5main.c @@ -705,7 +705,7 @@ int h4toh5lonevgs(int32 file_id,int32 sd_id,hid_t h5group,hid_t h5_dimg,hid_t h5 } /*obtain group name and class name.*/ - bzero(vgroup_class,VGNAMELENMAX); + h4toh5_ZeroMemory(vgroup_class,VGNAMELENMAX); istat = Vgetclass(vgroup_id,vgroup_class); if(istat == FAIL) { printf("error in getting vgroup class.\n"); @@ -714,7 +714,7 @@ int h4toh5lonevgs(int32 file_id,int32 sd_id,hid_t h5group,hid_t h5_dimg,hid_t h5 return FAIL; } - bzero(vgroup_name,VGNAMELENMAX); + h4toh5_ZeroMemory(vgroup_name,VGNAMELENMAX); istat = Vgetname(vgroup_id,vgroup_name); if(istat == FAIL ) { printf("error in getting vgroup name. \n"); @@ -863,7 +863,7 @@ int h4toh5vgrings(int32 file_id,int32 sd_id,hid_t h5group,hid_t h5_dimg,hid_t h5 return FAIL; } - bzero(vgroup_name,VGNAMELENMAX); + h4toh5_ZeroMemory(vgroup_name,VGNAMELENMAX); istat = Vgetname(vgroup_id,vgroup_name); if(istat ==FAIL) { printf("error in obtaining vgroup names. \n"); @@ -871,7 +871,7 @@ int h4toh5vgrings(int32 file_id,int32 sd_id,hid_t h5group,hid_t h5_dimg,hid_t h5 return FAIL; } - bzero(vgroup_class,VGNAMELENMAX); + h4toh5_ZeroMemory(vgroup_class,VGNAMELENMAX); if(Vgetclass(vgroup_id,vgroup_class) == FAIL) { printf("error in obtaining vgroup class name. \n"); Vdetach(vgroup_id); @@ -1061,7 +1061,7 @@ int h4toh5lonevds(int32 file_id, hid_t h5group){ return FAIL; } - bzero(vdata_class,VGNAMELENMAX); + h4toh5_ZeroMemory(vdata_class,VGNAMELENMAX); istat = VSgetclass(vdata_id,vdata_class); if(istat == FAIL) { printf("error in getting vdata class name.\n"); @@ -1070,7 +1070,7 @@ int h4toh5lonevds(int32 file_id, hid_t h5group){ return FAIL; } - bzero(vdata_name,VGNAMELENMAX); + h4toh5_ZeroMemory(vdata_name,VGNAMELENMAX); istat = VSQueryname(vdata_id,vdata_name); if(istat == FAIL) { printf("error in getting vdata name. \n"); |