[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] PATCH: Implement OPTION_EGLIBC_FSTAB option group



I've committed the following:

ChangeLog.eglibc:
2007-08-16  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>

	Implement the OPTION_EGLIBC_FSTAB option group

	* option-groups.def (OPTION_EGLIBC_FSTAB): New entry.
	* option-groups.defaults (OPTION_EGLIBC_FSTAB): Initialize.
	* misc/Makefile (routines): Put fstab.c in the option group.

Index: option-groups.def
===================================================================
--- option-groups.def	(revision 3172)
+++ option-groups.def	(working copy)
@@ -130,6 +130,20 @@
         envz_entry      envz_remove
         envz_get        envz_strip 
 
+config OPTION_EGLIBC_FSTAB
+   bool "Access functions for 'fstab'"
+   help
+       This option group includes functions for reading the mount
+       point specification table, '/etc/fstab'.  These functions are
+       not included in the POSIX standard, which provides the
+       'getmntent' family of functions instead.
+
+       This option group includues the following functions:
+
+         endfsent       getfsspec
+         getfsent       setfsent
+         getfsfile
+
 config OPTION_EGLIBC_INET
    bool "Networking support"
    help
Index: misc/Makefile
===================================================================
--- misc/Makefile	(revision 3172)
+++ misc/Makefile	(working copy)
@@ -52,7 +52,7 @@
 	    ualarm usleep \
 	    gtty stty \
 	    ptrace \
-	    fstab mntent mntent_r \
+	    mntent mntent_r \
 	    utimes lutimes futimes futimesat \
 	    truncate ftruncate truncate64 ftruncate64 \
 	    chflags fchflags \
@@ -70,6 +70,7 @@
 	    removexattr setxattr
 
 routines-$(OPTION_POSIX_REGEXP) += regexp
+routines-$(OPTION_EGLIBC_FSTAB) += fstab
 
 distribute := device-nrs.h
 
Index: option-groups.defaults
===================================================================
--- option-groups.defaults	(revision 3172)
+++ option-groups.defaults	(working copy)
@@ -11,6 +11,7 @@
 OPTION_EGLIBC_CATGETS = y
 OPTION_EGLIBC_CHARSETS = y
 OPTION_EGLIBC_ENVZ = y
+OPTION_EGLIBC_FSTAB = y
 OPTION_EGLIBC_INET = y
 OPTION_EGLIBC_LIBM = y
 OPTION_EGLIBC_LOCALES = y