Searched refs:cpath (Results 1 – 1 of 1) sorted by relevance
74 char *cpath = (char *)malloc(pathLen + 2); in dirCreateHierarchy() local75 if (cpath == NULL) { in dirCreateHierarchy()79 memcpy(cpath, path, pathLen); in dirCreateHierarchy()83 char *c = cpath + pathLen - 1; in dirCreateHierarchy()84 while (c != cpath && *c != '/') { in dirCreateHierarchy()87 if (c == cpath) { in dirCreateHierarchy()92 free(cpath); in dirCreateHierarchy()99 cpath[pathLen] = '/'; in dirCreateHierarchy()100 cpath[pathLen + 1] = '\0'; in dirCreateHierarchy()105 ds = getPathDirStatus(cpath); in dirCreateHierarchy()[all …]