From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 3FFB53858409; Wed, 19 Jan 2022 00:37:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FFB53858409 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] newlib: iconv: sync mkdeps.pl with aliasesbi.c changes X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: ac3d869afbf9f26cd6ea42e1c5acc0e498f6556b X-Git-Newrev: 7113ecbe798da958dd6e47378ce831555b81ffc6 Message-Id: <20220119003709.3FFB53858409@sourceware.org> Date: Wed, 19 Jan 2022 00:37:09 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2022 00:37:09 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D7113ecbe798= da958dd6e47378ce831555b81ffc6 commit 7113ecbe798da958dd6e47378ce831555b81ffc6 Author: Mike Frysinger Date: Mon Jan 17 21:34:26 2022 -0500 newlib: iconv: sync mkdeps.pl with aliasesbi.c changes =20 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 =3D\n"; + print ALIASESBI_C "const char\n"; + print ALIASESBI_C "$var_aliases\[\] =3D\n"; print ALIASESBI_C "{\n"; =20 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"; =20 close ALIASESBI_C or err "Error while closing ../lib/aliasesbi.c file."; }