Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 36654 invoked from network); 13 Aug 2004 17:36:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Aug 2004 17:36:17 -0000 Received: (qmail 51349 invoked by uid 500); 13 Aug 2004 17:36:15 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 51325 invoked by uid 500); 13 Aug 2004 17:36:15 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 51312 invoked by uid 99); 13 Aug 2004 17:36:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [195.154.174.52] (HELO mail.logilune.com) (195.154.174.52) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 13 Aug 2004 10:36:12 -0700 Received: from [127.0.0.1] (localhost.logilune.com [127.0.0.1]) by mail.logilune.com (Postfix) with ESMTP id 0B78C1E1995; Fri, 13 Aug 2004 19:36:08 +0200 (CEST) Message-ID: <411CFC07.8010105@stason.org> Date: Fri, 13 Aug 2004 10:36:07 -0700 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040708 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Stas Bekman Cc: Steve Hay , dev@perl.apache.org Subject: Re: Win32 fails filter\out_bbs_filebucket References: <411CF281.9020402@uk.radan.com> <411CF45C.8050803@stason.org> <411CF66D.5090708@uk.radan.com> <411CF8F8.2020400@stason.org> <411CF960.5030902@stason.org> In-Reply-To: <411CF960.5030902@stason.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N And this will show the filename when it fails to open it. Index: xs/Apache/RequestIO/Apache__RequestIO.h =================================================================== RCS file: /home/cvs/modperl-2.0/xs/Apache/RequestIO/Apache__RequestIO.h,v retrieving revision 1.54 diff -u -r1.54 Apache__RequestIO.h --- xs/Apache/RequestIO/Apache__RequestIO.h 12 Jul 2004 08:17:09 -0000 1.54 +++ xs/Apache/RequestIO/Apache__RequestIO.h 13 Aug 2004 17:33:21 -0000 @@ -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; -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org