summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-08-16 21:26:28 +0000
committerjimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2007-08-16 21:26:28 +0000
commit7f6d89ffeba487c98438093aa4fca933ebc7af70 (patch)
tree7947edab8f8e7a4f49a6f29ac5a9c1882b7c4406 /libc
parent1c13b45f66e9ae1f99e325ee723ef9f688fcea5a (diff)
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. git-svn-id: svn://svn.eglibc.org/trunk@3173 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc')
-rw-r--r--libc/ChangeLog.eglibc6
-rw-r--r--libc/misc/Makefile3
-rw-r--r--libc/option-groups.def14
-rw-r--r--libc/option-groups.defaults1
4 files changed, 23 insertions, 1 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index 3018c872e..54d8cba3f 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,5 +1,11 @@
2007-08-16 Jim Blandy <jimb@codesourcery.com>
+ 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.
* option-groups.def (OPTION_EGLIBC_RCMD): New entry.
diff --git a/libc/misc/Makefile b/libc/misc/Makefile
index 60abf891c..08af2da4d 100644
--- a/libc/misc/Makefile
+++ b/libc/misc/Makefile
@@ -52,7 +52,7 @@ routines := brk sbrk sstk ioctl \
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 @@ routines := brk sbrk sstk ioctl \
removexattr setxattr
routines-$(OPTION_POSIX_REGEXP) += regexp
+routines-$(OPTION_EGLIBC_FSTAB) += fstab
distribute := device-nrs.h
diff --git a/libc/option-groups.def b/libc/option-groups.def
index 3d2ff24ef..94f89e037 100644
--- a/libc/option-groups.def
+++ b/libc/option-groups.def
@@ -130,6 +130,20 @@ config OPTION_EGLIBC_ENVZ
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
diff --git a/libc/option-groups.defaults b/libc/option-groups.defaults
index 95b54c7c4..9f80896be 100644
--- a/libc/option-groups.defaults
+++ b/libc/option-groups.defaults
@@ -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