Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 17:03:59 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r194199 - stable/7/bin/chflags
Message-ID:  <200906141703.n5EH3x04054944@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906141703.n5EH3x04054944>