about summary refs log tree commit homepage
path: root/lib/mogilefs/mogilefs.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-12-22 20:08:56 -0800
committerEric Wong <normalperson@yhbt.net>2008-12-22 20:08:56 -0800
commit8e44957300037c8bfd029fb21b665ceb98e7817a (patch)
tree27f9c9f03cbb360842f4523868ec59de9f2f9624 /lib/mogilefs/mogilefs.rb
parent16cfeeb035c0c0362e8f4fb1707f9006573defc1 (diff)
downloadmogilefs-client-8e44957300037c8bfd029fb21b665ceb98e7817a.tar.gz
"bigfile" is used by the large file support, too.
"big_io" also allows an IO object to be sent to us, as well
(and not a pathname)
Diffstat (limited to 'lib/mogilefs/mogilefs.rb')
-rw-r--r--lib/mogilefs/mogilefs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mogilefs/mogilefs.rb b/lib/mogilefs/mogilefs.rb
index 20756f9..b7e2325 100644
--- a/lib/mogilefs/mogilefs.rb
+++ b/lib/mogilefs/mogilefs.rb
@@ -155,7 +155,7 @@ class MogileFS::MogileFS < MogileFS::Client
         return sysrwloop(file, mfp)
       else
         if File.size(file) > 0x10000 # Bigass file, handle differently
-          mfp.bigfile = file
+          mfp.big_io = file
           return
         else
           return File.open(file) { |fp| sysrwloop(fp, mfp) }