[前][次][番号順一覧][スレッド一覧]

ruby-changes:41275

From: usa <ko1@a...>
Date: Sun, 27 Dec 2015 21:03:53 +0900 (JST)
Subject: [ruby-changes:41275] usa:r53347 (trunk): * process.c (rb_execarg_addopt): need to convert to ospath.

usa	2015-12-27 21:03:45 +0900 (Sun, 27 Dec 2015)

  New Revision: 53347

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53347

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

  Modified files:
    trunk/ChangeLog
    trunk/process.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53346)
+++ ChangeLog	(revision 53347)
@@ -3,6 +3,8 @@ Sun Dec 27 20:54:22 2015  NAKAMURA Usaku https://github.com/ruby/ruby/blob/trunk/ChangeLog#L3
 	* 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.
+
 Sun Dec 27 20:00:31 2015  SHIBATA Hiroshi  <hsbt@r...>
 
 	* enc/x_emoji.h: fix dead-link.
Index: process.c
===================================================================
--- process.c	(revision 53346)
+++ process.c	(revision 53347)
@@ -1713,6 +1713,7 @@ rb_execarg_addopt(VALUE execarg_obj, VAL https://github.com/ruby/ruby/blob/trunk/process.c#L1713
                 rb_raise(rb_eArgError, "chdir option specified twice");
             }
             FilePathValue(val);
+	    val = rb_str_encode_ospath(val);
             eargp->chdir_given = 1;
             eargp->chdir_dir = hide_obj(EXPORT_DUP(val));
         }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]