[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[patch] ruby bindings eol fix for windows

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-04-03 20:03:40 CEST

Hi kou,

I finally had time to look into the if windows? branch you needed to
get the eol tests passing. The problem is in the
filename_to_temp_file not opening the file for binary reading. The
attached patch fixes that, updates the eol tests to not use the
windows? branch, and makes sure the assert_translated_keyword uses
binary to work with files also.

* subversion/bindings/swig/ruby/test/test_wc.rb
  (assert_translated_eol) removed if windows? test
  (assert_translated_keyword) open files for binary access
* subversion/bindings/swig/ruby/svn/util.rb
  (filename_to_temp_file) open file for binary access

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Apr 3 20:03:56 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.