Searched refs:previous_slash (Results 1 – 3 of 3) sorted by relevance
235 char *previous_slash; in cleanup_dotdot_path() local264 previous_slash = strrchr(path, '/'); in cleanup_dotdot_path()265 if (previous_slash == NULL) { in cleanup_dotdot_path()276 *(previous_slash+1) = '\0'; in cleanup_dotdot_path()
1119 char *previous_slash; in cleanup_dotdot_path() local1148 previous_slash = strrchr(path, '/'); in cleanup_dotdot_path()1149 if (previous_slash == NULL) { in cleanup_dotdot_path()1160 *(previous_slash+1) = '\0'; in cleanup_dotdot_path()
1005 char *previous_slash; in cleanup_dotdot_path() local1034 previous_slash = strrchr(path, '/'); in cleanup_dotdot_path()1035 if (previous_slash == NULL) { in cleanup_dotdot_path()1046 *(previous_slash+1) = '\0'; in cleanup_dotdot_path()