perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0 Changes
Date Sun, 15 Aug 2004 00:20:34 GMT
stas        2004/08/14 17:20:34

  Modified:    xs/Apache/RequestIO Apache__RequestIO.h
               .        Changes
  Log:
  Apache::RequestIO::sendfile() now indicates which file it has failed
  to open on failure.
  
  Revision  Changes    Path
  1.55      +4 -1      modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h
  
  Index: Apache__RequestIO.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -u -r1.54 -r1.55
  --- Apache__RequestIO.h	12 Jul 2004 08:17:09 -0000	1.54
  +++ Apache__RequestIO.h	15 Aug 2004 00:20:34 -0000	1.55
  @@ -325,7 +325,10 @@
   
       if (rc != APR_SUCCESS) {
           if (GIMME_V == G_VOID) {
  -            modperl_croak(aTHX_ rc, "Apache::RequestIO::sendfile");
  +            modperl_croak(aTHX_ rc,
  +                          apr_psprintf(r->pool,
  +                                       "Apache::RequestIO::sendfile('%s')",
  +                                       filename));
           }
           else {
               return rc;
  
  
  
  1.446     +3 -0      modperl-2.0/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Changes,v
  retrieving revision 1.445
  retrieving revision 1.446
  diff -u -u -r1.445 -r1.446
  --- Changes	14 Aug 2004 05:10:12 -0000	1.445
  +++ Changes	15 Aug 2004 00:20:34 -0000	1.446
  @@ -12,6 +12,9 @@
   
   =item 1.99_15-dev
   
  +Apache::RequestIO::sendfile() now indicates which file it has failed
  +to open on failure. [Stas]
  +
   fix Apache::SubRequest's methods: lookup_file, lookup_uri,
   lookup_method_uri to default the last argument to
   r->proto_output_filters (no request filters for the subrequest) and
  
  
  

Mime
View raw message