platform/upstream/coreutils.git
24 years agoConvert "`%s'" in format strings to "%s", and wrap each
Jim Meyering [Tue, 25 Jul 2000 12:26:52 +0000 (12:26 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add more precise diagnostics.

24 years agoConvert "`%s'" in format strings to "%s", and wrap each
Jim Meyering [Tue, 25 Jul 2000 12:18:06 +0000 (12:18 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.

24 years ago(main): Remove unnecessary "%s" argument.
Jim Meyering [Tue, 25 Jul 2000 12:16:16 +0000 (12:16 +0000)]
(main): Remove unnecessary "%s" argument.

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

24 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.

24 years agoConvert "`%s'" in format strings to "%s", and wrap each
Jim Meyering [Mon, 24 Jul 2000 09:32:07 +0000 (09:32 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add more precise diagnostics.

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

24 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.

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

24 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.

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

24 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.

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

24 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.

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

24 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)

24 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 18:29:44 +0000 (18:29 +0000)]
*** empty log message ***

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

24 years agoInclude <sys/param.h> if HAVE_SYS_PARAM_H is defined,
Jim Meyering [Sun, 23 Jul 2000 16:27:13 +0000 (16:27 +0000)]
Include <sys/param.h> if HAVE_SYS_PARAM_H is defined,
rather than if _POSIX_VERSION is defined.  Remove declarations of
getpwuid, getgrgid, and getuid, now that they're in sys2.h.

24 years ago.
Jim Meyering [Sun, 23 Jul 2000 15:36:43 +0000 (15:36 +0000)]
.

24 years ago(main): Give a better diagnostic for e.g.,
Jim Meyering [Sun, 23 Jul 2000 15:36:34 +0000 (15:36 +0000)]
(main): Give a better diagnostic for e.g.,
`dd if=/dev/fd0 seek=100000000000'.
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Add many, more precise diagnostics.

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

24 years ago[!HAVE_DECL_GETPWUID]: Declare getpwuid.
Jim Meyering [Sun, 23 Jul 2000 15:28:24 +0000 (15:28 +0000)]
[!HAVE_DECL_GETPWUID]: Declare getpwuid.
[!HAVE_DECL_GETGRGID]: Declare getgrgid.
[!HAVE_DECL_GETUID]: Declare getuid.

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

24 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.

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

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

24 years agoRename tests (and hence files) to have a short
Jim Meyering [Sun, 23 Jul 2000 11:07:05 +0000 (11:07 +0000)]
Rename tests (and hence files) to have a short
enough prefix so that they're not truncated on 8+3 file systems.
Reported by Eli Zaretskii.

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

24 years ago.
Jim Meyering [Sun, 23 Jul 2000 10:59:53 +0000 (10:59 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jul 2000 10:58:52 +0000 (10:58 +0000)]
*** empty log message ***

24 years agoFix cp so that `cp -r DIR1/ DIR2' works once again.
Jim Meyering [Sun, 23 Jul 2000 10:54:01 +0000 (10:54 +0000)]
Fix cp so that `cp -r DIR1/ DIR2' works once again.
(ASSIGN_BASENAME_STRDUPA): New macro.
(do_copy): Use it here (so we always strip trailing slashes before
calling base_name).

24 years ago(ASSIGN_STRDUPA): Remove macro definition.
Jim Meyering [Sun, 23 Jul 2000 10:52:05 +0000 (10:52 +0000)]
(ASSIGN_STRDUPA): Remove macro definition.

24 years ago(ASSIGN_STRDUPA): New macro (moved here from remove.c).
Jim Meyering [Sun, 23 Jul 2000 10:49:59 +0000 (10:49 +0000)]
(ASSIGN_STRDUPA): New macro (moved here from remove.c).

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

24 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.

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

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

24 years ago(TESTS): Add dir-slash.
Jim Meyering [Sun, 23 Jul 2000 09:00:17 +0000 (09:00 +0000)]
(TESTS): Add dir-slash.

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

24 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.

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jul 2000 21:01:16 +0000 (21:01 +0000)]
*** empty log message ***

24 years ago(batch_convert): Free `initial_TZ' only if it was set.
Jim Meyering [Wed, 19 Jul 2000 21:00:20 +0000 (21:00 +0000)]
(batch_convert): Free `initial_TZ' only if it was set.

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jul 2000 21:00:03 +0000 (21:00 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Mon, 17 Jul 2000 20:48:36 +0000 (20:48 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 20:48:00 +0000 (20:48 +0000)]
*** empty log message ***

24 years ago(WGET): Define.
Jim Meyering [Mon, 17 Jul 2000 20:47:53 +0000 (20:47 +0000)]
(WGET): Define.
(ftp-gnu): Define.
(wget-update): New rule, based on the one in autoconf.

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

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

24 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.

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

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

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

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 20:41:10 +0000 (20:41 +0000)]
*** empty log message ***

24 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.

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

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 20:07:49 +0000 (20:07 +0000)]
*** empty log message ***

24 years ago(visible): Don't mark `<undef>' for translation.
Jim Meyering [Mon, 17 Jul 2000 20:07:33 +0000 (20:07 +0000)]
(visible): Don't mark `<undef>' for translation.
The standard requires that exact string.

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

24 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.

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

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jul 2000 19:43:14 +0000 (19:43 +0000)]
*** empty log message ***

24 years ago(usage): Give a little more info.
Jim Meyering [Mon, 17 Jul 2000 19:43:05 +0000 (19:43 +0000)]
(usage): Give a little more info.
Remove FIXME comment.

24 years agoAvoid warnings.
Jim Meyering [Mon, 17 Jul 2000 08:17:12 +0000 (08:17 +0000)]
Avoid warnings.
(struct bin_str): Declare `string' member to be `const'.
(put_indicator): Declare local `p' to be `const'.

24 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jul 2000 13:32:16 +0000 (13:32 +0000)]
*** empty log message ***

24 years agoConvert "`%s'" in format strings to "%s", and wrap each
Jim Meyering [Sat, 15 Jul 2000 13:32:02 +0000 (13:32 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call.
Improve a couple diagnostics.

24 years ago.
Jim Meyering [Sat, 15 Jul 2000 13:29:01 +0000 (13:29 +0000)]
.

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

24 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.

24 years agoConvert "`%s'" in format strings to "%s", and wrap each
Jim Meyering [Sat, 15 Jul 2000 10:35:27 +0000 (10:35 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call -- if there's only one.
If there are more than one, then use `quote_n (0, ...),
quote_n (1, ...), ...'.

24 years agoConvert "`%s'" in format strings to "%s", and wrap each
Jim Meyering [Sat, 15 Jul 2000 10:11:47 +0000 (10:11 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call -- if there's only one.
If there are more than one, then use `quote_n (0, ...),
quote_n (1, ...), ...'.

24 years agoConvert "`%s'" in format strings to "%s", and wrap each
Jim Meyering [Sat, 15 Jul 2000 10:11:18 +0000 (10:11 +0000)]
Convert "`%s'" in format strings to "%s", and wrap each
corresponding argument in a `quote (...)' call -- if there's only one.
If there are more than one, then use `quote_n (0, ...),
quote_n (1, ...), ...'.

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

24 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.

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

24 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.

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

24 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.

24 years ago.
Jim Meyering [Fri, 14 Jul 2000 19:35:13 +0000 (19:35 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 15:58:39 +0000 (15:58 +0000)]
*** empty log message ***

24 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/.

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

24 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.

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

24 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.

24 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jul 2000 11:32:47 +0000 (11:32 +0000)]
*** empty log message ***

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

24 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.

24 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.

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

24 years agoimport 1.022
Jim Meyering [Tue, 11 Jul 2000 22:44:26 +0000 (22:44 +0000)]
import 1.022

24 years agofrom FSF
Jim Meyering [Mon, 10 Jul 2000 14:54:02 +0000 (14:54 +0000)]
from FSF

24 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.

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

24 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.

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

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

24 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 20:14:33 +0000 (20:14 +0000)]
*** empty log message ***

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

24 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jul 2000 17:49:50 +0000 (17:49 +0000)]
*** empty log message ***