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.26-270-g3824fc3


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  3824fc38910f71c2c8cc623e788ff7eb09999642 (commit)
      from  b30082799dfcd55ccbffce1dd74179d02ee1f41c (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=3824fc38910f71c2c8cc623e788ff7eb09999642

commit 3824fc38910f71c2c8cc623e788ff7eb09999642
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Fri Sep 1 11:35:55 2017 -0700

    2017-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* stdlib/tst-atexit-common.c (crumbs): Ensure correct size.

diff --git a/ChangeLog b/ChangeLog
index b06aeda..18d77a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
+
 2017-09-01  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
diff --git a/stdlib/tst-atexit-common.c b/stdlib/tst-atexit-common.c
index d6dcf08..9ab8c1a 100644
--- a/stdlib/tst-atexit-common.c
+++ b/stdlib/tst-atexit-common.c
@@ -30,7 +30,10 @@
    check that we support at least the minimum required.  */
 #define MAX_ATEXIT 32
 
-static char crumbs[MAX_ATEXIT];
+/* Arbitrary sequence matching current registrations.  */
+const char expected[] = "00000000000000000000000003021121130211";
+
+static char crumbs[sizeof (expected)];
 static int next_slot = 0;
 
 /* Helper: flush stdout and _exit.  */
@@ -71,9 +74,6 @@ fn3 (void)
 static void
 fn_final (void)
 {
-  /* Arbitrary sequence matching current registrations.  */
-  const char expected[] = "00000000000000000000000003021121130211";
-
   if (strcmp (crumbs, expected) == 0)
     _exit_with_flush (0);
 

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

Summary of changes:
 ChangeLog                  |    4 ++++
 stdlib/tst-atexit-common.c |    8 ++++----
 2 files changed, 8 insertions(+), 4 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]