Date: Sun, 2 Jun 2013 18:10:07 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251262 - head/usr.bin/fetch Message-ID: <201306021810.r52IA7o0083361@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Sun Jun 2 18:10:07 2013 New Revision: 251262 URL: http://svnweb.freebsd.org/changeset/base/251262 Log: Correct check to see if file changes. Reported by: swildner@DragonFlyBSD.org Reviewed by: des Modified: head/usr.bin/fetch/fetch.c Modified: head/usr.bin/fetch/fetch.c ============================================================================== --- head/usr.bin/fetch/fetch.c Sun Jun 2 17:55:00 2013 (r251261) +++ head/usr.bin/fetch/fetch.c Sun Jun 2 18:10:07 2013 (r251262) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306021810.r52IA7o0083361>