diff options
-rw-r--r-- | version.h | 2 | ||||
-rw-r--r-- | win32/win32.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2013-03-03" -#define RUBY_PATCHLEVEL 6 +#define RUBY_PATCHLEVEL 7 #define RUBY_RELEASE_YEAR 2013 #define RUBY_RELEASE_MONTH 3 diff --git a/win32/win32.c b/win32/win32.c index 984e03b0dd..c4678b1593 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -6582,7 +6582,8 @@ rb_w32_inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len) /* License: Ruby's */ char -rb_w32_fd_is_text(int fd) { +rb_w32_fd_is_text(int fd) +{ return _osfile(fd) & FTEXT; } |