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

/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgstr.c1027 char *retPath; local
1052 retPath = strdup(a_path);
1053 assert(retPath != (char *)NULL);
1054 if (retPath == (char *)NULL) {
1060 for (p = strrchr(retPath, '/'); (p > retPath) && (*p == '/'); p--) {
1066 if (*retPath == '\0') {
1067 free(retPath);
1073 return (retPath);

Completed in 57 milliseconds