ruby-changes:73492
From: Nobuyoshi <ko1@a...>
Date: Fri, 9 Sep 2022 11:36:49 +0900 (JST)
Subject: [ruby-changes:73492] 59eadf3d25 (master): Ignore EACCES on Windows
https://git.ruby-lang.org/ruby.git/commit/?id=59eadf3d25 From 59eadf3d25b0f53e7570f98f1801737af642f328 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 9 Sep 2022 11:35:47 +0900 Subject: Ignore EACCES on Windows --- tool/ln_sr.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/ln_sr.rb b/tool/ln_sr.rb index 6ab412edde..81fd803355 100755 --- a/tool/ln_sr.rb +++ b/tool/ln_sr.rb @@ -116,7 +116,7 @@ end https://github.com/ruby/ruby/blob/trunk/tool/ln_sr.rb#L116 if File.respond_to?(:symlink) begin ln_sr(src, dest, verbose: true, target_directory: target_directory, force: force, noop: noop) - rescue NotImplementedError, Errno::EPERM + rescue NotImplementedError, Errno::EPERM, Errno::EACCES else exit end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/