Correct check to see if file changes.

Reported by:	swildner@DragonFlyBSD.org
Reviewed by:	des
This commit is contained in:
Eitan Adler 2013-06-02 18:10:07 +00:00
parent 08aa7c869f
commit a96469b791
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251262

View file

@ -565,7 +565,7 @@ fetch(char *URL, const char *path)
goto failure;
}
if (nsb.st_dev != sb.st_dev ||
nsb.st_ino != nsb.st_ino ||
nsb.st_ino != sb.st_ino ||
nsb.st_size != sb.st_size) {
warnx("%s: file has changed", URL);
fclose(of);