Revert check for windows to see if thats what is causing failure up on jenkins

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1095233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-04-19 22:55:42 +00:00
parent e39618919d
commit 0925f86a55

View File

@ -17,10 +17,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
require 'rbconfig'
#require 'rbconfig'
module IRB
WINDOZE = Config::CONFIG['host_os'] =~ /mswin|mingw/
# WINDOZE = Config::CONFIG['host_os'] =~ /mswin|mingw/
# Map the '/dev/null' according to the runing platform
# Under Windows platform the 'dev/null' is not fully compliant with unix,
# and the 'NUL' object need to be use instead.
@ -38,7 +38,7 @@ module IRB
# no error (though we're not blanking STDERR)
begin
devnull = "/dev/null"
devnull = "NUL" if WINDOZE
#devnull = "NUL" if WINDOZE
f = File.open(devnull, "w")
$stdout = f
super