diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-04 12:05:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-04 12:05:02 +0000 |
commit | 1bee792c8564924eca34a454549cf6f27d0faf84 (patch) | |
tree | ca3c1683cf65068be21b6cefadbe5d6be8c03350 | |
parent | 8c9d9627d8b1f896af23fca90f7781d6a12c6140 (diff) | |
download | ruby-1bee792c8564924eca34a454549cf6f27d0faf84.tar.gz |
* dir.c (GetDIR): fixed a variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | dir.c | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Wed Nov 4 21:04:58 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * dir.c (GetDIR): fixed a variable name. + Thu Dec 25 01:52:34 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * thread.c (thread_start_func_2): sets native thread key. @@ -423,7 +423,7 @@ dir_check(VALUE dir) } #define GetDIR(obj, dirp) do {\ - dir_check(dir);\ + dir_check(obj);\ Data_Get_Struct(obj, struct dir_data, dirp);\ if (dirp->dir == NULL) dir_closed();\ } while (0) @@ -985,7 +985,6 @@ sys_warning_1(const char* mesg) /* System call with warning */ static int do_stat(const char *path, struct stat *pst, int flags) - { int ret = stat(path, pst); if (ret < 0 && !to_be_ignored(errno)) |