[#69084] [Ruby trunk - Feature #11124] [Open] [PATCH] lib/*: use monotonic clock for timeouts — normalperson@...
Issue #11124 has been reported by Eric Wong.
5 messages
2015/05/06
[#69138] [Ruby trunk - Feature #11136] [PATCH] webrick: avoid fcntl module — nobu@...
Issue #11136 has been updated by Nobuyoshi Nakada.
3 messages
2015/05/12
[#69160] [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start — nobu@...
Issue #11146 has been updated by Nobuyoshi Nakada.
4 messages
2015/05/13
[#69175] Re: [Ruby trunk - Feature #11146] [PATCH] variable.c: initialize generic_iv_tbl at start
— Eric Wong <normalperson@...>
2015/05/13
nobu@ruby-lang.org wrote:
[ruby-core:69167] [Ruby trunk - Bug #11021] FileUtils.mv displays the wrong destination when Errno::EEXIST is raised
From:
nagachika00@...
Date:
2015-05-13 15:33:13 UTC
List:
ruby-core #69167
Issue #11021 has been updated by Tomoyuki Chikanaga. Backported into `ruby_2_1` branch at r50485. ---------------------------------------- Bug #11021: FileUtils.mv displays the wrong destination when Errno::EEXIST is raised https://bugs.ruby-lang.org/issues/11021#change-52425 * Author: João Britto * Status: Closed * Priority: Normal * Assignee: * ruby -v: ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14] * Backport: 2.0.0: REQUIRED, 2.1: DONE, 2.2: REQUIRED ---------------------------------------- Suppose we have the following directory structure: ~~~ $ cd /tmp $ mkdir -p ruby/a $ mkdir ruby/a/b $ mkdir ruby/b $ tree ruby ruby ├── a │ └── b └── b 3 directories, 0 files ~~~ When we try to move `b` inside `a`, there is a name clash and `Errno::EEXIST` is raised. ~~~ $ irb >> require 'fileutils' => true >> FileUtils.mv 'ruby/b', 'ruby/a' Errno::EEXIST: File exists - ruby/a ~~~ However, the error message says `ruby/a exists`, which does not seem to be the proper destination. The error message should instead read `ruby/a/b exists`. I am including a patch to address this issue. ---Files-------------------------------- ruby-fileutils-mv-fix.diff (912 Bytes) -- https://bugs.ruby-lang.org/