coreutils: import from packages, add myself as maintainer

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich
2014-06-11 17:02:24 +02:00
parent 858ed34e60
commit 2abee9646c
4 changed files with 159 additions and 0 deletions
@@ -0,0 +1,22 @@
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,7 @@
ALL_RECURSIVE_TARGETS =
-SUBDIRS = lib src doc man po tests gnulib-tests
+SUBDIRS = lib src po
changelog_etc = \
ChangeLog-2005 \
--- a/Makefile.in
+++ b/Makefile.in
@@ -1639,7 +1639,7 @@ top_srcdir = @top_srcdir@
# Some tests always need root privileges, others need them only sometimes.
ALL_RECURSIVE_TARGETS = install-root check-root distcheck-hook
-SUBDIRS = lib src doc man po tests gnulib-tests
+SUBDIRS = lib src po
changelog_etc = \
ChangeLog-2005 \
ChangeLog-2006 \
@@ -0,0 +1,12 @@
--- a/lib/pthread.in.h
+++ b/lib/pthread.in.h
@@ -232,6 +232,9 @@ pthread_mutex_unlock (pthread_mutex_t *m
/* Approximate spinlocks with mutexes. */
+#ifdef __UCLIBC__
+#define pthread_spinlock_t original_pthread_spinlock_t
+#endif
typedef pthread_mutex_t pthread_spinlock_t;
static inline int
@@ -0,0 +1,15 @@
diff --git a/lib/stdio.in.h b/lib/stdio.in.h
index 9dc7c4a..9fdac77 100644
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -711,10 +711,6 @@ _GL_CXXALIAS_SYS (gets, char *, (char *s));
# undef gets
# endif
_GL_CXXALIASWARN (gets);
-/* It is very rare that the developer ever has full control of stdin,
- so any use of gets warrants an unconditional warning. Assume it is
- always declared, since it is required by C89. */
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
#endif