diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-25 23:38:36 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-25 23:38:36 +0900 |
| commit | 52155b1860765c63a9a335f0467870ae4cc7a4d0 (patch) | |
| tree | 93e6782324f5fc2de2a3dd8c4da3bf45082f3f7e /src/SocketCore.cc | |
| parent | 8865001f0112840d0f4cf370e55df26ff036cca3 (diff) | |
No retry for close() with EINTR. Also reverted changes in d5ffa253.
Diffstat (limited to 'src/SocketCore.cc')
| -rw-r--r-- | src/SocketCore.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketCore.cc b/src/SocketCore.cc index 793dc1bd..59aa2f58 100644 --- a/src/SocketCore.cc +++ b/src/SocketCore.cc @@ -89,7 +89,7 @@ namespace aria2 { #ifdef __MINGW32__ # define CLOSE(X) ::closesocket(X) #else -# define CLOSE(X) while(close(X) == -1 && errno == EINTR) +# define CLOSE(X) close(X) #endif // __MINGW32__ namespace { |
