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

* dir.c (GetDIR): fixed a variable name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-11-03 23:21:02 +00:00
parent fec2ed5f4d
commit 22ec8c664a
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Nov 4 08:21:00 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* dir.c (GetDIR): fixed a variable name.
Wed Nov 4 08:19:31 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* cont.c (rb_fiber_start): fixed unconditional test.

2
dir.c
View file

@ -456,7 +456,7 @@ dir_check(VALUE dir)
}
#define GetDIR(obj, dirp) do {\
dir_check(dir);\
dir_check(obj); \
TypedData_Get_Struct(obj, struct dir_data, &dir_data_type, dirp); \
if (dirp->dir == NULL) dir_closed();\
} while (0)