1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* dir.c (rb_push_glob): local variable 'maxnest' was

uninitialized.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2002-03-25 08:21:01 +00:00
parent 0f95eb4659
commit 6dfd299dec
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Mar 25 17:18:48 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp>
* dir.c (rb_push_glob): local variable 'maxnest' was
uninitialized.
Mon Mar 25 13:24:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not be

2
dir.c
View file

@ -909,7 +909,7 @@ rb_push_glob(str, flags)
char *p, *pend;
char *buf;
char *t;
int nest, maxnest;
int nest, maxnest = 0;
int noescape = flags & FNM_NOESCAPE;
VALUE ary;