ports/lang/ruby/files/patch-parse.c
Akinori MUSHA 27f96357e1 Add a patch to fix coredump that occurs when you run ruby with the
verbose flag on. (ruby -v -e 'begin;end')

PORTREVISION is not bumped since this is not a significant problem for
most people.
2003-04-19 19:36:28 +00:00

14 lines
306 B
C

--- parse.c.orig Sun Apr 20 04:20:19 2003
+++ parse.c Sun Apr 20 04:21:02 2003
@@ -8519,9 +8519,9 @@
char *useless = 0;
if (!RTEST(ruby_verbose)) return;
- if (!node) return;
again:
+ if (!node) return;
switch (nd_type(node)) {
case NODE_NEWLINE:
node = node->nd_next;