Searched refs:temp_cwd (Results 1 – 1 of 1) sorted by relevance
204 char temp_cwd[MAXPATHLEN]; variable206 strcpy(temp_cwd, cwd);208 if (strlen(temp_cwd) == 1) {209 if (temp_cwd[0] != '/') {213 strcpy(temp_cwd, "/");216 dirname(temp_cwd);221 len = strlen(temp_cwd);222 if (temp_cwd[len - 1] != '/') {223 temp_cwd[len] = '/';224 temp_cwd[len + 1] = '\0';[all …]