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:
parent
a4428fb019
commit
59060ca1a4
2 changed files with 2 additions and 2 deletions
2
bignum.c
2
bignum.c
|
@ -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
2
dln.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue