Project

General

Profile

Bug #11898

backport r53346-r53349

Added by usa (Usaku NAKAMURA) over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-dev:49460]

Description

バックポート用チケットです。

spawn等のオプショナル引数でファイルパスを指定するものに関して、エンコーディングの扱いが抜けていた点についての修正です。
(たぶん現行サポート対象ではWindows以外では問題は起きていませんでした。)

Associated revisions

Revision 9835b48a
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 53346,53347,53348,53349: [Backport #11898]

* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
  reported by naruse via twitter.

* process.c (rb_execarg_addopt): need to convert to ospath.

* process.c (rb_execarg_parent_start1): need to convert the encoding to
  ospath's one.

* process.c (rb_execarg_addopt): need to convert the encoding to
  ospath's one.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 53508
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 53346,53347,53348,53349: [Backport #11898]

* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
  reported by naruse via twitter.

* process.c (rb_execarg_addopt): need to convert to ospath.

* process.c (rb_execarg_parent_start1): need to convert the encoding to
  ospath's one.

* process.c (rb_execarg_addopt): need to convert the encoding to
  ospath's one.

Revision 10dac769
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 53391: [Backport #11898]

skip if locale is not UTF-8

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@53579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 53579
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 53391: [Backport #11898]

skip if locale is not UTF-8

Revision 78400580
Added by usa (Usaku NAKAMURA) about 3 years ago

merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]

* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
  reported by naruse via twitter.

* process.c (rb_execarg_addopt): need to convert to ospath.

* process.c (rb_execarg_parent_start1): need to convert the encoding to
      ospath's one.

* process.c (rb_execarg_addopt): need to convert the encoding to
      ospath's one.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@53929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 53929
Added by usa (Usaku NAKAMURA) about 3 years ago

merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]

* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
  reported by naruse via twitter.

* process.c (rb_execarg_addopt): need to convert to ospath.

* process.c (rb_execarg_parent_start1): need to convert the encoding to
      ospath's one.

* process.c (rb_execarg_addopt): need to convert the encoding to
      ospath's one.

Revision 055c3336
Added by nagachika (Tomoyuki Chikanaga) about 3 years ago

merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]

* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
  reported by naruse via twitter.

* process.c (rb_execarg_addopt): need to convert to ospath.

* process.c (rb_execarg_parent_start1): need to convert the encoding to
  ospath's one.

* process.c (rb_execarg_addopt): need to convert the encoding to
  ospath's one.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 54043
Added by nagachika (Tomoyuki Chikanaga) about 3 years ago

merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]

* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
  reported by naruse via twitter.

* process.c (rb_execarg_addopt): need to convert to ospath.

* process.c (rb_execarg_parent_start1): need to convert the encoding to
  ospath's one.

* process.c (rb_execarg_addopt): need to convert the encoding to
  ospath's one.

Revision 919bb8e5
Added by naruse (Yui NARUSE) about 3 years ago

merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]

* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
  reported by naruse via twitter.

* process.c (rb_execarg_addopt): need to convert to ospath.

* process.c (rb_execarg_parent_start1): need to convert the encoding to
  ospath's one.

* process.c (rb_execarg_addopt): need to convert the encoding to
  ospath's one.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 54354
Added by naruse (Yui NARUSE) about 3 years ago

merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]

* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
  reported by naruse via twitter.

* process.c (rb_execarg_addopt): need to convert to ospath.

* process.c (rb_execarg_parent_start1): need to convert the encoding to
  ospath's one.

* process.c (rb_execarg_addopt): need to convert the encoding to
  ospath's one.

History

Updated by naruse (Yui NARUSE) over 3 years ago

  • Backport changed from 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED to 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED, 2.3: DONE

ruby_2_3 r53508 merged revision(s) 53346,53347,53348,53349,53391.

Updated by usa (Usaku NAKAMURA) about 3 years ago

  • Backport changed from 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED, 2.3: DONE to 2.0.0: WONTFIX, 2.1: DONE, 2.2: REQUIRED, 2.3: DONE

ruby_2_1 r53929 merged revision(s) 53346,53347,53348,53349,53391,53928.

Updated by nagachika (Tomoyuki Chikanaga) about 3 years ago

  • Backport changed from 2.0.0: WONTFIX, 2.1: DONE, 2.2: REQUIRED, 2.3: DONE to 2.0.0: WONTFIX, 2.1: DONE, 2.2: DONE, 2.3: DONE

r53346, r53347, r53348, r53349, r53391 and r53928 were backported into ruby_2_2 branch at r54043.

Also available in: Atom PDF