need to further optimize this code, there are dozens of perhaps unnecessary
stat calls, and meaningless #ifndef OS2 protections around apr_lstat()'s.
OS2 has lstat (It's simply stat()) so we should pull the os-specific cruft.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89449
13f79535-47bb-0310-9956-
ffa450edef68
* which we'll be slapping default_type on later).
*/
- sub_req = ap_sub_req_lookup_file(dirent.name, r, NULL);
+ sub_req = ap_sub_req_lookup_dirent(&dirent, r, NULL);
/* If it has a handler, we'll pretend it's a CGI script,
* since that's a good indication of the sort of thing it