At the moment that extension is an outboard that lives in swiftiply.
On 30 Jan 2009, at 09:01, Kuroishi Mitsuo / ?? ?? wrote:
> I need to deal with a large file (about more than 2G [byte]) with
> eventmachine.
> I wrote a simple program with using "stream_file_data" as send a
> large file
> from client to server. But It didn''t work.
>
> Applying below a quick fix patch, I think it works well.
>
> Could you go over this patch?
>
> Regards,
>
> --
> Kuroishi Mitsuo
>
> diff -rup swiftiply-0.6.1.1.orig/ext/fastfilereader/extconf.rb
> swiftiply-0.6.1.1 /ext/fastfilereader/extconf.rb
> --- swiftiply-0.6.1.1.orig/ext/fastfilereader/extconf.rb
> 2009-01-30 10:09:28.000000000 +0900
> +++ swiftiply-0.6.1.1/ext/fastfilereader/extconf.rb 2009-01-30
> 10:40:04.000000000 +0900
> @@ -94,6 +94,7 @@ when /linux/
> exit
> end
>
> + flags << ''-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64''
> flags << ''-DOS_UNIX''
> flags << ''-DBUILD_FOR_RUBY''
>
> _______________________________________________
> Eventmachine-talk mailing list
> Eventmachine-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/eventmachine-talk