From owner-svn-src-head@FreeBSD.ORG Sun Jun 2 18:10:08 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0870F278; Sun, 2 Jun 2013 18:10:08 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F05E91226; Sun, 2 Jun 2013 18:10:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r52IA7L7083363; Sun, 2 Jun 2013 18:10:07 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r52IA7o0083361; Sun, 2 Jun 2013 18:10:07 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201306021810.r52IA7o0083361@svn.freebsd.org> From: Eitan Adler Date: Sun, 2 Jun 2013 18:10:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251262 - head/usr.bin/fetch X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jun 2013 18:10:08 -0000 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);