Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
debian-packages
ruby-oci8
Commits
12548894
Commit
12548894
authored
Dec 14, 2016
by
Koichi ITO
Browse files
Fix invalid value for BigDecimal in Ruby 2.4.0+
parent
d3a1a3de
Changes
1
Hide whitespace changes
Inline
Side-by-side
ext/oci8/ocinumber.c
View file @
12548894
...
...
@@ -1429,7 +1429,7 @@ static VALUE onum_to_d_real(OCINumber *num, OCIError *errhp)
{
char
buf
[
64
];
ub4
buf_size
=
sizeof
(
buf
);
const
char
*
fmt
=
"FM9.
9
9999999999999999999999999999999999999EEEE"
;
const
char
*
fmt
=
"FM9.
0
9999999999999999999999999999999999999EEEE"
;
if
(
!
cBigDecimal
)
{
rb_require
(
"bigdecimal"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment