Some debug messages were disabled for old environment which don't have
fwprintf(), such as redhat-6.x.
This commit is contained in:
parent
9d61272550
commit
b04d4720ce
1 changed files with 2 additions and 0 deletions
2
src/im.c
2
src/im.c
|
|
@ -572,9 +572,11 @@ static int charmap_load(CHARMAP* cm, const char* path)
|
|||
size_t i = 0;
|
||||
|
||||
#ifndef __BEOS__
|
||||
#if defined __GLIBC__ && __GLIBC__ == 2 && __GLIBC_MINOR__ >=2 || __GLIBC__ > 2 || __APPLE__
|
||||
fwprintf(stderr, L"Unable to add sequence '%ls', unicode ", buf);
|
||||
for(i = 0; i < wcslen(unicode); i++) fwprintf(stderr, L"%04X ", (int)unicode[i]);
|
||||
fwprintf(stderr, L"in section %d\n", section);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
error_code = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue