platform/upstream/coreutils.git
21 years agoChange compile-time error message. Add comment about
Jim Meyering [Fri, 22 Nov 2002 10:28:44 +0000 (10:28 +0000)]
Change compile-time error message. Add comment about
required autoconf version.

Include gettext.h instead of <libintl.h>.
(textdomain): Remove definition.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 19:17:26 +0000 (19:17 +0000)]
*** empty log message ***

21 years agoAdd ms (Malay).
Jim Meyering [Thu, 21 Nov 2002 19:17:22 +0000 (19:17 +0000)]
Add ms (Malay).

21 years agoversion: 4.5.3
Jim Meyering [Thu, 21 Nov 2002 19:16:44 +0000 (19:16 +0000)]
version: 4.5.3

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:31:07 +0000 (13:31 +0000)]
*** empty log message ***

21 years ago(strdup): Merge in changes from gnulib; mainly to
Jim Meyering [Thu, 21 Nov 2002 13:31:03 +0000 (13:31 +0000)]
(strdup): Merge in changes from gnulib; mainly to
use memcpy rather than strcpy.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:25:31 +0000 (13:25 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Thu, 21 Nov 2002 13:25:22 +0000 (13:25 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:18:07 +0000 (13:18 +0000)]
*** empty log message ***

21 years ago(str2signum): Use unsigned, not size_t.
Jim Meyering [Thu, 21 Nov 2002 13:17:47 +0000 (13:17 +0000)]
(str2signum): Use unsigned, not size_t.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 13:16:49 +0000 (13:16 +0000)]
*** empty log message ***

21 years agoUse `"'s when including quotearg.h and xalloc.h, not the `<...>' notation.
Jim Meyering [Thu, 21 Nov 2002 13:16:04 +0000 (13:16 +0000)]
Use `"'s when including quotearg.h and xalloc.h, not the `<...>' notation.
Include <errno.h> and declare errno if necessary.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 12:22:56 +0000 (12:22 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 12:22:03 +0000 (12:22 +0000)]
*** empty log message ***

21 years agostty doesn't support all baud rates available in current Linux kernels.
Jim Meyering [Thu, 21 Nov 2002 12:21:55 +0000 (12:21 +0000)]
stty doesn't support all baud rates available in current Linux kernels.
When trying to set a high baud rate using stty, it says "invalid
argument". When the high rate is already configured, "stty -a"
returns 0 instead of the true baud rate.

(struct speeds): Add support for all baud rates defined
in linux-2.4.19.

21 years ago.
Jim Meyering [Thu, 21 Nov 2002 10:56:27 +0000 (10:56 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 10:22:10 +0000 (10:22 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 10:21:01 +0000 (10:21 +0000)]
*** empty log message ***

21 years agoupdate copyright date
Jim Meyering [Thu, 21 Nov 2002 09:39:58 +0000 (09:39 +0000)]
update copyright date

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 09:36:25 +0000 (09:36 +0000)]
*** empty log message ***

21 years agoMerge argmatch cleanups from Bison. Assume C89.
Jim Meyering [Thu, 21 Nov 2002 09:35:51 +0000 (09:35 +0000)]
Merge argmatch cleanups from Bison.  Assume C89.

Do not include <config.h> or <sys/types.h>.
Include <stddef.h> instead, since it's all we need for size_t.
(PARAMS): Remove.  All uses removed.
(ARRAY_CARDINALITY): Do not bother to #undef.
(ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Remove unnecessary parentheses.
(ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Insert necessary parentheses.
(ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
(ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.

21 years agoMerge argmatch cleanups from Bison. Assume C89.
Jim Meyering [Thu, 21 Nov 2002 09:24:43 +0000 (09:24 +0000)]
Merge argmatch cleanups from Bison.  Assume C89.

Include config.h here, not in argmatch.h.
Include stdlib.h, for EXIT_FAILURE.
Always include <string.h>, since we assume C89.
(EXIT_FAILURE): Remove pre-C89 bug workaround.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:48:08 +0000 (08:48 +0000)]
*** empty log message ***

21 years ago(quotearg_buffer_restyled): If mbrtowc returns
Jim Meyering [Thu, 21 Nov 2002 08:47:44 +0000 (08:47 +0000)]
(quotearg_buffer_restyled): If mbrtowc returns
`(size_t) -1' (at which point it would also set errno to EILSEQ),
then restore errno to its previous value.
Reported by Phillip Jones via Tim Waugh as
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76334.

21 years agosort
Jim Meyering [Thu, 21 Nov 2002 08:46:39 +0000 (08:46 +0000)]
sort

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:45:10 +0000 (08:45 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Thu, 21 Nov 2002 08:45:05 +0000 (08:45 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:35:24 +0000 (08:35 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 21 Nov 2002 08:32:28 +0000 (08:32 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 14:08:50 +0000 (14:08 +0000)]
*** empty log message ***

21 years agoExport LC_ALL=C, to avoid failure when run in a UTF locale.
Jim Meyering [Tue, 19 Nov 2002 14:08:45 +0000 (14:08 +0000)]
Export LC_ALL=C, to avoid failure when run in a UTF locale.
Report and suggested fix by Bruno Haible.

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 14:08:20 +0000 (14:08 +0000)]
*** empty log message ***

21 years agoExport LC_ALL=C, to avoid failure when run in a UTF locale.
Jim Meyering [Tue, 19 Nov 2002 14:07:20 +0000 (14:07 +0000)]
Export LC_ALL=C, to avoid failure when run in a UTF locale.
Report and suggested fix by Bruno Haible.

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 10:15:25 +0000 (10:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 09:14:24 +0000 (09:14 +0000)]
*** empty log message ***

21 years agoRequire Autoconf-2.56.
Jim Meyering [Tue, 19 Nov 2002 09:14:18 +0000 (09:14 +0000)]
Require Autoconf-2.56.

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 08:05:34 +0000 (08:05 +0000)]
*** empty log message ***

21 years agoAvoid a link-time failure on some Linux systems.
Jim Meyering [Tue, 19 Nov 2002 08:05:29 +0000 (08:05 +0000)]
Avoid a link-time failure on some Linux systems.
(STATIC): Define to be empty (_LIBC) or `static' (otherwise).
(__mon_yday): Declare with the STATIC attribute.
(__mktime_internal): Likewise.
Based on a report from Greg Schafer.

21 years ago*** empty log message ***
Jim Meyering [Tue, 19 Nov 2002 07:50:44 +0000 (07:50 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 17 Nov 2002 10:14:40 +0000 (10:14 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 17 Nov 2002 10:11:40 +0000 (10:11 +0000)]
*** empty log message ***

21 years agoUpdate via autoupdate.
Jim Meyering [Sun, 17 Nov 2002 10:10:26 +0000 (10:10 +0000)]
Update via autoupdate.
Add `AM_GNU_GETTEXT_VERSION(0.11.5)'.

21 years ago*** empty log message ***
Jim Meyering [Sun, 17 Nov 2002 09:59:34 +0000 (09:59 +0000)]
*** empty log message ***

21 years ago(movefile): Don't remove trailing slashes from SOURCE.
Jim Meyering [Sun, 17 Nov 2002 09:41:34 +0000 (09:41 +0000)]
(movefile): Don't remove trailing slashes from SOURCE.

21 years ago*** empty log message ***
Jim Meyering [Sun, 17 Nov 2002 09:36:43 +0000 (09:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 16 Nov 2002 16:45:36 +0000 (16:45 +0000)]
*** empty log message ***

21 years agoUse AC_REQUIRE everywhere it is possible.
Jim Meyering [Sat, 16 Nov 2002 16:45:30 +0000 (16:45 +0000)]
Use AC_REQUIRE everywhere it is possible.
(jm_PREREQ_CANON_HOST): Remove duplicates.

21 years ago*** empty log message ***
Jim Meyering [Fri, 15 Nov 2002 21:02:16 +0000 (21:02 +0000)]
*** empty log message ***

21 years ago(gnu_rel_host): Define.
Jim Meyering [Fri, 15 Nov 2002 21:02:04 +0000 (21:02 +0000)]
(gnu_rel_host): Define.
(url_dir_list): Choose from (alpha|ftp).gnu.org depending
on whether $(VERSION) looks like a major release number.

21 years ago(mail_gpg_sign_cookie): Backslash-escape `#'.
Jim Meyering [Fri, 15 Nov 2002 20:59:56 +0000 (20:59 +0000)]
(mail_gpg_sign_cookie): Backslash-escape `#'.
(release): Rename from `alpha'.
(alpha): Depend on release.

21 years ago*** empty log message ***
Jim Meyering [Fri, 15 Nov 2002 10:19:09 +0000 (10:19 +0000)]
*** empty log message ***

21 years ago(signatures): Define with ?=, so it's easy to override.
Jim Meyering [Fri, 15 Nov 2002 10:19:02 +0000 (10:19 +0000)]
(signatures): Define with ?=, so it's easy to override.

21 years ago.
Jim Meyering [Fri, 15 Nov 2002 08:36:57 +0000 (08:36 +0000)]
.

21 years ago.
Jim Meyering [Fri, 15 Nov 2002 08:19:10 +0000 (08:19 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 14:38:23 +0000 (14:38 +0000)]
*** empty log message ***

21 years agoDon't include libintl.h, and don't define `_' -- they're not used.
Jim Meyering [Thu, 14 Nov 2002 14:38:03 +0000 (14:38 +0000)]
Don't include libintl.h, and don't define `_' -- they're not used.

21 years agoupdate from master sources
Jim Meyering [Thu, 14 Nov 2002 14:26:05 +0000 (14:26 +0000)]
update from master sources

21 years agoRemove lib/long-options.c and lib/same.c.
Jim Meyering [Thu, 14 Nov 2002 12:46:17 +0000 (12:46 +0000)]
Remove lib/long-options.c and lib/same.c.
Although each defines `_', neither actually used it.

21 years ago*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 12:37:49 +0000 (12:37 +0000)]
*** empty log message ***

21 years agoDuh. change use, too.
Jim Meyering [Thu, 14 Nov 2002 12:37:27 +0000 (12:37 +0000)]
Duh.  change use, too.

21 years ago(mail_gpg_sign_cookie): Rename to use _'s, not -'s.
Jim Meyering [Thu, 14 Nov 2002 12:32:57 +0000 (12:32 +0000)]
(mail_gpg_sign_cookie): Rename to use _'s, not -'s.

21 years ago*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 12:20:09 +0000 (12:20 +0000)]
*** empty log message ***

21 years ago(mail-gpg-sign-cookie): Make optional.
Jim Meyering [Thu, 14 Nov 2002 12:20:01 +0000 (12:20 +0000)]
(mail-gpg-sign-cookie): Make optional.
(announcement): Use the new variable.

21 years ago*** empty log message ***
Jim Meyering [Thu, 14 Nov 2002 12:09:42 +0000 (12:09 +0000)]
*** empty log message ***

21 years agoSync with Bison, i.e.:
Jim Meyering [Thu, 14 Nov 2002 12:09:16 +0000 (12:09 +0000)]
Sync with Bison, i.e.:
(po-check): Scan .l and .y files instead of the
.c and the .h files that they generate.  This fixes the bug
reported by Tim Van Holder in:
<http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
Look for N_ as well as for _.  Try to avoid matching #define for
N_ and _.
From Paul Eggert.

21 years ago*** empty log message ***
Jim Meyering [Wed, 13 Nov 2002 09:50:22 +0000 (09:50 +0000)]
*** empty log message ***

21 years ago(Examples of expr): Remove bogus `^'s.
Jim Meyering [Wed, 13 Nov 2002 09:50:16 +0000 (09:50 +0000)]
(Examples of expr): Remove bogus `^'s.

21 years ago*** empty log message ***
Jim Meyering [Wed, 13 Nov 2002 09:49:41 +0000 (09:49 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 12 Nov 2002 08:31:16 +0000 (08:31 +0000)]
*** empty log message ***

21 years ago(HAVE_SYMLINKS): Remove unnecessary macro definition.
Jim Meyering [Tue, 12 Nov 2002 08:31:05 +0000 (08:31 +0000)]
(HAVE_SYMLINKS): Remove unnecessary macro definition.
Replace sole use with equivalent `#ifdef S_ISLNK'.
Inconsistency reported by Dmitry V. Levin.

21 years ago*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 13:39:02 +0000 (13:39 +0000)]
*** empty log message ***

21 years agoEnsure that `ls -dF --color symlink-to-dir' works properly.
Jim Meyering [Mon, 11 Nov 2002 13:38:48 +0000 (13:38 +0000)]
Ensure that `ls -dF --color symlink-to-dir' works properly.

21 years ago*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 09:15:35 +0000 (09:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 09:15:08 +0000 (09:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 11 Nov 2002 09:10:39 +0000 (09:10 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 23:25:13 +0000 (23:25 +0000)]
*** empty log message ***

21 years ago(usage): Transform --help output via s/ - / /,
Jim Meyering [Sun, 10 Nov 2002 23:24:52 +0000 (23:24 +0000)]
(usage): Transform --help output via s/ - /   /,
so that help2man produces properly formatted man pages.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 20:15:59 +0000 (20:15 +0000)]
*** empty log message ***

21 years ago(sighandler): Handle SIGTSTP specially.
Jim Meyering [Sun, 10 Nov 2002 20:15:54 +0000 (20:15 +0000)]
(sighandler): Handle SIGTSTP specially.
Based on suggestions from Solar Designer and Dmitry V. Levin.
Add comments.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 14:34:29 +0000 (14:34 +0000)]
*** empty log message ***

21 years ago(cvs_files): Define. From autoconf.
Jim Meyering [Sun, 10 Nov 2002 14:34:23 +0000 (14:34 +0000)]
(cvs_files): Define.  From autoconf.
(local_updates): Likewise.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 13:33:04 +0000 (13:33 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 10 Nov 2002 11:12:13 +0000 (11:12 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 11:11:39 +0000 (11:11 +0000)]
*** empty log message ***

21 years ago(restore_default_color_handler, sigtstp_handler): Remove functions.
Jim Meyering [Sun, 10 Nov 2002 11:11:34 +0000 (11:11 +0000)]
(restore_default_color_handler, sigtstp_handler): Remove functions.
(sighandler): New function, based on the one in sort.c.
(main): Use sigaction, if possible; otherwise signal.
Handle these signals:
SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP.
Don't register our handler if the signal is already being ignored.

21 years ago(main): Also declare `i' to be unsigned, not int.
Jim Meyering [Sun, 10 Nov 2002 10:23:41 +0000 (10:23 +0000)]
(main): Also declare `i' to be unsigned, not int.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 09:56:28 +0000 (09:56 +0000)]
*** empty log message ***

21 years ago(sighandler): Use raise, rather than kill+getpid.
Jim Meyering [Sun, 10 Nov 2002 09:56:19 +0000 (09:56 +0000)]
(sighandler): Use raise, rather than kill+getpid.
(main): Declare `nsigs' to be unsigned, not int.

21 years ago(interrupt_handler): Use raise, rather than kill+getpid.
Jim Meyering [Sun, 10 Nov 2002 09:54:37 +0000 (09:54 +0000)]
(interrupt_handler): Use raise, rather than kill+getpid.

21 years ago(interrupt_handler): Use raise, rather than kill+getpid.
Jim Meyering [Sun, 10 Nov 2002 09:53:57 +0000 (09:53 +0000)]
(interrupt_handler): Use raise, rather than kill+getpid.

21 years agoUse a return stmt. This isn't Perl.
Jim Meyering [Sun, 10 Nov 2002 09:51:37 +0000 (09:51 +0000)]
Use a return stmt.  This isn't Perl.

21 years agoDuh. add missing semicolon
Jim Meyering [Sun, 10 Nov 2002 09:50:59 +0000 (09:50 +0000)]
Duh.  add missing semicolon
Include unistd.h.

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 09:46:14 +0000 (09:46 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Add AC_REPLACE_FUNCS(raise).
Jim Meyering [Sun, 10 Nov 2002 09:46:10 +0000 (09:46 +0000)]
(jm_MACROS): Add AC_REPLACE_FUNCS(raise).

21 years ago*** empty log message ***
Jim Meyering [Sun, 10 Nov 2002 09:44:05 +0000 (09:44 +0000)]
*** empty log message ***

21 years agocorrect indentation
Jim Meyering [Sat, 9 Nov 2002 22:36:58 +0000 (22:36 +0000)]
correct indentation

21 years agols --color: restore terminal state (color) upon signal.
Jim Meyering [Sat, 9 Nov 2002 22:27:27 +0000 (22:27 +0000)]
ls --color: restore terminal state (color) upon signal.

Include "full-write.h" and <signal.h>.
(restore_default_color, restore_default_color_handler): New functions.
(sigtstp_handler, put_indicator_direct): New functions.
(main) [print_with_color]: Register signal handlers.
Patch mostly by Solar Designer and Stanislav Ievlev.

21 years ago*** empty log message ***
Jim Meyering [Sat, 9 Nov 2002 22:21:31 +0000 (22:21 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 9 Nov 2002 22:01:56 +0000 (22:01 +0000)]
.

21 years ago(human_readable): Revamp to avoid warning about unused
Jim Meyering [Sat, 9 Nov 2002 21:46:45 +0000 (21:46 +0000)]
(human_readable): Revamp to avoid warning about unused
variable 'amt'.  Unfortunately this means using some gotos.