gnulib.git
23 years ago*** empty log message *** TEXTUTILS-2_0g
Jim Meyering [Thu, 3 Aug 2000 23:10:28 +0000 (23:10 +0000)]
*** empty log message ***

23 years ago(SET_HIGH_BOUND, MOVE_BUFFER_POINTER,
Jim Meyering [Thu, 3 Aug 2000 23:10:05 +0000 (23:10 +0000)]
(SET_HIGH_BOUND, MOVE_BUFFER_POINTER,
ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros.
(EXTEND_BUFFER): Use them.

23 years ago*** empty log message ***
Jim Meyering [Tue, 1 Aug 2000 07:10:10 +0000 (07:10 +0000)]
*** empty log message ***

23 years ago(ISSLASH): Define.
Jim Meyering [Tue, 1 Aug 2000 07:10:05 +0000 (07:10 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 18:30:27 +0000 (18:30 +0000)]
*** empty log message ***

23 years ago(quotearg_n_options): Don't make the initial
Jim Meyering [Mon, 31 Jul 2000 18:30:21 +0000 (18:30 +0000)]
(quotearg_n_options): Don't make the initial
slot vector a constant, since it might get modified.

23 years agoTweak comments, per Bruno's comments.
Jim Meyering [Mon, 31 Jul 2000 12:31:44 +0000 (12:31 +0000)]
Tweak comments, per Bruno's comments.

23 years agoTweak comments, per Bruno's comments.
Jim Meyering [Mon, 31 Jul 2000 12:30:24 +0000 (12:30 +0000)]
Tweak comments, per Bruno's comments.

23 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 07:48:05 +0000 (07:48 +0000)]
*** empty log message ***

23 years ago(quotearg_n_options): Preallocate a slot 0
Jim Meyering [Mon, 31 Jul 2000 07:23:01 +0000 (07:23 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jul 2000 06:50:30 +0000 (06:50 +0000)]
*** empty log message ***

23 years agoUse `virtual memory exhausted', not `Memory exhausted'.
Jim Meyering [Mon, 31 Jul 2000 06:44:51 +0000 (06:44 +0000)]
Use `virtual memory exhausted', not `Memory exhausted'.

23 years ago.
Jim Meyering [Sun, 30 Jul 2000 16:49:47 +0000 (16:49 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 30 Jul 2000 16:25:01 +0000 (16:25 +0000)]
*** empty log message ***

23 years ago(make_path): Quote the other instance, too.
Jim Meyering [Sun, 30 Jul 2000 16:24:51 +0000 (16:24 +0000)]
(make_path): Quote the other instance, too.

23 years ago(dir_name): Use __MSDOS__ in favor of MSDOS.
Jim Meyering [Sat, 29 Jul 2000 17:11:33 +0000 (17:11 +0000)]
(dir_name): Use __MSDOS__ in favor of MSDOS.

23 years ago*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 17:06:53 +0000 (17:06 +0000)]
*** empty log message ***

23 years ago(diacrit_diac): Use __MSDOS__ in favor of MSDOS.
Jim Meyering [Sat, 29 Jul 2000 17:06:00 +0000 (17:06 +0000)]
(diacrit_diac): Use __MSDOS__ in favor of MSDOS.

23 years ago(base_name): Use ISSLASH rather than comparing against `/'.
Jim Meyering [Sat, 29 Jul 2000 16:45:30 +0000 (16:45 +0000)]
(base_name): Use ISSLASH rather than comparing against `/'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 08:15:37 +0000 (08:15 +0000)]
*** empty log message ***

23 years agoremove prematurely-added ISSLASH definition
Jim Meyering [Sat, 29 Jul 2000 08:15:01 +0000 (08:15 +0000)]
remove prematurely-added ISSLASH definition

23 years ago(dir_name): Assert that there are no trailing slashes.
Jim Meyering [Sat, 29 Jul 2000 08:10:46 +0000 (08:10 +0000)]
(dir_name): Assert that there are no trailing slashes.

23 years ago*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 08:00:17 +0000 (08:00 +0000)]
*** empty log message ***

23 years ago(dir_name) [MSDOS]: Declare `lim' to be const.
Jim Meyering [Sat, 29 Jul 2000 08:00:11 +0000 (08:00 +0000)]
(dir_name) [MSDOS]: Declare `lim' to be const.

23 years ago*** empty log message ***
Jim Meyering [Sat, 29 Jul 2000 06:09:43 +0000 (06:09 +0000)]
*** empty log message ***

23 years agotweak comments
Jim Meyering [Sat, 29 Jul 2000 06:09:22 +0000 (06:09 +0000)]
tweak comments

23 years ago(mbswidth): Add a flags argument.
Jim Meyering [Sat, 29 Jul 2000 06:02:28 +0000 (06:02 +0000)]
(mbswidth): Add a flags argument.
(mbswidth): New declaration.
(MBSW_ACCEPT_INVALID, MBSW_ACCEPT_UNPRINTABLE): New macros.

23 years ago.
Jim Meyering [Sat, 29 Jul 2000 05:47:42 +0000 (05:47 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Mon, 24 Jul 2000 16:30:03 +0000 (16:30 +0000)]
*** empty log message ***

23 years ago(mbswidth): Add a flags argument.
Jim Meyering [Mon, 24 Jul 2000 16:29:57 +0000 (16:29 +0000)]
(mbswidth): Add a flags argument.
(mbsnwidth): New function.

23 years ago(jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
Jim Meyering [Mon, 24 Jul 2000 06:42:17 +0000 (06:42 +0000)]
(jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.

23 years ago*** empty log message ***
Jim Meyering [Mon, 24 Jul 2000 06:42:04 +0000 (06:42 +0000)]
*** empty log message ***

23 years ago(_XOPEN_SOURCE): Don't define; this causes problems on Solaris 7.
Jim Meyering [Mon, 24 Jul 2000 06:41:58 +0000 (06:41 +0000)]
(_XOPEN_SOURCE): Don't define; this causes problems on Solaris 7.
(wcwidth) [!HAVE_DECL_WCWIDTH]: Declare.

23 years ago*** empty log message ***
Jim Meyering [Mon, 24 Jul 2000 06:14:32 +0000 (06:14 +0000)]
*** empty log message ***

23 years agoInclude <wchar.h> even if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX),
Jim Meyering [Mon, 24 Jul 2000 06:14:19 +0000 (06:14 +0000)]
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.

23 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 21:48:28 +0000 (21:48 +0000)]
*** empty log message ***

23 years agoStreamline by invoking multibyte code only if needed.
Jim Meyering [Sun, 23 Jul 2000 21:48:17 +0000 (21:48 +0000)]
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.

23 years agofix typos (missing commas) FILEUTILS-4_0x
Jim Meyering [Sun, 23 Jul 2000 18:44:35 +0000 (18:44 +0000)]
fix typos (missing commas)

23 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 15:27:19 +0000 (15:27 +0000)]
*** empty log message ***

23 years ago(jm_CHECK_DECLS): Check for declarations of these, too:
Jim Meyering [Sun, 23 Jul 2000 15:27:11 +0000 (15:27 +0000)]
(jm_CHECK_DECLS): Check for declarations of these, too:
getgrgid, getpwuid, getuid.

23 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 09:25:19 +0000 (09:25 +0000)]
*** empty log message ***

23 years ago(base_name): Add an assertion.
Jim Meyering [Sun, 23 Jul 2000 09:25:14 +0000 (09:25 +0000)]
(base_name): Add an assertion.

23 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 08:38:30 +0000 (08:38 +0000)]
*** empty log message ***

23 years agoWhen the system forces us to redefine mbstate_t, shadow its mbsinit function.
Jim Meyering [Sun, 23 Jul 2000 08:38:25 +0000 (08:38 +0000)]
When the system forces us to redefine mbstate_t, shadow its mbsinit function.

23 years ago.
Jim Meyering [Mon, 17 Jul 2000 20:46:35 +0000 (20:46 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 20:45:03 +0000 (20:45 +0000)]
*** empty log message ***

23 years ago(libfetish_a_SOURCES): Add mbswidth.c.
Jim Meyering [Mon, 17 Jul 2000 20:45:00 +0000 (20:45 +0000)]
(libfetish_a_SOURCES): Add mbswidth.c.
(noinst_HEADERS): Add mbswidth.h.

23 years agofrom Bruno Haible.
Jim Meyering [Mon, 17 Jul 2000 20:42:12 +0000 (20:42 +0000)]
from Bruno Haible.

23 years ago(jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
Jim Meyering [Mon, 17 Jul 2000 20:40:39 +0000 (20:40 +0000)]
(jm_PREREQ): Call jm_PREREQ_MBSWIDTH.

23 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 20:40:18 +0000 (20:40 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 20:05:40 +0000 (20:05 +0000)]
*** empty log message ***

23 years agoAdd support for FreeBSD. Improve support for HP-UX and IRIX 6.
Jim Meyering [Mon, 17 Jul 2000 20:05:30 +0000 (20:05 +0000)]
Add support for FreeBSD. Improve support for HP-UX and IRIX 6.

23 years ago.
Jim Meyering [Mon, 17 Jul 2000 19:43:38 +0000 (19:43 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jul 2000 13:27:37 +0000 (13:27 +0000)]
*** empty log message ***

23 years agoInclude quote.h.
Jim Meyering [Sat, 15 Jul 2000 13:27:30 +0000 (13:27 +0000)]
Include quote.h.
(make_path): Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Give better diagnostics.

23 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jul 2000 09:58:14 +0000 (09:58 +0000)]
*** empty log message ***

23 years ago(libfetish_a_SOURCES): Add quote.c.
Jim Meyering [Sat, 15 Jul 2000 09:58:10 +0000 (09:58 +0000)]
(libfetish_a_SOURCES): Add quote.c.
(noinst_HEADERS): Add quote.h.

23 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jul 2000 09:57:38 +0000 (09:57 +0000)]
*** empty log message ***

23 years ago(quote, quote_n): New file. Two functions taken verbatim
Jim Meyering [Sat, 15 Jul 2000 09:57:19 +0000 (09:57 +0000)]
(quote, quote_n): New file.  Two functions taken verbatim
from tar's src/misc.c.

23 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 21:18:00 +0000 (21:18 +0000)]
*** empty log message ***

23 years ago(jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
Jim Meyering [Fri, 14 Jul 2000 21:17:51 +0000 (21:17 +0000)]
(jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.

23 years ago(jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
Jim Meyering [Fri, 14 Jul 2000 15:58:34 +0000 (15:58 +0000)]
(jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.

23 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 15:57:09 +0000 (15:57 +0000)]
*** empty log message ***

23 years ago(AC_MBSTATE_T): Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
Jim Meyering [Fri, 14 Jul 2000 15:56:42 +0000 (15:56 +0000)]
(AC_MBSTATE_T): Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
and mbstate_t, to a single-part test that simply defines mbstate_t.

23 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 15:55:13 +0000 (15:55 +0000)]
*** empty log message ***

23 years ago(mbrtowc): Do not use HAVE_WCHAR_H in the definition.
Jim Meyering [Fri, 14 Jul 2000 13:56:07 +0000 (13:56 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 11:27:06 +0000 (11:27 +0000)]
*** empty log message ***

23 years ago(enum quoting style): New enum clocale_quoting_style.
Jim Meyering [Fri, 14 Jul 2000 11:27:00 +0000 (11:27 +0000)]
(enum quoting style): New enum clocale_quoting_style.

23 years ago(quoting_style_args, quoting_style_vals,
Jim Meyering [Fri, 14 Jul 2000 11:26:28 +0000 (11:26 +0000)]
(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.

23 years agoTweak a comment to make it less negative about BeOS.
Jim Meyering [Mon, 10 Jul 2000 11:41:50 +0000 (11:41 +0000)]
Tweak a comment to make it less negative about BeOS.
From Bruno Haible.

23 years ago*** empty log message ***
Jim Meyering [Mon, 10 Jul 2000 11:30:54 +0000 (11:30 +0000)]
*** empty log message ***

23 years agoMirror the correction made in autoconf.
Jim Meyering [Mon, 10 Jul 2000 11:30:50 +0000 (11:30 +0000)]
Mirror the correction made in autoconf.

23 years ago*** empty log message ***
Jim Meyering [Mon, 10 Jul 2000 08:26:51 +0000 (08:26 +0000)]
*** empty log message ***

23 years agoOutput to confdefs.h directly.
Jim Meyering [Mon, 10 Jul 2000 08:26:36 +0000 (08:26 +0000)]
Output to confdefs.h directly.

23 years ago.
Jim Meyering [Sun, 9 Jul 2000 17:53:14 +0000 (17:53 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 17:46:16 +0000 (17:46 +0000)]
*** empty log message ***

23 years ago(jm_MACROS): Add a test to see if -lm is required
Jim Meyering [Sun, 9 Jul 2000 17:46:11 +0000 (17:46 +0000)]
(jm_MACROS): Add a test to see if -lm is required
to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.

23 years ago.
Jim Meyering [Sun, 9 Jul 2000 17:25:35 +0000 (17:25 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 17:25:03 +0000 (17:25 +0000)]
*** empty log message ***

23 years ago(AC__GNU_SOURCE): New file/macro.
Jim Meyering [Sun, 9 Jul 2000 17:24:41 +0000 (17:24 +0000)]
(AC__GNU_SOURCE): New file/macro.

23 years ago(jm_CHECK_ALL_TYPES): Require it.
Jim Meyering [Sun, 9 Jul 2000 17:24:27 +0000 (17:24 +0000)]
(jm_CHECK_ALL_TYPES): Require it.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 15:48:14 +0000 (15:48 +0000)]
*** empty log message ***

23 years agoThe old behavior of quoting `like this' doesn't look good with
Jim Meyering [Sun, 9 Jul 2000 15:46:46 +0000 (15:46 +0000)]
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.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 07:26:44 +0000 (07:26 +0000)]
*** empty log message ***

23 years ago(ENAMETOOLONG): Define to an unlikely value if not defined.
Jim Meyering [Sun, 9 Jul 2000 07:26:34 +0000 (07:26 +0000)]
(ENAMETOOLONG): Define to an unlikely value if not defined.
(xgethostname): Remove now-unnecessary #ifdef.
Move declaration of `err' into loop where it's used.

23 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 07:23:19 +0000 (07:23 +0000)]
*** empty log message ***

23 years agoupdate copyright date
Jim Meyering [Sun, 9 Jul 2000 07:22:43 +0000 (07:22 +0000)]
update copyright date

23 years ago(xgethostname): Protect against the SunOS5.5 bug
Jim Meyering [Sat, 8 Jul 2000 21:48:07 +0000 (21:48 +0000)]
(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.

23 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jul 2000 05:22:57 +0000 (05:22 +0000)]
*** empty log message ***

23 years agoInclude <ctype.h> for use of isalpha.
Jim Meyering [Thu, 6 Jul 2000 05:22:55 +0000 (05:22 +0000)]
Include <ctype.h> for use of isalpha.

23 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jul 2000 05:20:18 +0000 (05:20 +0000)]
*** empty log message ***

23 years ago(AC_FUNC_STRERROR_R): Pass a reasonably large buffer to strerror_r.
Jim Meyering [Thu, 6 Jul 2000 05:20:15 +0000 (05:20 +0000)]
(AC_FUNC_STRERROR_R): Pass a reasonably large buffer to strerror_r.

23 years ago.
Jim Meyering [Thu, 6 Jul 2000 04:48:11 +0000 (04:48 +0000)]
.

23 years ago(mbrtowc): Declare returned type, since BeOS doesn't.
Jim Meyering [Thu, 6 Jul 2000 04:47:28 +0000 (04:47 +0000)]
(mbrtowc): Declare returned type, since BeOS doesn't.

23 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jul 2000 04:46:57 +0000 (04:46 +0000)]
*** empty log message ***

23 years ago(AC_MBSTATE_T_OBJECT): Test for mbstate_t
Jim Meyering [Thu, 6 Jul 2000 04:46:48 +0000 (04:46 +0000)]
(AC_MBSTATE_T_OBJECT): Test for mbstate_t
only if the test for an object-type mbstate_t fails.  This
prevents us from mistakenly reporting that mbstate_t is a
system object type after we "#define mbstate_t int" to work
around its lack.

23 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jul 2000 04:32:11 +0000 (04:32 +0000)]
*** empty log message ***

23 years ago(struct quoting_options): Simplify quote_these_too dimension.
Jim Meyering [Thu, 6 Jul 2000 04:31:59 +0000 (04:31 +0000)]
(struct quoting_options): Simplify quote_these_too dimension.

23 years ago*** empty log message *** SH-UTILS-2_0j
Jim Meyering [Tue, 4 Jul 2000 17:37:47 +0000 (17:37 +0000)]
*** empty log message ***

23 years ago[!HAVE_DECL_STRNLEN]: Declare strnlen.
Jim Meyering [Tue, 4 Jul 2000 17:37:43 +0000 (17:37 +0000)]
[!HAVE_DECL_STRNLEN]: Declare strnlen.