Formerly ../dirent/scandir.c.~4~
authorroland <roland>
Sat, 12 Sep 1992 16:08:24 +0000 (16:08 +0000)
committerroland <roland>
Sat, 12 Sep 1992 16:08:24 +0000 (16:08 +0000)
dirent/scandir.c

index ddc76f0..ae4eb30 100644 (file)
@@ -61,6 +61,7 @@ DEFUN(scandir, (dir, namelist, select, cmp),
                errno = ENOMEM;
                return -1;
              }
+           v = new;
          }
 
        v[i] = (struct dirent *) malloc (sizeof (**v));