This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.22-233-g3b2cc56


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  3b2cc56dbcbee6bc211cbb58a08384aa6147f825 (commit)
      from  7650f7be3a934cba6c21595dec38eb5537bf3197 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=3b2cc56dbcbee6bc211cbb58a08384aa6147f825

commit 3b2cc56dbcbee6bc211cbb58a08384aa6147f825
Author: Carlos O'Donell <carlos@systemhalted.org>
Date:   Mon Sep 14 09:57:58 2015 -0400

    Prevent check-local-headers.sh hang.
    
    Consensus in [1] was that the right way to fix this was simply to
    redirect from /dev/null to terminate the test if no inputs was found
    by the tests own globbing e.g. "*/*.{o,os,oS}.d" This can happen when
    the build is incomplete and the tests are started. This failure causes
    check-local-headers.sh to hang forever waiting for input from stdin.
    This change makes the test terminate immediately if the glob doesn't
    return any files.
    
    [1] https://sourceware.org/ml/libc-alpha/2014-12/msg00337.html

diff --git a/ChangeLog b/ChangeLog
index ab0bf5f..33d0e1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-14  Carlos O'Donell  <carlos@redhat.com>
+
+	* Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
+	/dev/null.
+
 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	* sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
diff --git a/Makefile b/Makefile
index e07309e..a2abfb9 100644
--- a/Makefile
+++ b/Makefile
@@ -262,7 +262,7 @@ endif
 
 $(objpfx)check-local-headers.out: scripts/check-local-headers.sh
 	AWK='$(AWK)' scripts/check-local-headers.sh \
-	  "$(includedir)" "$(objpfx)" > $@; \
+	  "$(includedir)" "$(objpfx)" < /dev/null > $@; \
 	$(evaluate-test)
 
 ifneq ($(PERL),no)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    5 +++++
 Makefile  |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]