public inbox for newlib-cvs@sourceware.org help / color / mirror / Atom feed
From: Michael Frysinger <vapier@sourceware.org> To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: iconv: sync mkdeps.pl with aliasesbi.c changes Date: Wed, 19 Jan 2022 00:37:09 +0000 (GMT) [thread overview] Message-ID: <20220119003709.3FFB53858409@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7113ecbe798da958dd6e47378ce831555b81ffc6 commit 7113ecbe798da958dd6e47378ce831555b81ffc6 Author: Mike Frysinger <vapier@gentoo.org> Date: Mon Jan 17 21:34:26 2022 -0500 newlib: iconv: sync mkdeps.pl with aliasesbi.c changes Some changes were made to aliasesbi.c, but not to this file which dynamically generates it. Add those fixes to this file too. Diff: --- newlib/libc/iconv/ces/mkdeps.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newlib/libc/iconv/ces/mkdeps.pl b/newlib/libc/iconv/ces/mkdeps.pl index d78dfe8f8..68f090b0e 100755 --- a/newlib/libc/iconv/ces/mkdeps.pl +++ b/newlib/libc/iconv/ces/mkdeps.pl @@ -584,8 +584,8 @@ sub generate_aliasesbi_c($) print ALIASESBI_C "$comment_automatic\n\n"; print ALIASESBI_C "#include <_ansi.h>\n"; print ALIASESBI_C "#include \"encnames.h\"\n\n"; - print ALIASESBI_C "const char *\n"; - print ALIASESBI_C "$var_aliases =\n"; + print ALIASESBI_C "const char\n"; + print ALIASESBI_C "$var_aliases\[\] =\n"; print ALIASESBI_C "{\n"; foreach my $enc (sort keys %{$_[0]}) @@ -598,7 +598,7 @@ sub generate_aliasesbi_c($) print ALIASESBI_C "#endif\n"; } print ALIASESBI_C " \"\"\n"; - print ALIASESBI_C "};\n\n"; + print ALIASESBI_C "};\n"; close ALIASESBI_C or err "Error while closing ../lib/aliasesbi.c file."; }
reply other threads:[~2022-01-19 0:37 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220119003709.3FFB53858409@sourceware.org \ --to=vapier@sourceware.org \ --cc=newlib-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).