]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: globals: make __progname an alias of program_invocation_short_name
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 31 Jan 2024 14:21:31 +0000 (15:21 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 31 Jan 2024 19:11:58 +0000 (20:11 +0100)
commitb2476bc5232246278bc6a40e812785270bccb668
tree17d28f501d2ce2dd74ea552f1afd3a7070cae862
parentbded8091c438d18e1d259864d773891a747c7576
Cygwin: globals: make __progname an alias of program_invocation_short_name

On Linux, __progname and program_invocation_short_name are just
different exported names of the same string.  Do the same in Cygwin.
This requires to tweak the mkglobals_h so as not to touch the
EXPORT_ALIAS expression.  Also, use the base variable
program_invocation_short_name throughout.  __progname is just
the export for getopt.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/dcrt0.cc
winsup/cygwin/fhandler/serial.cc
winsup/cygwin/globals.cc
winsup/cygwin/scripts/mkglobals_h
winsup/cygwin/strace.cc
This page took 0.03454 seconds and 5 git commands to generate.