From 59060ca1a4ee67352aa99bfabcd34f457abb467f Mon Sep 17 00:00:00 2001 From: eban Date: Tue, 26 Mar 2002 03:01:30 +0000 Subject: [PATCH] * bignum.c (rb_quad_pack): get rid of escape sequences. * dln.c (dln_load, __VMS): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bignum.c | 2 +- dln.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bignum.c b/bignum.c index 133227390d..6b558287c3 100644 --- a/bignum.c +++ b/bignum.c @@ -290,7 +290,7 @@ rb_quad_pack(buf, val) if (!RBIGNUM(val)->sign) { len = QUAD_SIZE; while (len--) { - *buf = ‾*buf; + *buf = ~*buf; buf++; } } diff --git a/dln.c b/dln.c index 1ad9a8ac45..ebad1e0091 100644 --- a/dln.c +++ b/dln.c @@ -1535,7 +1535,7 @@ dln_load(file) if (p1 = strrchr(fname,'/')) fname = p1 + 1; if (p2 = strrchr(fname,'.')) - *p2 = '¥0'; + *p2 = '\0'; if ((handle = (void*)dlopen(fname, 0)) == NULL) { goto failed;