| 61 | */ |
| 62 | |
| 63 | size_t dirname_part(char *to, const char *name, size_t *to_res_length) |
| 64 | { |
| 65 | size_t length; |
| 66 | DBUG_ENTER("dirname_part"); |
| 67 | DBUG_PRINT("enter",("'%s'",name)); |
| 68 | |
| 69 | length=dirname_length(name); |
| 70 | *to_res_length= (size_t) (convert_dirname(to, name, name+length) - to); |
| 71 | DBUG_RETURN(length); |
| 72 | } /* dirname */ |
| 73 | |
| 74 | |
| 75 | /* |
no test coverage detected