|
99099106
|
2006-09-14T14:18:36
|
|
Include <config.h> unconditionally.
|
|
cb72b5d9
|
2006-06-17T16:09:19
|
|
From Eric Blake: Assume errno.h declares errno.
|
|
267a39ba
|
2005-05-14T06:03:57
|
|
*** empty log message ***
|
|
57a1c061
|
2003-09-10T14:07:55
|
|
Assume ANSI C.
|
|
7dce93e9
|
2003-07-31T06:27:05
|
|
Fix comments to identify Solaris versions using the same version
numbers that Sun does.
|
|
d0723a16
|
2003-07-14T16:36:07
|
|
Switch from LGPL to GPL.
|
|
f2ec12eb
|
2003-06-20T20:55:34
|
|
Assume ANSI C.
|
|
000ad744
|
2002-12-31T13:20:21
|
|
New file localcharset.h.
|
|
b3228efa
|
2002-12-31T12:56:28
|
|
Make getline.h and unicodeio.h self-contained.
|
|
f9fa25dc
|
2002-11-05T21:45:29
|
|
Include gettext.h instead of <libintl.h> with #ifdefs.
|
|
27dc63a5
|
2002-02-11T14:28:09
|
|
2002-02-02 Paul Eggert <eggert@twinsun.com>
Bruno Haible <bruno@clisp.org>
* unicodeio.c (unicode_to_mb): New function, extracted from
print_unicode_char. Call failure callback instead of error.
(fwrite_success_callback): New function.
(exit_failure_callback): New function.
(fallback_failure_callback): New function.
(print_unicode_char): Call unicode_to_mb.
|
|
218b44aa
|
2001-03-06T18:11:01
|
|
(print_unicode_char): Simplify accordingly.
|
|
9988b806
|
2001-01-21T09:40:43
|
|
(print_unicode_char): Cast the second iconv() arg,
to avoid a warning. Add back 'const' to inptr.
|
|
caa8c454
|
2001-01-03T10:08:43
|
|
(print_unicode_char): Remove `const' from declaration of
local `inptr' to avoid warning with some system declarations of iconv.
|
|
8f34e041
|
2000-11-11T09:10:33
|
|
Back out Paul's changes while we wait for him and Bruno to reach agreement.
|
|
785114fd
|
2000-11-10T08:46:19
|
|
(ENOTSUP): Define to EINVAL if not defined.
|
|
a4aa3dcb
|
2000-11-10T08:44:51
|
|
don't back them out
|
|
e678e74f
|
2000-11-10T08:43:46
|
|
Back out the last two changes, at least for now.
|
|
ddbed2bf
|
2000-11-09T08:32:52
|
|
(MB_LEN_MAX): Make sure it's at least 6, to avoid buggy C libraries.
|
|
582b534b
|
2000-11-09T08:30:00
|
|
(<wchar.h>): Do not include; no longer needed, since we no longer use wcrtomb.
(<limits.h>): Include if HAVE_LIMITS_H.
(MB_LEN_MAX): Define if limits.h doesn't.
(convert_unicode_char): New function, with the conversion part of the
old print_unicode_char. Use wctomb, not wcrtomb. Depend on
HAVE_WCTOMB, not HAVE_WCRTOMB.
(print_unicode_char): Use convert_unicode_char to do the conversion.
|
|
34b831c8
|
2000-11-08T14:46:13
|
|
Include wchar.h.
(wcrtomb): Provide fallback definition for broken platforms.
(print_unicode_char): New alternative definition for platforms where
wchar_t is Unicode.
|
|
45fb0477
|
2000-06-25T06:54:32
|
|
(print_unicode_char): Work around ansi2knr deficiency.
|
|
51630940
|
2000-04-07T09:41:38
|
|
(print_unicode_char): Avoid triggering Solaris iconv bug.
Deal with the different error behaviour of Irix iconv.
|
|
df0c912c
|
2000-03-17T19:34:16
|
|
(<string.h>): Include only #if HAVE_STRING_H.
Otherwise, include <strings.h>
|
|
269accf8
|
2000-03-17T19:32:27
|
|
(utf8_wctomb): New function.
(print_unicode_char): Pass the Unicode character to iconv in UTF-8
format instead of in UCS-4 with platform dependent endianness.
|
|
f1ed0e84
|
2000-03-04T12:35:47
|
|
(<errno.h>): Include it.
(errno): Declare if not defined.
|
|
95ad3586
|
2000-03-01T13:22:35
|
|
New file from Bruno.
One portability tweak:
guard inclusion of stddef.h.
|