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:
parent
fec2ed5f4d
commit
22ec8c664a
2 changed files with 5 additions and 1 deletions
|
@ -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
2
dir.c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue