svn commit: r244539 - projects/mtree/contrib/mtree
Brooks Davis
brooks at FreeBSD.org
Fri Dec 21 16:21:01 UTC 2012
Author: brooks
Date: Fri Dec 21 16:21:00 2012
New Revision: 244539
URL: http://svnweb.freebsd.org/changeset/base/244539
Log:
Move the flavor to misc.c as done upstream to support programs that use
parts of the mtree source.
Modified:
projects/mtree/contrib/mtree/misc.c
projects/mtree/contrib/mtree/mtree.c
Modified: projects/mtree/contrib/mtree/misc.c
==============================================================================
--- projects/mtree/contrib/mtree/misc.c Fri Dec 21 15:54:13 2012 (r244538)
+++ projects/mtree/contrib/mtree/misc.c Fri Dec 21 16:21:00 2012 (r244539)
@@ -50,6 +50,8 @@ __RCSID("$NetBSD: misc.c,v 1.33 2012/12/
#include "extern.h"
+enum flavor flavor = F_MTREE;
+
typedef struct _key {
const char *name; /* key name */
u_int val; /* value */
Modified: projects/mtree/contrib/mtree/mtree.c
==============================================================================
--- projects/mtree/contrib/mtree/mtree.c Fri Dec 21 15:54:13 2012 (r244538)
+++ projects/mtree/contrib/mtree/mtree.c Fri Dec 21 16:21:00 2012 (r244539)
@@ -62,7 +62,6 @@ int ftsoptions = FTS_PHYSICAL;
int bflag, cflag, Cflag, dflag, Dflag, eflag, iflag, jflag, lflag, mflag,
nflag, qflag, rflag, sflag, tflag, uflag, Uflag, wflag;
char fullpath[MAXPATHLEN];
-enum flavor flavor = F_MTREE;
static struct {
enum flavor flavor;
More information about the svn-src-projects
mailing list