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;