Home
last modified time | relevance | path

Searched refs:retPath (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/lib/libpkg/common/
H A Dpkgstr.c1027 char *retPath; in pkgstrConvertPathToDirname() local
1052 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()