mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* dir.c (push_braces): do not push_braces() unless rbrace is found.
(ruby-bugs-ja:PR#469) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7e35911e10
commit
9ac15a773d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue May 20 00:45:40 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* dir.c (push_braces): do not push_braces() unless rbrace is found.
|
||||
(ruby-bugs-ja:PR#469)
|
||||
|
||||
Tue May 20 00:09:41 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ext/pty/pty.c (pty_finalize_syswait): join (using Thread#value)
|
||||
|
|
2
dir.c
2
dir.c
|
@ -929,7 +929,7 @@ push_braces(ary, s, flags)
|
|||
p++;
|
||||
}
|
||||
|
||||
if (lbrace) {
|
||||
if (lbrace && rbrace) {
|
||||
int len = strlen(s);
|
||||
buf = xmalloc(len + 1);
|
||||
memcpy(buf, s, lbrace-s);
|
||||
|
|
Loading…
Reference in a new issue