[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
- Previous message: [BusyBox-cvs] busybox/libbb find_pid_by_name.c,1.8,1.9 mtab_file.c,1.4,1.5 procps.c,1.4,1.5
- Next message: [BusyBox-cvs] busybox/archival Config.in,NONE,1.1 config.in,1.15,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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)
- Previous message: [BusyBox-cvs] busybox/libbb find_pid_by_name.c,1.8,1.9 mtab_file.c,1.4,1.5 procps.c,1.4,1.5
- Next message: [BusyBox-cvs] busybox/archival Config.in,NONE,1.1 config.in,1.15,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list