diff options
author | Christopher Faylor <me@cgf.cx> | 2010-12-27 00:11:38 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-12-27 00:11:38 +0300 |
commit | 589e430baaacf262a725154b4c437387f4ac2160 (patch) | |
tree | 9d807912daf81427f5ac936ab5439eddf5749d22 /winsup/cygwin/cygwin.din | |
parent | d64bda8409e7f670fb5782cf7e9505a48504c8ef (diff) |
cygwin:
* cygwin.din: Export program_invocation_name and
program_invocation_short_name.
* dcrt0.cc: Set program_invocation*name to correct values, based on
argv[0].
* globals.cc (program_invocation_name): Define.
(program_invocation_short_name): Ditto
newlib:
* libc/include/sys/errno.h (program_invocation_name): Declare.
(program_invocation_short_name): Ditto.
Diffstat (limited to 'winsup/cygwin/cygwin.din')
-rw-r--r-- | winsup/cygwin/cygwin.din | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index 4de550fcc..3ebba1c67 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -1161,6 +1161,8 @@ powf NOSIGFE _powf = powf NOSIGFE pread SIGFE printf SIGFE +program_invocation_name DATA +program_invocation_short_name DATA _printf = printf SIGFE pselect SIGFE pthread_atfork SIGFE |