ap_make_dirstr — make a copy of a path with a trailing slash, if needed
char *ap_make_dirstr(pool *p, const char *path, int n)
Makes a copy of path
guaranteed to end with a
slash. It will truncate the path at the n
th slash.
Returns a pointer to the copy, which was allocated in the pool
p
.