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