diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-02-14 22:47:19 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-02-14 22:47:19 (GMT) |
commit | 5f9f168845f8f34284702031f08aedfdaf07ab45 (patch) | |
tree | 78398bb859c70bb87f9c3ce295c573c0e1fdfb4a /tools/h5repack/h5repack_filters.c | |
parent | be3b1ea374a1b66459339904fe59ef6da37c9c4c (diff) | |
download | hdf5-5f9f168845f8f34284702031f08aedfdaf07ab45.zip hdf5-5f9f168845f8f34284702031f08aedfdaf07ab45.tar.gz hdf5-5f9f168845f8f34284702031f08aedfdaf07ab45.tar.bz2 |
[svn-r20104] Purpose:
Change to use HDxxx macros.
Description:
Merged from hdf5 trunk r20103.
Originally this started for fixing incorrect pointer usage. But that got
fixed through coverity merge. So this is mainly changing to use HDxxx
macros and clean up some related code.
Tested:
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE)
Diffstat (limited to 'tools/h5repack/h5repack_filters.c')
-rw-r--r-- | tools/h5repack/h5repack_filters.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_filters.c b/tools/h5repack/h5repack_filters.c index c7d8b1e..213ff65 100644 --- a/tools/h5repack/h5repack_filters.c +++ b/tools/h5repack/h5repack_filters.c @@ -44,13 +44,13 @@ int aux_find_obj(const char* name, /* object name from traverse list */ for ( i=0; i<options->op_tbl->nelems; i++) { - if (strcmp(options->op_tbl->objs[i].path,name)==0) + if (HDstrcmp(options->op_tbl->objs[i].path,name)==0) { *obj = options->op_tbl->objs[i]; return i; } - pdest = strstr(name,options->op_tbl->objs[i].path); + pdest = HDstrstr(name,options->op_tbl->objs[i].path); result = (int)(pdest - name); /* found at position 1, meaning without '/' */ |