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.25-149-gb9e8c90


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  b9e8c9087579e2021cf497713e047e040c84da28 (commit)
      from  c15f8eb50cea7ad1a4ccece6e0982bf426d52c00 (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=b9e8c9087579e2021cf497713e047e040c84da28

commit b9e8c9087579e2021cf497713e047e040c84da28
Author: Zack Weinberg <zackw@panix.com>
Date:   Wed Mar 22 08:39:36 2017 -0400

    Another round of inclusion fixes for _ISOMAC testsuite.
    
    	* stdio-common/bug25.c: Include stdlib.h.
    	* support/tst-support_format_dns_packet.c: Include stdio.h,
    	stdlib.h, and string.h.
    	* support/tst-support_record_failure.c: Include string.h.
    	* support/tst-support_record_failure-2.sh: Adjust line number
    	expectations and correct a typo in an error message.

diff --git a/ChangeLog b/ChangeLog
index 1367e8e..7809c3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-03-22  Zack Weinberg  <zackw@panix.com>
+
+	* stdio-common/bug25.c: Include stdlib.h.
+	* support/tst-support_format_dns_packet.c: Include stdio.h,
+	stdlib.h, and string.h.
+	* support/tst-support_record_failure.c: Include string.h.
+	* support/tst-support_record_failure-2.sh: Adjust line number
+	expectations and correct a typo in an error message.
+
 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #21258]
diff --git a/stdio-common/bug25.c b/stdio-common/bug25.c
index 30c1339..617f21a 100644
--- a/stdio-common/bug25.c
+++ b/stdio-common/bug25.c
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 #include <unistd.h>
 
 static const char expected[] = "\
diff --git a/support/tst-support_format_dns_packet.c b/support/tst-support_format_dns_packet.c
index ecd7abf..9c8589c 100644
--- a/support/tst-support_format_dns_packet.c
+++ b/support/tst-support_format_dns_packet.c
@@ -20,6 +20,10 @@
 #include <support/format_nss.h>
 #include <support/run_diff.h>
 
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
 static void
 check_packet (const void *buffer, size_t length,
               const char *name, const char *expected)
diff --git a/support/tst-support_record_failure-2.sh b/support/tst-support_record_failure-2.sh
index 1751377..2c9372c 100644
--- a/support/tst-support_record_failure-2.sh
+++ b/support/tst-support_record_failure-2.sh
@@ -37,7 +37,7 @@ run_test () {
     set -e
     echo "  exit status: $status"
     if test "$output" != "$expected_output" ; then
-	echo "error: unexpected ouput: $output"
+	echo "error: unexpected output: $output"
 	exit 1
     fi
     if test "$status" -ne "$expected_status" ; then
@@ -52,9 +52,9 @@ different_status () {
     run_test 1 "error: 1 test failures" $direct --status=1
     run_test 2 "error: 1 test failures" $direct --status=2
     run_test 1 "error: 1 test failures" $direct --status=77
-    run_test 2 "error: tst-support_record_failure.c:108: not true: false
+    run_test 2 "error: tst-support_record_failure.c:109: not true: false
 error: 1 test failures" $direct --test-verify
-    run_test 2 "error: tst-support_record_failure.c:108: not true: false
+    run_test 2 "error: tst-support_record_failure.c:109: not true: false
 info: execution passed failed TEST_VERIFY
 error: 1 test failures" $direct --test-verify --verbose
 }
@@ -62,8 +62,8 @@ error: 1 test failures" $direct --test-verify --verbose
 different_status
 different_status --direct
 
-run_test 1 "error: tst-support_record_failure.c:115: not true: false
+run_test 1 "error: tst-support_record_failure.c:116: not true: false
 error: 1 test failures" --test-verify-exit
 # --direct does not print the summary error message if exit is called.
-run_test 1 "error: tst-support_record_failure.c:115: not true: false" \
+run_test 1 "error: tst-support_record_failure.c:116: not true: false" \
 	 --direct --test-verify-exit
diff --git a/support/tst-support_record_failure.c b/support/tst-support_record_failure.c
index 62d8e1f..e739e73 100644
--- a/support/tst-support_record_failure.c
+++ b/support/tst-support_record_failure.c
@@ -25,6 +25,7 @@
 #include <stdbool.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 
 static int exit_status_with_failure = -1;
 static bool test_verify;

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

Summary of changes:
 ChangeLog                               |    9 +++++++++
 stdio-common/bug25.c                    |    1 +
 support/tst-support_format_dns_packet.c |    4 ++++
 support/tst-support_record_failure-2.sh |   10 +++++-----
 support/tst-support_record_failure.c    |    1 +
 5 files changed, 20 insertions(+), 5 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]