|
From: | noreply |
Subject: | [myexperiment-hackers] [3174] branches/wf4ever/config/initializers/stringio_patch.rb: added more appropriate check for the readpartial patch |
Date: | Mon, 29 Oct 2012 08:32:42 +0000 (UTC) |
added more appropriate check for the readpartial patch
--- branches/wf4ever/config/initializers/stringio_patch.rb 2012-10-29 08:32:08 UTC (rev 3173)
+++ branches/wf4ever/config/initializers/stringio_patch.rb 2012-10-29 08:32:41 UTC (rev 3174)
@@ -3,7 +3,7 @@
# Copyright (c) 2012 University of Manchester and the University of Southampton.
# See license.txt for details.
-if VERSION == "1.8.7"
+if VERSION < "1.9.1"
class StringIO
def readpartial(*args)
result = read(*args)
[Prev in Thread] | Current Thread | [Next in Thread] |