log(L_DEBUG, "stat(\"%s\")", p);
static int get_path_info(struct request *r){	char *p = r->path_translated;	char *pa = r->path_args;	struct stat *s = &r->finfo;	char *end = p + strlen(p);	char *cp;	int rv;	*pa = '\0';	cp = end;	while (cp > p && cp[-1] == '/')		--cp;	while (cp > p) {		*cp = '\0';		rv = stat(p, s);		if (cp != end)			*cp = '/';		if (rv != -1) {			strcpy(pa, cp);			if (S_ISDIR(s->st_mode))				*cp++ = '/';			*cp = '\0';			return 0;		}		while (--cp > p && *cp != '/')			;	}	return -1;}