summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-08 03:20:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-06-08 03:20:09 +0000
commita882a3fbaf4e62750532ca3e37d64edbeccc43c6 (patch)
tree819cf9ed82c084267ecb3b352be082c4a7252b2f /error.c
parent3a9bbe2595d34787d0e8a813ec0b2c2c87a34671 (diff)
downloadruby-a882a3fbaf4e62750532ca3e37d64edbeccc43c6.tar.gz
ruby-a882a3fbaf4e62750532ca3e37d64edbeccc43c6.tar.xz
ruby-a882a3fbaf4e62750532ca3e37d64edbeccc43c6.zip
* bignum.c (get2comp): calculate proper 2's complement for
negative numbers. a bug in normalizing negative numbers reported from Honda Hiroki <hhonda@ipflex.com>. * ext/socket/socket.c (ruby_getaddrinfo__aix): merged a patch from KUBO Takehiro <kubo@jiubao.org> to support AIX. [ruby-list:40832] * lib/yaml/rubytypes.rb (Array::to_yaml): merged a patch from Tilman Sauerbeck <tilman@code-monkey.de>. [ruby-core:05055] * lib/yaml/rubytypes.rb (Hash::to_yaml): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/error.c b/error.c
index 1f4a7235f..f741620ff 100644
--- a/error.c
+++ b/error.c
@@ -1108,7 +1108,6 @@ void
rb_sys_fail(mesg)
const char *mesg;
{
- extern int errno;
int n = errno;
VALUE arg;