From owner-svn-src-stable@FreeBSD.ORG Sun Jun 14 17:03:59 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8126A106566C; Sun, 14 Jun 2009 17:03:59 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6E5EA8FC08; Sun, 14 Jun 2009 17:03:59 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5EH3xZw054945; Sun, 14 Jun 2009 17:03:59 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5EH3x04054944; Sun, 14 Jun 2009 17:03:59 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <200906141703.n5EH3x04054944@svn.freebsd.org> From: Jilles Tjoelker Date: Sun, 14 Jun 2009 17:03:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194199 - stable/7/bin/chflags X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 17:04:00 -0000 Author: jilles Date: Sun Jun 14 17:03:59 2009 New Revision: 194199 URL: http://svn.freebsd.org/changeset/base/194199 Log: MFC r192687: fix chflags -h PR: bin/131999 Submitted by: bde Approved by: ed (mentor) Modified: stable/7/bin/chflags/ (props changed) stable/7/bin/chflags/chflags.c Modified: stable/7/bin/chflags/chflags.c ============================================================================== --- stable/7/bin/chflags/chflags.c Sun Jun 14 17:00:35 2009 (r194198) +++ stable/7/bin/chflags/chflags.c Sun Jun 14 17:03:59 2009 (r194199) @@ -115,7 +115,7 @@ main(int argc, char *argv[]) fts_options |= FTS_LOGICAL; } } else - fts_options = FTS_LOGICAL; + fts_options = hflag ? FTS_PHYSICAL : FTS_LOGICAL; /* XXX: Why don't chflags and lchflags have compatible prototypes? */ if (hflag)