Jim Meyering
a5b5eb21f9
*** empty log message ***
2000-08-03 23:10:28 +00:00
Jim Meyering
641dabb657
(SET_HIGH_BOUND, MOVE_BUFFER_POINTER,
...
ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros.
(EXTEND_BUFFER): Use them.
2000-08-03 23:10:05 +00:00
Jim Meyering
fe15457dcd
*** empty log message ***
2000-08-01 07:10:10 +00:00
Jim Meyering
a55a40b616
(ISSLASH): Define.
...
(BACKSLASH_IS_PATH_SEPARATOR): Define.
(dir_name) [BACKSLASH_IS_PATH_SEPARATOR]: Handle the case in which
both `\' and `/' may be use as path separators.
Based on a patch from Prashant TR.
2000-08-01 07:10:05 +00:00
Jim Meyering
d203fb94d2
*** empty log message ***
2000-07-31 18:30:27 +00:00
Jim Meyering
8baafe1f08
(quotearg_n_options): Don't make the initial
...
slot vector a constant, since it might get modified.
2000-07-31 18:30:21 +00:00
Jim Meyering
07e0171826
Tweak comments, per Bruno's comments.
2000-07-31 12:31:44 +00:00
Jim Meyering
d034a083ab
Tweak comments, per Bruno's comments.
2000-07-31 12:30:24 +00:00
Jim Meyering
cbed17e88a
*** empty log message ***
2000-07-31 07:48:05 +00:00
Jim Meyering
ef49ee4777
(quotearg_n_options): Preallocate a slot 0
...
buffer, so that the caller can always quote one small
component of a "memory exhausted" message in slot 0.
From a suggestion by Jim Meyering.
2000-07-31 07:23:01 +00:00
Jim Meyering
a2e30297d1
*** empty log message ***
2000-07-31 06:50:26 +00:00
Jim Meyering
4e02f20bd3
Use virtual memory exhausted', not Memory exhausted'.
2000-07-31 06:47:33 +00:00
Jim Meyering
5a95ad0a73
Use virtual memory exhausted', not Memory exhausted'.
2000-07-31 06:44:51 +00:00
Jim Meyering
3048ed8790
.
2000-07-30 16:49:47 +00:00
Jim Meyering
1f9d1ea959
*** empty log message ***
2000-07-30 16:25:01 +00:00
Jim Meyering
eb128f8a49
(make_path): Quote the other instance, too.
2000-07-30 16:24:51 +00:00
Jim Meyering
048017b39c
(dir_name): Use __MSDOS__ in favor of MSDOS.
2000-07-29 17:11:33 +00:00
Jim Meyering
734d411884
*** empty log message ***
2000-07-29 17:06:53 +00:00
Jim Meyering
4524bbcaf8
(diacrit_diac): Use __MSDOS__ in favor of MSDOS.
2000-07-29 17:06:00 +00:00
Jim Meyering
70c58e8192
(base_name): Use ISSLASH rather than comparing against `/'.
2000-07-29 16:45:30 +00:00
Jim Meyering
7ddc6c5927
*** empty log message ***
2000-07-29 08:15:37 +00:00
Jim Meyering
043c4958de
remove prematurely-added ISSLASH definition
2000-07-29 08:15:01 +00:00
Jim Meyering
3819c2d7cb
(dir_name): Assert that there are no trailing slashes.
2000-07-29 08:10:46 +00:00
Jim Meyering
ba8620bf01
*** empty log message ***
2000-07-29 08:00:17 +00:00
Jim Meyering
e32586114e
(dir_name) [MSDOS]: Declare `lim' to be const.
2000-07-29 08:00:11 +00:00
Jim Meyering
cbcd5929c1
*** empty log message ***
2000-07-29 06:09:43 +00:00
Jim Meyering
e6db9876a0
tweak comments
2000-07-29 06:09:22 +00:00
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