Date | Commit message (Collapse) |
|
If we started a connection, make sure it's stopped and the file
descriptor closed. Relying on GC to close file descriptors is
unreliable with some GC implementations.
|
|
Now that pools can be arbitrarily large, using an O(n) check
for object validity can be expensive.
|
|
Instead of hard coding the thresholds, allow
users to change accessors
|
|
Ruby 1.9.3 considers them harmful
|
|
We won't trust Ruby 1.9 String weirdness since data storage
is locale-agnostic
|
|
We don't want to return the used object back to the caller.
Noticed during 1.9.1 compatibility testing.
|
|
Last I checked, the trailing "return" is not optimized away by
MRI 1.8. Additionally, remove some useless temporary variables.
|
|
From p4 revision #3336
git-svn-id: http://seattlerb.rubyforge.org/svn/mogilefs-client/dev@376 d2e05cf2-00e0-46e5-a3de-bbee4d6b9404
|