diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-02-14 22:20:32 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-02-14 22:20:32 (GMT) |
commit | 23a80ac554229f2f0163f1a92a02b921bb6c5e29 (patch) | |
tree | cb3558dfe2edb82633f2dd3ad983f753aa519443 /tools/h5repack/h5repack_filters.c | |
parent | 1c625e6ad97a230fb7baec5a024c47e275a9ee4c (diff) | |
download | hdf5-23a80ac554229f2f0163f1a92a02b921bb6c5e29.zip hdf5-23a80ac554229f2f0163f1a92a02b921bb6c5e29.tar.gz hdf5-23a80ac554229f2f0163f1a92a02b921bb6c5e29.tar.bz2 |
[svn-r20103] Purpose:
Change to use HDxxx macros.
Description:
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), tejeda (mac32-LE), linew (solaris-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 '/' */ |