mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* math.c (domain_check): check errno first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c539363478
commit
2bfe3c67d8
3 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Jan 17 19:24:25 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* math.c (domain_check): check errno first.
|
||||
|
||||
Sat Jan 16 07:17:15 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||
|
||||
* ext/zlib/zlib.c: backport r18029 and r21861 from trunk.
|
||||
|
|
2
math.c
2
math.c
|
@ -29,9 +29,9 @@ domain_check(x, msg)
|
|||
double x;
|
||||
const char *msg;
|
||||
{
|
||||
if (!errno) {
|
||||
if (!isnan(x)) return;
|
||||
else {
|
||||
if (!errno) {
|
||||
#if defined(EDOM)
|
||||
errno = EDOM;
|
||||
#else
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.8.8"
|
||||
#define RUBY_RELEASE_DATE "2010-01-16"
|
||||
#define RUBY_RELEASE_DATE "2010-01-17"
|
||||
#define RUBY_VERSION_CODE 188
|
||||
#define RUBY_RELEASE_CODE 20100116
|
||||
#define RUBY_RELEASE_CODE 20100117
|
||||
#define RUBY_PATCHLEVEL -1
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 8
|
||||
#define RUBY_RELEASE_YEAR 2010
|
||||
#define RUBY_RELEASE_MONTH 1
|
||||
#define RUBY_RELEASE_DAY 16
|
||||
#define RUBY_RELEASE_DAY 17
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue