Project

General

Profile

Actions

Bug #8774

closed

rb_file_dirname return wrong encoding string when dir is "."

Added by jiayp@glodon.com (贾 延平) over 8 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.0dev (2013-08-10 trunk 42491) [i386-mingw32]
Backport:
[ruby-core:56544]

Description

When File.dirname()'s value is ".", the value is wrong encoded.


Files

rb_get_dirname.patch (423 Bytes) rb_get_dirname.patch jiayp@glodon.com (贾 延平), 08/11/2013 03:28 PM

Related issues

Related to Ruby master - Bug #8789: File.expand_path(File.dirname(__FILE__)) return wrong encoded result ClosedActions
Actions

Also available in: Atom PDF