diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-03-29 15:18:10 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-03-29 15:18:10 +0400 |
commit | da0086338992af1ca0cb8dfdab3199a36473611b (patch) | |
tree | ffb179a44fc1d47b15e6466b68ec18de25526f59 /winsup/cygwin/cygtls.h | |
parent | 39735c85f2bc07871aee587a9aecd0af50252f29 (diff) |
* cygtls.h (struct _local_storage): Redefine process_ident as wchar_t
pointer.
* syslog.cc (CYGWIN_LOG_NAME): Convert to wide char constant.
(openlog): Convert incoming ident string to wide char. Fix formatting.
(vsyslog): Print ident string as wide char string. Convert message
string to wide char and call UNICODE Win32 Event functions to make sure
to use correct codeset.
* tlsoffset.h: Regenerate.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r-- | winsup/cygwin/cygtls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index 408bcc27f..230a7e3af 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -115,7 +115,7 @@ struct _local_storage char strerror_buf[sizeof ("Unknown error 4294967295")]; /* sysloc.cc */ - char *process_ident; // note: malloced + wchar_t *process_ident; // note: malloced int process_logopt; int process_facility; int process_logmask; |