[BusyBox-cvs] busybox/util-linux mount.c,1.107,1.108

Erik Andersen andersen at codepoet.org
Thu Dec 5 07:24:38 UTC 2002


Update of /var/cvs/busybox/util-linux
In directory winder:/tmp/cvs-serv6515/util-linux

Modified Files:
	mount.c 
Log Message:
Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch.  I'm not
maintaining it anymore, and it is now terribly out of date.
 -Erik


Index: mount.c
===================================================================
RCS file: /var/cvs/busybox/util-linux/mount.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- mount.c	23 Aug 2002 06:17:46 -0000	1.107
+++ mount.c	5 Dec 2002 07:24:05 -0000	1.108
@@ -53,9 +53,6 @@
 #include <mntent.h>
 #include <ctype.h>
 #include "busybox.h"
-#if defined CONFIG_FEATURE_USE_DEVPS_PATCH
-#	include <linux/devmtab.h>	/* For Erik's nifty devmtab device driver */
-#endif
 
 enum {
 	MS_MGC_VAL = 0xc0ed0000,	/* Magic number indicatng "new" flags */
@@ -247,39 +244,6 @@
 					 int mount_all)
[...85 lines suppressed...]
-	}
-#ifdef CONFIG_FEATURE_CLEAN_UP
-	/* Don't bother to close files or free memory.  Exit 
-	 * does that automagically, so we can save a few bytes */
-	free(mntentlist);
-	close(fd);
-#endif
-	exit(EXIT_SUCCESS);
-#else
 	FILE *mountTable = setmntent(mtab_file, "r");
 
 	if (mountTable) {
@@ -433,7 +354,6 @@
 		perror_msg_and_die("%s", mtab_file);
 	}
 	exit(EXIT_SUCCESS);
-#endif
 }
 
 extern int mount_main(int argc, char **argv)




More information about the busybox-cvs mailing list