* 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:
parent
a4428fb019
commit
59060ca1a4
2
bignum.c
2
bignum.c
@ -290,7 +290,7 @@ rb_quad_pack(buf, val)
|
|||||||
if (!RBIGNUM(val)->sign) {
|
if (!RBIGNUM(val)->sign) {
|
||||||
len = QUAD_SIZE;
|
len = QUAD_SIZE;
|
||||||
while (len--) {
|
while (len--) {
|
||||||
*buf = (J~(B*buf;
|
*buf = ~*buf;
|
||||||
buf++;
|
buf++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
2
dln.c
2
dln.c
@ -1535,7 +1535,7 @@ dln_load(file)
|
|||||||
if (p1 = strrchr(fname,'/'))
|
if (p1 = strrchr(fname,'/'))
|
||||||
fname = p1 + 1;
|
fname = p1 + 1;
|
||||||
if (p2 = strrchr(fname,'.'))
|
if (p2 = strrchr(fname,'.'))
|
||||||
*p2 = '(J\(B0';
|
*p2 = '\0';
|
||||||
|
|
||||||
if ((handle = (void*)dlopen(fname, 0)) == NULL) {
|
if ((handle = (void*)dlopen(fname, 0)) == NULL) {
|
||||||
goto failed;
|
goto failed;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user