| 18 | /* acl_safe_basename - skip directory prefix */ |
| 19 | |
| 20 | const char *acl_safe_basename(const char *path) |
| 21 | { |
| 22 | const char *result; |
| 23 | |
| 24 | if ((result = strrchr(path, '/')) == NULL |
| 25 | && (result = strrchr(path, '\\')) == NULL) |
| 26 | { |
| 27 | result = (const char *) path; |
| 28 | } else |
| 29 | result += 1; |
| 30 | return result; |
| 31 | } |
| 32 | |
| 33 |
no outgoing calls
no test coverage detected
searching dependent graphs…