From: Mattias Amnefelt Date: Tue, 10 Dec 2002 19:11:39 +0000 (+0000) Subject: STABLE12-use-afs-strchr-instead-of-strchr-20021210 X-Git-Tag: openafs-stable-1_2_8~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e84e7a9669e62c56f7417ce51c8fea8daee7d053;p=packages%2Fo%2Fopenafs.git STABLE12-use-afs-strchr-instead-of-strchr-20021210 make dux happy (cherry picked from commit 889da5053cb1b89ce25caec1bf9fa5a7dbb7830b) --- diff --git a/src/afs/UKERNEL/afs_usrops.c b/src/afs/UKERNEL/afs_usrops.c index e5e1bc201..11a55aa7b 100644 --- a/src/afs/UKERNEL/afs_usrops.c +++ b/src/afs/UKERNEL/afs_usrops.c @@ -2219,7 +2219,7 @@ int uafs_LookupName( /* * terminate the current component and skip over slashes */ - nextPathP = strchr(pathP, '/'); + nextPathP = afs_strchr(pathP, '/'); if (nextPathP != NULL) { while (*nextPathP == '/') { *(nextPathP++) = '\0'; diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c index 0c393fb32..67faf8bf0 100644 --- a/src/afs/VNOPS/afs_vnop_lookup.c +++ b/src/afs/VNOPS/afs_vnop_lookup.c @@ -1414,7 +1414,7 @@ afs_lookup(adp, aname, avcp, acred) ConvertSToRLock(&tvc->lock); code = 0; } - if (!code && !strchr(tvc->linkData, ':')) + if (!code && !afs_strchr(tvc->linkData, ':')) force_eval = 1; ReleaseReadLock(&tvc->lock); }