ruby-changes:23986
From: akr <ko1@a...>
Date: Tue, 12 Jun 2012 06:42:23 +0900 (JST)
Subject: [ruby-changes:23986] akr:r36036 (trunk): * process.c (rb_exec_fillarg): detect '#' as a meta character.
akr 2012-06-12 06:40:50 +0900 (Tue, 12 Jun 2012) New Revision: 36036 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36036 Log: * process.c (rb_exec_fillarg): detect '#' as a meta character. Modified files: trunk/ChangeLog trunk/process.c Index: ChangeLog =================================================================== --- ChangeLog (revision 36035) +++ ChangeLog (revision 36036) @@ -1,3 +1,7 @@ +Tue Jun 12 06:40:23 2012 Tanaka Akira <akr@f...> + + * process.c (rb_exec_fillarg): detect '#' as a meta character. + Mon Jun 11 22:15:44 2012 Tanaka Akira <akr@f...> * include/ruby/intern.h (rb_proc_exec_n): deprecated. Index: process.c =================================================================== --- process.c (revision 36035) +++ process.c (revision 36036) @@ -1874,7 +1874,7 @@ for (p = RSTRING_PTR(prog); *p; p++) { if (!has_nonspace && *p != ' ' && *p != '\t') has_nonspace = 1; - if (!has_meta && strchr("*?{}[]<>()~&|\\$;'`\"\n", *p)) + if (!has_meta && strchr("*?{}[]<>()~&|\\$;'`\"\n#", *p)) has_meta = 1; if (has_nonspace && has_meta) break; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/