subpath
char *subpath, *component;
subpath = malloc((unsigned)(sublen+1)); /* +1 for NUL */
if (subpath == NULL) {
(void) strcpy(subpath, path);
if (subpath[0] != '\0' && subpath[n-1] != '/')
subpath[n++] = '/';
component = &subpath[n];
sublen -= component - subpath;
rc = lf_xftw(subpath, fn, depth-1, statfn);
free(subpath);
free(subpath);
free(subpath);
static int subpath(char *, char *);
char *subpath;
subpath = malloc(n + strlen(direntp->d_name) + 2);
if (subpath == 0) {
(void) strcpy(subpath, path);
if (subpath[0] != '\0' && subpath[n-1] != '/')
subpath[n++] = '/';
(void) strlcpy(&subpath[n], direntp->d_name, MAXNAMELEN);
free(subpath);
rc = fwalk(subpath, fn, depth-1, vp);
free(subpath);
free(subpath);
free(subpath);
if (subpath(globalpath, mnt->mnt_mountp) != 0)
if (subpath(globalpath, mnt->mnt_mountp) != 0)
char *subpath;
subpath = NULL;
subpath = strstr(buf, path);
if (subpath != NULL) {
if (strcmp(subpath, tmpPath) == 0) {