Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2008 20:59:30 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r185259 - in projects/makefs: . compat compat/mtree
Message-ID:  <200811242059.mAOKxU6E098020@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Nov 24 20:59:29 2008
New Revision: 185259
URL: http://svn.freebsd.org/changeset/base/185259

Log:
  Remove the dump_node and vispath routines from compat/mtree/spec.c.
  They aren't needed, and were the only users of the compat/vis.[ch]
  files.  As such, remove them from the Makefile.

Deleted:
  projects/makefs/compat/vis.c
  projects/makefs/compat/vis.h
Modified:
  projects/makefs/Makefile
  projects/makefs/compat/mtree/spec.c

Modified: projects/makefs/Makefile
==============================================================================
--- projects/makefs/Makefile	Mon Nov 24 20:05:14 2008	(r185258)
+++ projects/makefs/Makefile	Mon Nov 24 20:59:29 2008	(r185259)
@@ -3,7 +3,7 @@
 PROG=	makefs
 COMPAT_MTREE=	getid.c misc.c spec.c
 COMPAT=	fparseln.c getmode.c pack_dev.c pwcache.c stat_flags.c \
-	strsuftoll.c vis.c
+	strsuftoll.c
 SRCS=	ffs.c makefs.c walk.c \
 	buf.c ffs_alloc.c ffs_balloc.c mkfs.c ufs_bmap.c \
 	ffs_bswap.c ffs_subr.c ffs_tables.c \

Modified: projects/makefs/compat/mtree/spec.c
==============================================================================
--- projects/makefs/compat/mtree/spec.c	Mon Nov 24 20:05:14 2008	(r185258)
+++ projects/makefs/compat/mtree/spec.c	Mon Nov 24 20:59:29 2008	(r185259)
@@ -274,6 +274,7 @@ noparent:		mtree_err("no parent node");
 	return (root);
 }
 
+#if 0
 /*
  * dump_nodes --
  *	dump the NODEs from `cur', based in the directory `dir'.
@@ -369,7 +370,7 @@ vispath(const char *path)
 	strsvis(pathbuf, path, VIS_CSTYLE, extra);
 	return(pathbuf);
 }
-
+#endif
 
 static dev_t
 parsedev(char *arg)



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