[ruby-oci8-commit] [384] trunk/ruby-oci8: * ext/oci8/ocinumber.c: fix to compile on HP-UX.
nobody at rubyforge.org
nobody at rubyforge.org
Sun Mar 7 07:10:12 EST 2010
Revision: 384
Author: kubo
Date: 2010-03-07 07:10:11 -0500 (Sun, 07 Mar 2010)
Log Message:
-----------
* ext/oci8/ocinumber.c: fix to compile on HP-UX.
Duplicate const qualifiers prevented HP-UX cc from compiling.
(reported by Sebastian YEPES)
Modified Paths:
--------------
trunk/ruby-oci8/ChangeLog
trunk/ruby-oci8/ext/oci8/ocinumber.c
Modified: trunk/ruby-oci8/ChangeLog
===================================================================
--- trunk/ruby-oci8/ChangeLog 2010-02-28 11:55:41 UTC (rev 383)
+++ trunk/ruby-oci8/ChangeLog 2010-03-07 12:10:11 UTC (rev 384)
@@ -1,3 +1,8 @@
+2010-03-07 KUBO Takehiro <kubo at jiubao.org>
+ * ext/oci8/ocinumber.c: fix to compile on HP-UX.
+ Duplicate const qualifiers prevented HP-UX cc from compiling.
+ (reported by Sebastian YEPES)
+
2010-02-28 KUBO Takehiro <kubo at jiubao.org>
* NEWS: add changes between 2.0.3 and 2.0.4.
* VERSION: change the version to 2.0.3.
Modified: trunk/ruby-oci8/ext/oci8/ocinumber.c
===================================================================
--- trunk/ruby-oci8/ext/oci8/ocinumber.c 2010-02-28 11:55:41 UTC (rev 383)
+++ trunk/ruby-oci8/ext/oci8/ocinumber.c 2010-03-07 12:10:11 UTC (rev 384)
@@ -1171,7 +1171,7 @@
{
char buf[64];
ub4 buf_size = sizeof(buf);
- const const char *fmt = "FM9.99999999999999999999999999999999999999EEEE";
+ const char *fmt = "FM9.99999999999999999999999999999999999999EEEE";
if (!cBigDecimal) {
rb_require("bigdecimal");
More information about the ruby-oci8-commit
mailing list