Commit 56067b97 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

resolve_symlink() is only used if REPLACE_PATH_INFO_METHOD is

defined


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90846 13f79535-47bb-0310-9956-ffa450edef68
parent edee9ba1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -279,6 +279,7 @@ static int check_safe_file(request_rec *r)
    return HTTP_FORBIDDEN;
}

#ifdef REPLACE_PATH_INFO_METHOD
/*
 * resolve_symlink must _always_ be called on an APR_LNK file type!
 * It will resolve the actual target file type, modification date, etc, 
@@ -326,6 +327,7 @@ static int resolve_symlink(char *d, apr_finfo_t *lfi, int opts, apr_pool_t *p)
    memcpy(lfi, &fi, sizeof(fi));
    return OK;
}
#endif /* REPLACE_PATH_INFO_METHOD */

#ifndef REPLACE_PATH_INFO_METHOD