| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* src/w32-gettext.c (get_string): Pass the nul of the utf-8 string to
the conversion function but keep TRANSLEN without the nul.
--
The bug first occurred on Windows 8 but it is a real thing. Assuming
that a malloced buffer is zeroed out is not solid assumptions ;-)
|
|
|
|
| |
--
|
|
|
|
|
|
| |
* src/w32-gettext.c (CreateFileA): Rename to ...
(MyCreateFileA): ... this, but provide macro CreateFileA.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/w32-gettext.c: Guard include of <sys/types.h>. Do not
include <sys/stat.h>.
(CreateFileA) [HAVE_W32CE_SYSTEM]: New wrapper function.
(load_domain): Use native Windows API.
* src/init.c (TLS_OUT_OF_INDEXES) [HAVE_W32CE_SYSTEM,
!TLS_OUT_OF_INDEXES]: Define it.
(abort) [!__MINGW32CE__]: Define it.
|
| |
|
| |
|
|
|
|
|
| |
Remove comment cruft.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Updated some translations.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* src/w32-gettext.c (get_string): Remove extra arguments to
utf8_to_native_invocation.
(utf8_to_wchar, wchar_to_native): New function.
(utf8_to_native): Rewritten.
|
|
* src/Makefile.am (arch_sources): New variable.
(libgpg_error_la_SOURCES): Add $(arch_sources).
* src/gettext.h [HAVE_W32_SYSTEM]: Include w32-gettext.h.
* src/w32-gettext.h: New file.
* src/w32-gettext.c: New file.
* src/gpg-error.h.in: Check for gcc's constructor attribute.
Use it for gpg_err_init.
(GPG_ERR_INITIALIZED): Define if constructor is available.
* src/gpg-error.c (main) [GPG_ERR_INITIALIZED]: Don't invoke
gpg_err_init.
(i18n_init): Call bindtextdomain as well. Now that gpg-error has
its own gettext implementation, we can't rely on it anymore.
Also, repeat all the w32 stuff for fetching the registry.
|