[PATCH 6/7] build: use more gnulib modules for better POSIX compliance

Jim Meyering meyering at redhat.com
Thu Sep 17 12:15:01 UTC 2009


* bootstrap.conf (gnulib_modules): Add modules exposed via
make CFLAGS=-DGNULIB_POSIXCHECK 2>&1 \
|perl -lne '/.* use gnulib module (\S+).*/ and print $1' \
|sort |uniq -c|sort -nr
Add these: close fsync lseek mkstemp strdup unlink
---
 bootstrap.conf |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index 8bf9c3f..d66f91d 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -28,9 +28,11 @@ gnulib_modules="
 	$avoided_gnulib_modules
 	alloca announce-gen assert
 	calloc config-h configmake
+	close
 	closeout
 	dirname
 	fdl
+	fsync
 	gettext
 	git-version-gen
         gitlog-to-changelog
@@ -39,15 +41,19 @@ gnulib_modules="
 	inttypes
 	lib-ignore
 	long-options
+	lseek
 	malloc
 	maintainer-makefile
 	manywarnings
+	mkstemp
 	mktempd
 	realloc
 	rpmatch
 	progname
 	safe-read
 	stdbool
+	strdup
+	unlink
 	update-copyright
 	useless-if-before-free
 	vc-list-files
--
1.6.5.rc2.177.ga9dd6




More information about the parted-devel mailing list