perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Win32 fails filter\out_bbs_filebucket
Date Fri, 13 Aug 2004 17:24:48 GMT
sorry, wrong slash:

Index: t/filter/TestFilter/out_bbs_filebucket.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/filter/TestFilter/out_bbs_filebucket.pm,v
retrieving revision 1.1
diff -u -r1.1 out_bbs_filebucket.pm
--- t/filter/TestFilter/out_bbs_filebucket.pm   13 Aug 2004 01:51:14 
-0000     1.1
+++ t/filter/TestFilter/out_bbs_filebucket.pm   13 Aug 2004 17:24:19 -0000
@@ -58,6 +58,9 @@

      $r->content_type('text/plain');
      my $file = $r->args;
+    warn "file: $file\n";
+
+    $file =~ s|\\|/|g; # sendfile wants a unix style separator?

      $r->sendfile($file);



-- 
__________________________________________________________________
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


Mime
View raw message