1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
eban 2002-03-26 03:01:30 +00:00
parent a4428fb019
commit 59060ca1a4
2 changed files with 2 additions and 2 deletions

View file

@ -290,7 +290,7 @@ rb_quad_pack(buf, val)
if (!RBIGNUM(val)->sign) {
len = QUAD_SIZE;
while (len--) {
*buf = (J~(B*buf;
*buf = ~*buf;
buf++;
}
}

2
dln.c
View file

@ -1535,7 +1535,7 @@ dln_load(file)
if (p1 = strrchr(fname,'/'))
fname = p1 + 1;
if (p2 = strrchr(fname,'.'))
*p2 = '(J\(B0';
*p2 = '\0';
if ((handle = (void*)dlopen(fname, 0)) == NULL) {
goto failed;