Jim Meyering
f247c7bd44
(mbswidth): Add a flags argument.
...
(mbswidth): New declaration.
(MBSW_ACCEPT_INVALID, MBSW_ACCEPT_UNPRINTABLE): New macros.
2000-07-29 06:02:28 +00:00
Jim Meyering
e7a7601ef4
.
2000-07-29 05:47:42 +00:00
Jim Meyering
50631d7b81
*** empty log message ***
2000-07-24 16:30:03 +00:00
Jim Meyering
18051fbbb3
(mbswidth): Add a flags argument.
...
(mbsnwidth): New function.
2000-07-24 16:29:57 +00:00
Jim Meyering
b083f93482
*** empty log message ***
2000-07-24 06:42:04 +00:00
Jim Meyering
66a0218c1a
(_XOPEN_SOURCE): Don't define; this causes problems on Solaris 7.
...
(wcwidth) [!HAVE_DECL_WCWIDTH]: Declare.
2000-07-24 06:41:58 +00:00
Jim Meyering
50c130325e
*** empty log message ***
2000-07-24 06:14:32 +00:00
Jim Meyering
1978f56515
Include <wchar.h> even if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX),
...
so that mbstate_t is always defined.
Do not inspect MB_LEN_MAX, since it's incorrectly defined to
be 1 in at least one GCC installation, and this configuration
error is likely to be common. Ignoring MB_LEN_MAX hurts
performance on hosts that have mbrtowc but have only unibyte
locales, but I assume these hosts are rare.
2000-07-24 06:14:19 +00:00
Jim Meyering
d53f7b9a5d
*** empty log message ***
2000-07-23 21:48:28 +00:00
Jim Meyering
d565aeb336
Streamline by invoking multibyte code only if needed.
...
<wchar.h>: Include only if HAVE_MBRTOWC && 1 < MB_LEN_MAX.
(MB_CUR_MAX): Redefine to 1 if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX).
(quotearg_buffer_restyled): If a unibyte locale, don't bother to
invoke multibyte primitives.
2000-07-23 21:48:17 +00:00
Jim Meyering
2eb0dc10c3
*** empty log message ***
2000-07-23 09:25:19 +00:00
Jim Meyering
2546495dab
(base_name): Add an assertion.
2000-07-23 09:25:14 +00:00
Jim Meyering
b03e65037c
*** empty log message ***
2000-07-23 08:38:30 +00:00
Jim Meyering
e62f7a5962
When the system forces us to redefine mbstate_t, shadow its mbsinit function.
2000-07-23 08:38:25 +00:00
Jim Meyering
fd2d83d617
.
2000-07-17 20:46:35 +00:00
Jim Meyering
46fb83f548
*** empty log message ***
2000-07-17 20:45:03 +00:00
Jim Meyering
a9027c8afd
(libfetish_a_SOURCES): Add mbswidth.c.
...
(noinst_HEADERS): Add mbswidth.h.
2000-07-17 20:45:00 +00:00
Jim Meyering
d1316a4669
*** empty log message ***
2000-07-17 20:43:18 +00:00
Jim Meyering
c00612504b
from Bruno Haible.
2000-07-17 20:42:46 +00:00
Jim Meyering
d0192db8ac
from Bruno Haible.
2000-07-17 20:42:12 +00:00
Jim Meyering
5829e323e8
*** empty log message ***
2000-07-17 20:05:40 +00:00
Jim Meyering
0a3e5544ba
Add support for FreeBSD. Improve support for HP-UX and IRIX 6.
2000-07-17 20:05:30 +00:00
Jim Meyering
9ef04e4fa6
.
2000-07-17 19:43:38 +00:00
Jim Meyering
a23c477555
*** empty log message ***
2000-07-15 13:27:37 +00:00
Jim Meyering
da8dd781de
Include quote.h.
...
(make_path): Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Give better diagnostics.
2000-07-15 13:27:30 +00:00
Jim Meyering
2b4d177553
*** empty log message ***
2000-07-15 09:58:14 +00:00
Jim Meyering
3e41cabaf2
(libfetish_a_SOURCES): Add quote.c.
...
(noinst_HEADERS): Add quote.h.
2000-07-15 09:58:10 +00:00
Jim Meyering
48c6c83ef6
*** empty log message ***
2000-07-15 09:57:38 +00:00
Jim Meyering
4ee7d58704
(quote, quote_n): New file. Two functions taken verbatim
...
from tar's src/misc.c.
2000-07-15 09:57:19 +00:00
Jim Meyering
269ecb09d9
*** empty log message ***
2000-07-14 15:55:13 +00:00
Jim Meyering
e4dac83b0d
(mbrtowc): Do not use HAVE_WCHAR_H in the definition.
...
Use defined mbstate_t, not HAVE_MBSTATE_T_OBJECT,
to decide whether to define the BeOS workaround macro;
this adjusts to the change to AC_MBSTATE_T.
2000-07-14 13:56:07 +00:00
Jim Meyering
19920cfb66
*** empty log message ***
2000-07-14 11:27:06 +00:00
Jim Meyering
5ba7e086e5
(enum quoting style): New enum clocale_quoting_style.
2000-07-14 11:27:00 +00:00
Jim Meyering
83fdbce6a7
(quoting_style_args, quoting_style_vals,
...
quotearg_buffer_restyled): Add support for
clocale_quoting_style. Undo previous change to
locale_quoting_style behavior, and undo the "{LEFT QUOTATION MARK}"
and "{RIGHT QUOTATION MARK}" msgids.
2000-07-14 11:26:28 +00:00
Jim Meyering
2bf26f848f
.
2000-07-09 17:53:14 +00:00
Jim Meyering
a6ecdec89c
*** empty log message ***
2000-07-09 15:48:11 +00:00
Jim Meyering
96b16428cc
The old behavior of quoting `like this' doesn't look good with
...
newer, ISO-style fonts. See:
http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
Instead, quote "like this" by default. Let the translator
tailor the locale-specific quoting behavior by providing
translations for {LEFT QUOTATION MARK} and {RIGHT QUOTATION MARK}.
(N_): New macro.
(gettext_default): New function.
(quotearg_buffer_restyled): Use
gettext_default ("{LEFT QUOTATION MARK}", "\"") for left quote, and
gettext_default ("{RIGHT QUOTATION MARK}", "\"") for right quote.
2000-07-09 15:46:46 +00:00
Jim Meyering
17afffee22
*** empty log message ***
2000-07-09 07:26:44 +00:00
Jim Meyering
50751a7eff
(ENAMETOOLONG): Define to an unlikely value if not defined.
...
(xgethostname): Remove now-unnecessary #ifdef.
Move declaration of `err' into loop where it's used.
2000-07-09 07:26:34 +00:00
Jim Meyering
7a993dd16b
update copyright date
2000-07-09 07:24:51 +00:00
Jim Meyering
42d1574ad8
*** empty log message ***
2000-07-09 07:23:19 +00:00
Jim Meyering
fde850f7ad
update copyright date
2000-07-09 07:22:43 +00:00
Jim Meyering
3f94561e84
(xgethostname): Protect against the SunOS5.5 bug
...
by allocating a larger buffer. Test the gethostname return value for
being >= 0, not == 0, for BeOS. Don't exhaust memory if gethostname
returns an error and ENAMETOOLONG isn't defined.
2000-07-08 21:48:07 +00:00
Jim Meyering
24e6e33409
(mbrtowc): Declare returned type, since BeOS doesn't.
2000-07-06 04:47:28 +00:00
Jim Meyering
47566a14a9
*** empty log message ***
2000-07-06 04:46:57 +00:00
Jim Meyering
79ab392196
*** empty log message ***
2000-07-06 04:32:11 +00:00
Jim Meyering
98b348bce8
(struct quoting_options): Simplify quote_these_too dimension.
2000-07-06 04:31:59 +00:00
Jim Meyering
a8494c44a3
*** empty log message ***
2000-07-04 17:37:47 +00:00
Jim Meyering
1954ebfb93
[!HAVE_DECL_STRNLEN]: Declare strnlen.
2000-07-04 17:37:43 +00:00
Jim Meyering
60b5579ba9
*** empty log message ***
2000-07-04 17:32:00 +00:00