Searched refs:retPath (Results 1 – 1 of 1) sorted by relevance
1027 char *retPath; in pkgstrConvertPathToDirname() local1052 retPath = strdup(a_path); in pkgstrConvertPathToDirname()1053 assert(retPath != (char *)NULL); in pkgstrConvertPathToDirname()1054 if (retPath == (char *)NULL) { in pkgstrConvertPathToDirname()1060 for (p = strrchr(retPath, '/'); (p > retPath) && (*p == '/'); p--) { in pkgstrConvertPathToDirname()1066 if (*retPath == '\0') { in pkgstrConvertPathToDirname()1067 free(retPath); in pkgstrConvertPathToDirname()1073 return (retPath); in pkgstrConvertPathToDirname()