[#3006] mismatched quotation — "stevan apter" <apter@...>

ruby documentation uses a punctuation convention i've never seen

13 messages 2000/05/27

[ruby-talk:02821] Re: Bug in Dir (PR#3)

From: matz@... (Yukihiro Matsumoto)
Date: 2000-05-15 06:35:41 UTC
List: ruby-talk #2821
Hi,

In message "Bug in Dir (PR#3)"
    on 00/05/15, Dave@thomases.com <Dave@thomases.com> writes:

|   ruby 1.5.3 (2000-05-10) [i686-linux]
|   %  ruby -e 'Dir["**"]'
|    -e:1: [BUG] Segmentation fault

Oops, fixed by the patch below.

--- dir.c	2000/05/09 04:52:52	1.13
+++ dir.c	2000/05/15 06:34:38
@@ -591,3 +591,3 @@
 	    magic = extract_elem(p);
-	    if (strcmp(magic, "**") == 0) {
+	    if (m && strcmp(magic, "**") == 0) {
 		recursive = 1;

In This Thread

Prev Next