diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-30 04:44:13 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-30 04:44:13 +0000 |
| commit | c214c628403c886876e659b5968d1254da3b5ebb (patch) | |
| tree | ec9eaf5aea013cef2584570a3f2100b65c91a2bd | |
| parent | 43be6769f176e5a15d7876d7fa426de096b672a9 (diff) | |
merges r31344 from trunk into ruby_1_9_2.
--
* win32/win32.c (kill): accept 0 as pid, fixes #4596
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | version.h | 2 | ||||
| -rw-r--r-- | win32/win32.c | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Mon Apr 25 19:59:47 2011 Tajima, Akio <artonx@yahoo.co.jp> + + * win32/win32.c (kill): accept 0 as pid, fixes #4596 + Fri Apr 22 11:49:49 2011 NARUSE, Yui <naruse@ruby-lang.org> * lib/xmlrpc/create.rb (XMLRPC::Create#conv2value): @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.2" -#define RUBY_PATCHLEVEL 238 +#define RUBY_PATCHLEVEL 239 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 diff --git a/win32/win32.c b/win32/win32.c index b1984f57fd..d696c0f016 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -3743,7 +3743,7 @@ kill(int pid, int sig) int ret = 0; DWORD err; - if (pid <= 0) { + if (pid < 0) { errno = EINVAL; return -1; } |
