[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Make: Obscure bug with wildcards

Could you try the appended patch for make?  make doesn't properly
initialize d_type - and this might be the problem (I noticed a similar
problem with wildcards in glibc which was fixed with this patch from
Andreas Schwab).


--- dir.c
+++ dir.c	2000/01/20 15:40:41
@@ -1044,6 +1044,9 @@
 	      d->d_namlen = len - 1;
+	      d->d_type = DT_UNKNOWN;
 	      memcpy (d->d_name, df->name, len);
 	      return d;
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Reply to: