|
|
0ccd24a |
diff -pruN ruby-1.8.6.orig/ext/bigdecimal/bigdecimal.c ruby-1.8.6/ext/bigdecimal/bigdecimal.c
|
|
|
0ccd24a |
--- ruby-1.8.6.orig/ext/bigdecimal/bigdecimal.c 2007-02-27 20:51:55.000000000 +0900
|
|
|
0ccd24a |
+++ ruby-1.8.6/ext/bigdecimal/bigdecimal.c 2007-03-15 21:14:32.000000000 +0900
|
|
|
0ccd24a |
@@ -2167,12 +2167,14 @@ VpGetDoubleNegZero(void) /* Returns the
|
|
|
0ccd24a |
return nzero;
|
|
|
0ccd24a |
}
|
|
|
0ccd24a |
|
|
|
0ccd24a |
+#if 0
|
|
|
0ccd24a |
VP_EXPORT int
|
|
|
0ccd24a |
VpIsNegDoubleZero(double v)
|
|
|
0ccd24a |
{
|
|
|
0ccd24a |
double z = VpGetDoubleNegZero();
|
|
|
0ccd24a |
return MemCmp(&v,&z,sizeof(v))==0;
|
|
|
0ccd24a |
}
|
|
|
0ccd24a |
+#endif
|
|
|
0ccd24a |
|
|
|
0ccd24a |
VP_EXPORT int
|
|
|
0ccd24a |
VpException(unsigned short f, const char *str,int always)
|
|
|
0ccd24a |
diff -pruN ruby-1.8.6.orig/parse.y ruby-1.8.6/parse.y
|
|
|
0ccd24a |
--- ruby-1.8.6.orig/parse.y 2007-03-03 16:30:46.000000000 +0900
|
|
|
0ccd24a |
+++ ruby-1.8.6/parse.y 2007-03-15 21:15:58.000000000 +0900
|
|
|
0ccd24a |
@@ -4511,6 +4511,7 @@ rb_node_newnode(type, a0, a1, a2)
|
|
|
0ccd24a |
return n;
|
|
|
0ccd24a |
}
|
|
|
0ccd24a |
|
|
|
0ccd24a |
+#if 0
|
|
|
0ccd24a |
static enum node_type
|
|
|
0ccd24a |
nodetype(node) /* for debug */
|
|
|
0ccd24a |
NODE *node;
|
|
|
0ccd24a |
@@ -4524,6 +4525,7 @@ nodeline(node)
|
|
|
0ccd24a |
{
|
|
|
0ccd24a |
return nd_line(node);
|
|
|
0ccd24a |
}
|
|
|
0ccd24a |
+#endif
|
|
|
0ccd24a |
|
|
|
0ccd24a |
static NODE*
|
|
|
0ccd24a |
newline_node(node)
|
|
|
0ccd24a |
diff -pruN ruby-1.8.6.orig/regex.c ruby-1.8.6/regex.c
|
|
|
0ccd24a |
--- ruby-1.8.6.orig/regex.c 2007-02-27 20:51:55.000000000 +0900
|
|
|
0ccd24a |
+++ ruby-1.8.6/regex.c 2007-03-15 21:16:52.000000000 +0900
|
|
|
0ccd24a |
@@ -998,6 +998,7 @@ print_partial_compiled_pattern(start, en
|
|
|
0ccd24a |
}
|
|
|
0ccd24a |
|
|
|
0ccd24a |
|
|
|
0ccd24a |
+#if 0
|
|
|
0ccd24a |
static void
|
|
|
0ccd24a |
print_compiled_pattern(bufp)
|
|
|
0ccd24a |
struct re_pattern_buffer *bufp;
|
|
|
0ccd24a |
@@ -1006,6 +1007,7 @@ print_compiled_pattern(bufp)
|
|
|
0ccd24a |
|
|
|
0ccd24a |
print_partial_compiled_pattern(buffer, buffer + bufp->used);
|
|
|
0ccd24a |
}
|
|
|
0ccd24a |
+#endif
|
|
|
0ccd24a |
|
|
|
0ccd24a |
static char*
|
|
|
0ccd24a |
calculate_must_string(start, end)
|
|
|
0ccd24a |
@@ -2586,6 +2588,7 @@ insert_jump_n(op, from, to, current_end,
|
|
|
0ccd24a |
|
|
|
0ccd24a |
If you call this function, you must zero out pending_exact. */
|
|
|
0ccd24a |
|
|
|
0ccd24a |
+#if 0
|
|
|
0ccd24a |
static void
|
|
|
0ccd24a |
insert_op(op, there, current_end)
|
|
|
0ccd24a |
int op;
|
|
|
0ccd24a |
@@ -2599,6 +2602,7 @@ insert_op(op, there, current_end)
|
|
|
0ccd24a |
|
|
|
0ccd24a |
there[0] = (char)op;
|
|
|
0ccd24a |
}
|
|
|
0ccd24a |
+#endif
|
|
|
0ccd24a |
|
|
|
0ccd24a |
|
|
|
0ccd24a |
/* Open up space at location THERE, and insert operation OP followed by
|