Skip to content

Commit 750db27

Browse files
author
matz
committed
* dir.c (push_braces): do not push_braces() unless rbrace is found.
(ruby-bugs-ja:PR#469) * eval.c (rb_f_require): clear ruby_errinfo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent f17a1aa commit 750db27

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Tue May 20 00:45:40 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* dir.c (push_braces): do not push_braces() unless rbrace is found.
4+
(ruby-bugs-ja:PR#469)
5+
16
Thu May 15 19:30:44 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
27

38
* eval.c (rb_block_given_p): false if ruby_block is null.
@@ -24,6 +29,10 @@ Sun Mar 23 19:55:32 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
2429

2530
* gc.c (rb_gc_call_finalizer_at_exit): use free() if dfree is -1.
2631

32+
Thu Mar 20 10:11:23 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
33+
34+
* eval.c (rb_f_require): clear ruby_errinfo.
35+
2736
Wed Mar 19 23:05:30 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
2837

2938
* lib/tracer.rb (trace_func): save and recover Thread.critical state.
@@ -40,6 +49,7 @@ Fri Mar 7 00:30:33 2003 WATANABE Hirofumi <eban@ruby-lang.org>
4049

4150
* ext/Win32API/extconf.rb: no need to add gcc options.
4251

52+
>>>>>>> 1.285.2.597
4353
Fri Feb 28 22:53:55 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
4454

4555
* win32/win32.c (flock): maps error code.
@@ -13953,3 +13963,6 @@ Wed Aug 13 17:51:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp>
1395313963

1395413964
* version 1.1 alpha0 released.
1395513965

13966+
Local variables:
13967+
add-log-time-format: current-time-string
13968+
end:

dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ push_braces(ary, s)
783783
p++;
784784
}
785785

786-
if (lbrace) {
786+
if (lbrace && rbrace) {
787787
int len = strlen(s);
788788
if (len >= MAXPATHLEN)
789789
buf = xmalloc(len + 1);

eval.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5504,6 +5504,7 @@ rb_f_require(obj, fname)
55045504
SCOPE_SET(old_vmode);
55055505
}
55065506
if (state) JUMP_TAG(state);
5507+
ruby_errinfo = Qnil;
55075508

55085509
return Qtrue;
55095510

ext/tk/lib/tk.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ def inspect
12271227
def ==(other)
12281228
case other
12291229
when TkVariable
1230-
self.equal(self)
1230+
self.equal(other)
12311231
when String
12321232
self.to_s == other
12331233
when Integer

sample/test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#! /usr/bin/env ruby
22

3+
$KCODE = "none"
34
$testnum=0
45
$ntest=0
56
$failed = 0

0 commit comments

Comments
 (0)