perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject svn commit: r169055 - /perl/modperl/trunk/src/modules/perl/modperl_util.c
Date Sat, 07 May 2005 06:55:21 GMT
Author: randyk
Date: Fri May  6 23:55:20 2005
New Revision: 169055

URL: http://svn.apache.org/viewcvs?rev=169055&view=rev
Log:
remove check on size so that the SLURP_SUCCESS() calls
later have an opportunity to set the error, if encountered.

Modified:
    perl/modperl/trunk/src/modules/perl/modperl_util.c

Modified: perl/modperl/trunk/src/modules/perl/modperl_util.c
URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/src/modules/perl/modperl_util.c?rev=169055&r1=169054&r2=169055&view=diff
==============================================================================
--- perl/modperl/trunk/src/modules/perl/modperl_util.c (original)
+++ perl/modperl/trunk/src/modules/perl/modperl_util.c Fri May  6 23:55:20 2005
@@ -616,11 +616,6 @@
     size = r->finfo.size;
     sv = newSV(size);
 
-    if (!size) {
-        sv_setpvn(sv, "", 0);
-        return newRV_noinc(sv);
-    }
-
     /* XXX: could have checked whether r->finfo.filehand is valid and
      * save the apr_file_open call, but apache gives us no API to
      * check whether filehand is valid. we can't test whether it's



Mime
View raw message