> From: "J. David Bryan" <[EMAIL PROTECTED]>
> Date: Fri, 10 Feb 2006 11:55:54 -0500
> CC: "Paul D. Smith" <[EMAIL PROTECTED]>, [email protected]
>
> Presuming "dir->dirstream == 0", the beta4 version of this code returns 0
> if the file system is NTFS and the directory time hasn't changed, as the
> else-clause just below the "#endif" is taken. With your patch, the same
> scenario falls into the while loop and so calls "readdir" with
> "dir->dirstream == 0". Is that correct? If not, then perhaps the "if
> (rehash)" just above needs an "else return 0;".
Right again, thanks. Paul, the patch to fix this blunder is below.
> By the way, thanks for your work on -jN. It works well on the dual-core
> machine here and was my primary motivator for trying out the CVS version.
You are welcome.
--- dir.c~2 2006-02-10 12:24:43.475125000 +0200
+++ dir.c 2006-02-10 20:44:33.959500000 +0200
@@ -652,6 +652,8 @@ dir_contents_file_exists_p (struct direc
if (!dir->dirstream)
return 0; /* couldn't re-read - fail */
}
+ else
+ return 0; /* it has been already read in */
}
else
#endif
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32