httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_negotiation.c
Date Wed, 27 Jun 2001 21:59:49 GMT
wrowe       01/06/27 14:59:49

  Modified:    modules/mappers mod_negotiation.c
  Log:
    Deploy ap_sub_req_lookup_dirent() for the main loop.  Note we _really_
    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.
  
  Revision  Changes    Path
  1.59      +1 -1      httpd-2.0/modules/mappers/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_negotiation.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- mod_negotiation.c	2001/06/18 05:36:33	1.58
  +++ mod_negotiation.c	2001/06/27 21:59:48	1.59
  @@ -951,7 +951,7 @@
            * 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
  
  
  

Mime
View raw message