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

Windows Ruby changes

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Sun, 26 May 2013 09:23:19 +0300

Paul,

wrt the r1480344 group in STATUS: I think the 'rescue' block, here:

           ENV["PATH"].split(";").each do |path|
+
+ # Change the cwd to path, but ignore non-existent paths.
+ begin
+ Dir.chdir(path)
+ rescue Errno::ENOENT
+ end

should do the equivalent of 'continue;' in C. (Maybe it does so already?
I expect it doesn't, but Ruby isn't my mother tongue.)

With that 'continue' added, I'd approve the backport (by casting +0,
which suffices in this case).

Cheers,

Daniel
Received on 2013-05-26 08:24:09 CEST

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.