diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-03 23:21:02 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-03 23:21:02 +0000 |
| commit | 7f8c57e64419cde9fb227ac28fa718811ef782c5 (patch) | |
| tree | 732f3eef20ddf9d8ff8f3c3599c9f3bf6a36bc84 | |
| parent | 6c7306ccde05450aec58908078c4325f3cae5023 (diff) | |
| download | ruby-7f8c57e64419cde9fb227ac28fa718811ef782c5.tar.gz ruby-7f8c57e64419cde9fb227ac28fa718811ef782c5.tar.xz ruby-7f8c57e64419cde9fb227ac28fa718811ef782c5.zip | |
* dir.c (GetDIR): fixed a variable name.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | dir.c | 2 |
2 files changed, 5 insertions, 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. @@ -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) |
