This is the mail archive of the 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.28.9000-345-g7b36d26

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  7b36d26b22d147ffc347f427f9fd584700578a94 (commit)
      from  02cd5c1a8d033d7f91fea12a66bb44d1bbf85f76 (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 -----------------------------------------------------------------;a=commitdiff;h=7b36d26b22d147ffc347f427f9fd584700578a94

commit 7b36d26b22d147ffc347f427f9fd584700578a94
Author: Samuel Thibault <>
Date:   Mon Dec 3 14:40:48 2018 +0100

    Fix test-as-const-jmp_buf-ssp.c generation on gnu-i386
    hurd's jmp_buf-ssp.sym does not define any symbol.
    scripts/ currently was emitting an empty line in that
    case, and the gawk invocation was prepending "asconst_" to it, ending up
    .../build/glibc/setjmp/test-as-const-jmp_buf-ssp.c:1:2: error: expected « = », « , », « ; », « asm » or
    « __attribute__ » at end of input
        1 |  asconst_
          |  ^~~~~~~~
            * scripts/ (main): Avoid emitting empty line when
            there is no element in `consts'.

diff --git a/ChangeLog b/ChangeLog
index 98c7ac7..030c567 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-03  Samuel Thibault  <>
+	* scripts/ (main): Avoid emitting empty line when
+	there is no element in `consts'.
 2018-12-01  Florian Weimer  <>
 	* support/support_capture_subprocess.c
diff --git a/scripts/ b/scripts/
index b7a5744..cabf401 100644
--- a/scripts/
+++ b/scripts/
@@ -153,7 +153,7 @@ def main():
         consts = compute_c_consts(sym_data,
-        print('\n'.join('#define %s %s' % c for c in sorted(consts.items())))
+        print(''.join('#define %s %s\n' % c for c in sorted(consts.items())), end='')
 if __name__ == '__main__':


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

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]