ruby-changes:16908
From: akr <ko1@a...>
Date: Sat, 7 Aug 2010 18:43:55 +0900 (JST)
Subject: [ruby-changes:16908] Ruby:r28904 (trunk): * missing/close.c: undef the macro "close" to prevent infinite
akr 2010-08-07 18:38:21 +0900 (Sat, 07 Aug 2010) New Revision: 28904 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28904 Log: * missing/close.c: undef the macro "close" to prevent infinite recursion. Modified files: trunk/ChangeLog trunk/missing/close.c Index: ChangeLog =================================================================== --- ChangeLog (revision 28903) +++ ChangeLog (revision 28904) @@ -1,3 +1,8 @@ +Sat Aug 7 18:37:39 2010 Tanaka Akira <akr@f...> + + * missing/close.c: undef the macro "close" to prevent infinite + recursion. + Sat Aug 7 18:20:41 2010 Tanaka Akira <akr@f...> * ext/pathname/pathname.c (path_lchown): Pathname#lchown translated Index: missing/close.c =================================================================== --- missing/close.c (revision 28903) +++ missing/close.c (revision 28904) @@ -57,6 +57,7 @@ { int err = errno; errno = 0; +#undef close s = close(s); if (errno == ECONNRESET) { errno = 0; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/