* missing/close.c: undef the macro "close" to prevent infinite
recursion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
49cb5a78a1
commit
3e7c24fe6e
@ -1,3 +1,8 @@
|
|||||||
|
Sat Aug 7 18:37:39 2010 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* missing/close.c: undef the macro "close" to prevent infinite
|
||||||
|
recursion.
|
||||||
|
|
||||||
Sat Aug 7 18:20:41 2010 Tanaka Akira <akr@fsij.org>
|
Sat Aug 7 18:20:41 2010 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/pathname/pathname.c (path_lchown): Pathname#lchown translated
|
* ext/pathname/pathname.c (path_lchown): Pathname#lchown translated
|
||||||
|
@ -57,6 +57,7 @@ ruby_close(int s)
|
|||||||
{
|
{
|
||||||
int err = errno;
|
int err = errno;
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
#undef close
|
||||||
s = close(s);
|
s = close(s);
|
||||||
if (errno == ECONNRESET) {
|
if (errno == ECONNRESET) {
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user