mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
common: Support MYPROC_SELF_EXE for Solaris
* common/homedir.c (MYPROC_SELF_EXE): Add case for SunOS. -- GnuPG-bug-id: 5671
This commit is contained in:
parent
62f838ea1f
commit
50e43af3f1
2 changed files with 3 additions and 1 deletions
|
@ -210,7 +210,7 @@ _init_common_subsystems (gpg_err_source_t errsource, int *argcp, char ***argvp)
|
|||
{
|
||||
/* Don't show the error if the program does not have a console.
|
||||
* This is for example the case for daemons. */
|
||||
in rc = GetLastError ();
|
||||
int rc = GetLastError ();
|
||||
if (rc != ERROR_INVALID_HANDLE)
|
||||
{
|
||||
log_info ("SetConsoleCP failed: %s\n", w32_strerror (rc));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue