summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1994-12-08 14:17:29 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:30 +0900
commit00e36aa09f54925c2f9c30524b48f4f54a9adb23 (patch)
tree57bf15576109b53406796c66b29d5e11d9fd99c0 /sprintf.c
parent4dfd93c72a9a221c5575c5888483f2fb55c82117 (diff)
version 0.60v0_60
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.60.tar.gz Thu Dec 8 14:17:29 1994 Yukihiro Matsumoto (matz@ix-02) * 0.60 released - alpha test baseline.
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sprintf.c b/sprintf.c
index 6fef9c3..507724f 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -3,7 +3,7 @@
sprintf.c -
$Author: matz $
- $Date: 1994/10/14 06:19:50 $
+ $Date: 1994/12/06 09:30:23 $
created at: Fri Oct 15 10:39:26 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
@@ -220,7 +220,7 @@ Fsprintf(argc, argv)
val = str2inum(RSTRING(val)->ptr, 0);
goto bin_retry;
case T_BIGNUM:
- val = Fbig_clone(val);
+ val = big_clone(val);
break;
default:
WrongType(val, T_FIXNUM);
@@ -280,7 +280,6 @@ Fsprintf(argc, argv)
}
sprintf(&buf[blen], fbuf, s);
blen += strlen(&buf[blen]);
- obj_free(val);
}
break;