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.24-592-g73dfd08


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  73dfd088936b9237599e4ab737c7ae2ea7d710e1 (commit)
       via  8e2c31b57fc8ade88e2d3f64c007bce49ed82daa (commit)
       via  34a63b097335d3411080b5b6e5b164ab36563847 (commit)
      from  779032576d9275b627c547f6a539e12b615a91eb (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=73dfd088936b9237599e4ab737c7ae2ea7d710e1

commit 73dfd088936b9237599e4ab737c7ae2ea7d710e1
Author: Florian Weimer <fweimer@redhat.com>
Date:   Sun Jan 1 09:35:45 2017 +0100

    support: struct netent portability fix for support_format_netent

diff --git a/ChangeLog b/ChangeLog
index 7b7508b..8a163cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-01-01  Florian Weimer  <fweimer@redhat.com>
 
+	* support/support_format_netent.c (support_format_netent): Work
+	around alpha struct netent definition difference.
+
+2017-01-01  Florian Weimer  <fweimer@redhat.com>
+
 	* support/xwrite.c (xwrite): Use %td for pointer difference.
 
 2017-01-01  Florian Weimer  <fweimer@redhat.com>
diff --git a/support/support_format_netent.c b/support/support_format_netent.c
index 73cd0fe..020f572 100644
--- a/support/support_format_netent.c
+++ b/support/support_format_netent.c
@@ -43,7 +43,9 @@ support_format_netent (struct netent *e)
     fprintf (mem.out, "alias: %s\n", *ap);
   if (e->n_addrtype != AF_INET)
     fprintf (mem.out, "addrtype: %d\n", e->n_addrtype);
-  fprintf (mem.out, "net: 0x%08x\n", e->n_net);
+  /* On alpha, e->n_net is an unsigned long.  */
+  unsigned int n_net = e->n_net;
+  fprintf (mem.out, "net: 0x%08x\n", n_net);
 
   xfclose_memstream (&mem);
   return mem.buffer;

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8e2c31b57fc8ade88e2d3f64c007bce49ed82daa

commit 8e2c31b57fc8ade88e2d3f64c007bce49ed82daa
Author: Florian Weimer <fweimer@redhat.com>
Date:   Sun Jan 1 09:27:54 2017 +0100

    support: Use %td for pointer difference in xwrite

diff --git a/ChangeLog b/ChangeLog
index 7259267..7b7508b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-01-01  Florian Weimer  <fweimer@redhat.com>
 
+	* support/xwrite.c (xwrite): Use %td for pointer difference.
+
+2017-01-01  Florian Weimer  <fweimer@redhat.com>
+
 	* malloc/Makefile (tests): Add tst-malloc-usable-tunables for
 	have-tunables only.
 	(tests-static): Add tst-malloc-usable-static-tunables for
diff --git a/support/xwrite.c b/support/xwrite.c
index a435d69..134e8ee 100644
--- a/support/xwrite.c
+++ b/support/xwrite.c
@@ -29,10 +29,10 @@ xwrite (int fd, const void *buffer, size_t length)
     {
       ssize_t ret = write (fd, p, end - p);
       if (ret < 0)
-        FAIL_EXIT1 ("write of %zu bytes failed after %zd: %m",
+        FAIL_EXIT1 ("write of %zu bytes failed after %td: %m",
                     length, p - (const char *) buffer);
       if (ret == 0)
-        FAIL_EXIT1 ("write return 0 after writing %zd bytes of %zu",
+        FAIL_EXIT1 ("write return 0 after writing %td bytes of %zu",
                     p - (const char *) buffer, length);
       p += ret;
     }

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=34a63b097335d3411080b5b6e5b164ab36563847

commit 34a63b097335d3411080b5b6e5b164ab36563847
Author: Florian Weimer <fweimer@redhat.com>
Date:   Sun Jan 1 09:27:03 2017 +0100

    malloc: Run tunables tests only if tunables are enabled
    
    Otherwise, the environment variable will not have any effect and
    the test will fail.

diff --git a/ChangeLog b/ChangeLog
index 814b05c..7259267 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-01-01  Florian Weimer  <fweimer@redhat.com>
+
+	* malloc/Makefile (tests): Add tst-malloc-usable-tunables for
+	have-tunables only.
+	(tests-static): Add tst-malloc-usable-static-tunables for
+	have-tunables only.
+
 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
 
 	* scripts/config.guess: Update to version 2017-01-01.
diff --git a/malloc/Makefile b/malloc/Makefile
index bbe5083..e93b83b 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -33,13 +33,16 @@ tests := mallocbug tst-malloc tst-valloc tst-calloc tst-obstack \
 	 tst-mallocfork2 \
 	 tst-interpose-nothread \
 	 tst-interpose-thread \
-	 tst-malloc-usable-tunables
 
 tests-static := \
 	 tst-interpose-static-nothread \
 	 tst-interpose-static-thread \
 	 tst-malloc-usable-static \
-	 tst-malloc-usable-static-tunables
+
+ifneq (no,$(have-tunables))
+tests += tst-malloc-usable-tunables
+tests-static += tst-malloc-usable-static-tunables
+endif
 
 tests += $(tests-static)
 test-srcs = tst-mtrace

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

Summary of changes:
 ChangeLog                       |   16 ++++++++++++++++
 malloc/Makefile                 |    7 +++++--
 support/support_format_netent.c |    4 +++-
 support/xwrite.c                |    4 ++--
 4 files changed, 26 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]