Returns 1 if f1's filename has all of f2's filename as a prefix. This does * not match if f2's basename is not an exact match of a path element in f1. * E.g. /path/foo is not a prefix of /path/foobar/baz, but /path/foobar is. */
| 3372 | * not match if f2's basename is not an exact match of a path element in f1. |
| 3373 | * E.g. /path/foo is not a prefix of /path/foobar/baz, but /path/foobar is. */ |
| 3374 | int f_name_has_prefix(const struct file_struct *f1, const struct file_struct *f2) |
| 3375 | { |
| 3376 | found_prefix = 0; |
| 3377 | f_name_cmp(f1, f2); |
| 3378 | return found_prefix; |
| 3379 | } |
| 3380 | |
| 3381 | char *f_name_buf(void) |
| 3382 | { |
no test coverage detected