]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-use-afs-strchr-instead-of-strchr-20021210
authorMattias Amnefelt <mattiasa@e.kth.se>
Tue, 10 Dec 2002 19:11:39 +0000 (19:11 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 10 Dec 2002 19:11:39 +0000 (19:11 +0000)
make dux happy

(cherry picked from commit 889da5053cb1b89ce25caec1bf9fa5a7dbb7830b)

src/afs/UKERNEL/afs_usrops.c
src/afs/VNOPS/afs_vnop_lookup.c

index e5e1bc2013399cea14c9652aa516563e288ce590..11a55aa7b55d3c3c718b025e331a4ad00a8a916a 100644 (file)
@@ -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';
index 0c393fb32145c4e4c1275320d827e9cf1d3663a2..67faf8bf085a8bc7d2c9fcfc9d60a2ed3d355ea3 100644 (file)
@@ -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);
        }