summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-07-20 16:41:11 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-07-20 16:41:11 (GMT)
commit3a1c4de35969f10b9862111695e3148adc577445 (patch)
treecab93141083c3efbed042684f3e45fe9c9a100bb /tools
parent4a6f93f895a8e60dc4f78e321db98a2fa5f1bdaf (diff)
downloadhdf5-3a1c4de35969f10b9862111695e3148adc577445.zip
hdf5-3a1c4de35969f10b9862111695e3148adc577445.tar.gz
hdf5-3a1c4de35969f10b9862111695e3148adc577445.tar.bz2
[svn-r22589] Change strto functions to the HD prefix versions.
Tested: local
Diffstat (limited to 'tools')
-rw-r--r--tools/h5import/h5import.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/h5import/h5import.c b/tools/h5import/h5import.c
index d6dcf1d..34870fb 100644
--- a/tools/h5import/h5import.c
+++ b/tools/h5import/h5import.c
@@ -1040,7 +1040,7 @@ static int processStrHDFData(FILE *strm, struct Input *in, hid_t file_id)
line = 0;
j = 0;
- while (fgets(str,sizeof(str),strm)) {
+ while (HDfgets(str,sizeof(str),strm)) {
str1 = str;
str2 = NULL;
str3 = NULL;
@@ -1419,7 +1419,7 @@ static int processConfigurationFile(char *infile, struct Input *in)
#endif
if (HDstrcmp("H5T_VARIABLE;", temp)) {
char *more = temp;
- ival = strtoimax(more, &more, 10);
+ ival = HDstrtol(more, &more, 10);
if (getInputSize(in, ival) == -1) {
(void) HDfprintf(stderr, err5b, infile);
HDfclose(strm);
@@ -1529,7 +1529,7 @@ static int processConfigurationFile(char *infile, struct Input *in)
#endif
while (get_next_dim) {
char *more = temp;
- temp_dims[icount] = strtoull(more, &more, 10);
+ temp_dims[icount] = HDstrtoull(more, &more, 10);
if (fscanf(strm, "%s", temp) != 1) { /* Dimension or end paren */
(void) HDfprintf(stderr, err6b, infile);
HDfclose(strm);
@@ -1623,7 +1623,7 @@ static int processConfigurationFile(char *infile, struct Input *in)
}
else {
char *more = temp;
- in->maxsizeOfDimension[i] = strtoull(more, &more, 10);
+ in->maxsizeOfDimension[i] = HDstrtoull(more, &more, 10);
}
if (fscanf(strm, "%s", temp) != 1) { /* max dim or end paren */
(void) HDfprintf(stderr, err16c, infile);
@@ -1718,7 +1718,7 @@ static int processConfigurationFile(char *infile, struct Input *in)
#endif
while (get_next_dim) {
char *more = temp;
- in->sizeOfChunk[icount] = strtoull(more, &more, 10);
+ in->sizeOfChunk[icount] = HDstrtoull(more, &more, 10);
if (fscanf(strm, "%s", temp) != 1) { /* Dimension or end paren */
(void) HDfprintf(stderr, err6b, infile);
HDfclose(strm);