mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 05:36:10 +00:00
Correct check to see if file changes.
Reported by: swildner@DragonFlyBSD.org Reviewed by: des
This commit is contained in:
parent
08aa7c869f
commit
a96469b791
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251262
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue