(read_dirstream): Fix braino: fill in the buffer when not reallocating it!
diff --git a/dir.c b/dir.c
index 95f2bcd..f4019da 100644
--- a/dir.c
+++ b/dir.c
@@ -616,14 +616,14 @@
 		  if (sizeof *d - sizeof d->d_name + len > bufsz)
 		    bufsz = sizeof *d - sizeof d->d_name + len;
 		  buf = xmalloc (bufsz);
-		  d = (struct dirent *) buf;
-		  d->d_ino = 1;
-#ifdef HAVE_D_NAMLEN
-		  d->d_namlen = len - 1;
-#endif
-		  memcpy (d->d_name, df->name, len);
-		  return d;
 		}
+	      d = (struct dirent *) buf;
+	      FAKE_DIR_ENTRY (d);
+#ifdef HAVE_D_NAMLEN
+	      d->d_namlen = len - 1;
+#endif
+	      memcpy (d->d_name, df->name, len);
+	      return d;
 	    }
 	}
       if (++ds->bucket == DIRFILE_BUCKETS)