Formerly ../dirent/scandir.c.~3~
authorroland <roland>
Fri, 15 May 1992 23:37:44 +0000 (23:37 +0000)
committerroland <roland>
Fri, 15 May 1992 23:37:44 +0000 (23:37 +0000)
dirent/scandir.c

index 5e5e701..ddc76f0 100644 (file)
@@ -67,7 +67,7 @@ DEFUN(scandir, (dir, namelist, select, cmp),
        if (v[i] == NULL)
          goto lose;
 
-       v[i++] = *d;
+       *v[i++] = *d;
       }
 
   if (errno != 0)