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

[commits] r3173 - in /trunk/libc: ChangeLog.eglibc misc/Makefile option-groups.def option-groups.defaults



Author: jimb
Date: Thu Aug 16 14:26:28 2007
New Revision: 3173

Log:
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.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/misc/Makefile
    trunk/libc/option-groups.def
    trunk/libc/option-groups.defaults

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Thu Aug 16 14:26:28 2007
@@ -1,4 +1,10 @@
 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.
 
 	Implement the OPTION_EGLIBC_RCMD option group.
 

Modified: trunk/libc/misc/Makefile
==============================================================================
--- trunk/libc/misc/Makefile (original)
+++ trunk/libc/misc/Makefile Thu Aug 16 14:26:28 2007
@@ -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
 

Modified: trunk/libc/option-groups.def
==============================================================================
--- trunk/libc/option-groups.def (original)
+++ trunk/libc/option-groups.def Thu Aug 16 14:26:28 2007
@@ -129,6 +129,20 @@
         envz_add        envz_merge 
         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"

Modified: trunk/libc/option-groups.defaults
==============================================================================
--- trunk/libc/option-groups.defaults (original)
+++ trunk/libc/option-groups.defaults Thu Aug 16 14:26:28 2007
@@ -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