ruby-changes:24149
From: akr <ko1@a...>
Date: Sat, 23 Jun 2012 19:01:58 +0900 (JST)
Subject: [ruby-changes:24149] akr:r36200 (trunk): * process.c (rb_execarg_fixup): fix envopts condition.
akr 2012-06-23 19:01:46 +0900 (Sat, 23 Jun 2012) New Revision: 36200 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36200 Log: * process.c (rb_execarg_fixup): fix envopts condition. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 36199) +++ ChangeLog (revision 36200) @@ -1,3 +1,7 @@ +Sat Jun 23 19:01:18 2012 Tanaka Akira <akr@f...> + + * process.c (rb_execarg_fixup): fix envopts condition. + Sat Jun 23 18:44:13 2012 Tanaka Akira <akr@f...> * process.c (check_exec_redirect1): extracted from Index: process.c =================================================================== --- process.c (revision 36199) +++ process.c (revision 36200) @@ -2147,7 +2147,7 @@ envtbl = rb_convert_type(envtbl, T_HASH, "Hash", "to_hash"); } hide_obj(envtbl); - if (!NIL_P(envopts)) { + if (envopts != Qfalse) { st_table *stenv = RHASH_TBL(envtbl); long i; for (i = 0; i < RARRAY_LEN(envopts); i++) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/