[前][次][番号順一覧][スレッド一覧]

ruby-changes:13848

From: nobu <ko1@a...>
Date: Wed, 4 Nov 2009 21:05:18 +0900 (JST)
Subject: [ruby-changes:13848] Ruby:r25647 (mvm): * dir.c (GetDIR): fixed a variable name.

nobu	2009-11-04 21:05:02 +0900 (Wed, 04 Nov 2009)

  New Revision: 25647

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25647

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

  Modified files:
    branches/mvm/ChangeLog
    branches/mvm/dir.c

Index: mvm/ChangeLog
===================================================================
--- mvm/ChangeLog	(revision 25646)
+++ mvm/ChangeLog	(revision 25647)
@@ -1,3 +1,7 @@
+Wed Nov  4 21:04:58 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* dir.c (GetDIR): fixed a variable name.
+
 Thu Dec 25 01:52:34 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* thread.c (thread_start_func_2): sets native thread key.
Index: mvm/dir.c
===================================================================
--- mvm/dir.c	(revision 25646)
+++ mvm/dir.c	(revision 25647)
@@ -423,7 +423,7 @@
 }
 
 #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 @@
 /* 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))

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]