platform/upstream/coreutils.git
20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 23:08:09 +0000 (23:08 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 23:07:15 +0000 (23:07 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 23:06:51 +0000 (23:06 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(main): Do not report a usage error simply
because stdin has bad numbers.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 23:03:34 +0000 (23:03 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 23:02:45 +0000 (23:02 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(main): Use initialize_exit_failure rather than
setting exit_failure directly; this optimizes away redundant assignments.
(EXPR_FAILURE): Renamed from EXPR_ERROR, for
consistency with the other programs' naming conventions.
All uses changed.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 23:00:48 +0000 (23:00 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:59:14 +0000 (22:59 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(main): Initialize exit_failure to EXIT_FAIL.
(main): Use initialize_exit_failure rather than
setting exit_failure directly; this optimizes away redundant
assignments.
(main): Use EXIT_ENOENT and EXIT_CANNOT_INVOKE
rather than roll-your-own symbols or integers.
(main): Exit with status 1, not 2, on errors detected by env proper.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:56:47 +0000 (22:56 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:56:22 +0000 (22:56 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:55:51 +0000 (22:55 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(main): Don't assume EXIT_FAILURE == 1, as POSIX doesn't require it.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:53:49 +0000 (22:53 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.

(dd_copy): Exit with status EXIT_FAILURE, not 2, on errors.
(write_output, skip, dd_copy): Don't assume EXIT_FAILURE == 1,
as POSIX doesn't require it.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:52:53 +0000 (22:52 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.

(FATAL_ERROR, main): Exit with status EXIT_FAILURE, not 2, on errors.
(main): Don't assume EXIT_FAILURE == 1, as POSIX doesn't require it.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:50:28 +0000 (22:50 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.

(FATAL_ERROR, main): Exit with status EXIT_FAILURE, not 2, on errors.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:49:36 +0000 (22:49 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:49:09 +0000 (22:49 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.

(exit_status): Remove static var....
(main): Making it local here instead.  Use =, not |=, to set it.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:48:06 +0000 (22:48 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:47:09 +0000 (22:47 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(CHROOT_FOUND_BUT_CANNOT_INVOKE, CHROOT_FAILURE): Remove.
(main): Initialize exit_failure to EXIT_FAIL.

(main): Exit with status 1 rather than 127
if chroot itself fails, as per documentation.

(main): Use EXIT_ENOENT and EXIT_CANNOT_INVOKE
rather than roll-your-own symbols or integers.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:45:11 +0000 (22:45 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(main): Removed unused local 'fail'.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:44:43 +0000 (22:44 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:43:51 +0000 (22:43 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:42:46 +0000 (22:42 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.

20 years ago(usage): Use EXIT_SUCCESS, not 0, for clarity.
Jim Meyering [Wed, 21 Jan 2004 22:42:34 +0000 (22:42 +0000)]
(usage): Use EXIT_SUCCESS, not 0, for clarity.

20 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jan 2004 22:37:32 +0000 (22:37 +0000)]
*** empty log message ***

20 years agoInclude "exitfail.h".
Jim Meyering [Wed, 21 Jan 2004 22:37:21 +0000 (22:37 +0000)]
Include "exitfail.h".
(STRTOL_FATAL_ERROR): Exit with status exit_failure, not 2.

20 years ago(obstack_exit_failure) [!defined _LIBC]:
Jim Meyering [Wed, 21 Jan 2004 22:36:42 +0000 (22:36 +0000)]
(obstack_exit_failure) [!defined _LIBC]:
Now a macro referring to exit_failure, instead of a separate
variable.  Include "exitfail.h" to get it.

20 years ago(parse_long_options): Use prototype for usage function arg.
Jim Meyering [Wed, 21 Jan 2004 22:35:55 +0000 (22:35 +0000)]
(parse_long_options): Use prototype for usage function arg.
Pass it EXIT_SUCCESS rather than 0, for clarity.

20 years agoComment fix to match the above.
Jim Meyering [Wed, 21 Jan 2004 22:35:10 +0000 (22:35 +0000)]
Comment fix to match the above.

20 years ago(ARGMATCH_DIE) [! defined ARGMATCH_DIE]:
Jim Meyering [Wed, 21 Jan 2004 22:34:58 +0000 (22:34 +0000)]
(ARGMATCH_DIE) [! defined ARGMATCH_DIE]:
Include "exitfail.h", and use exit_failure rather than EXIT_FAILURE.

20 years agotweak comment: from Paul Eggert
Jim Meyering [Wed, 21 Jan 2004 22:10:23 +0000 (22:10 +0000)]
tweak comment: from Paul Eggert

20 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jan 2004 20:57:00 +0000 (20:57 +0000)]
*** empty log message ***

20 years agoRemove `command' syntax.
Jim Meyering [Wed, 21 Jan 2004 20:56:50 +0000 (20:56 +0000)]
Remove `command' syntax.

20 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jan 2004 20:42:24 +0000 (20:42 +0000)]
*** empty log message ***

20 years ago(__mktime_internal) [!_LIBC]: Define to mktime_internal
Jim Meyering [Wed, 21 Jan 2004 20:42:20 +0000 (20:42 +0000)]
(__mktime_internal) [!_LIBC]: Define to mktime_internal
so as not to conflict with a different-sized __mktime_internal
function in GNU libc.

20 years ago.
Jim Meyering [Wed, 21 Jan 2004 20:21:47 +0000 (20:21 +0000)]
.

20 years ago* tests/touch/relative: Test only year/month/day, not hours/min/sec,
Jim Meyering [Wed, 21 Jan 2004 19:57:35 +0000 (19:57 +0000)]
* tests/touch/relative: Test only year/month/day, not hours/min/sec,
so as to avoid problems with systems using TAI clocks.
Although it's no longer necessary, set TZ=UTC0 also for the
initial touch command.  Reported by Paul Jarc here:
http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/1504

20 years agoUse TZ=UTC0, not TZ=utc (which isn't portable).
Jim Meyering [Wed, 21 Jan 2004 19:46:35 +0000 (19:46 +0000)]
Use TZ=UTC0, not TZ=utc (which isn't portable).

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jan 2004 22:44:46 +0000 (22:44 +0000)]
*** empty log message ***

20 years agoAdd .mov to the list of media files.
Jim Meyering [Tue, 20 Jan 2004 22:44:33 +0000 (22:44 +0000)]
Add .mov to the list of media files.

20 years agofrom Alexandre Duret-Lutz
Jim Meyering [Tue, 20 Jan 2004 22:19:36 +0000 (22:19 +0000)]
from Alexandre Duret-Lutz

20 years ago.
Jim Meyering [Tue, 20 Jan 2004 09:20:18 +0000 (09:20 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jan 2004 09:19:51 +0000 (09:19 +0000)]
*** empty log message ***

20 years agoUse TZ=UTC0, not TZ=utc (which isn't portable).
Jim Meyering [Tue, 20 Jan 2004 09:19:37 +0000 (09:19 +0000)]
Use TZ=UTC0, not TZ=utc (which isn't portable).
Problem reported by Christian Krackowizer.  Also, use
+0000 rather than +0 to specify a time zone, as the documentation
requires four digits.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jan 2004 09:14:31 +0000 (09:14 +0000)]
*** empty log message ***

20 years agoRun envvar-check in case SIMPLE_BACKUP_SUFFIX is set.
Jim Meyering [Tue, 20 Jan 2004 09:14:21 +0000 (09:14 +0000)]
Run envvar-check in case SIMPLE_BACKUP_SUFFIX is set.

20 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jan 2004 09:13:50 +0000 (09:13 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Mon, 19 Jan 2004 17:53:12 +0000 (17:53 +0000)]
.

20 years agodon't bother to remove out.1
Jim Meyering [Mon, 19 Jan 2004 16:26:38 +0000 (16:26 +0000)]
don't bother to remove out.1

20 years agoBump to 5.1.2
Jim Meyering [Sun, 18 Jan 2004 20:48:33 +0000 (20:48 +0000)]
Bump to 5.1.2

20 years agofix typo
Jim Meyering [Sun, 18 Jan 2004 07:59:52 +0000 (07:59 +0000)]
fix typo

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Jan 2004 14:58:54 +0000 (14:58 +0000)]
*** empty log message ***

20 years ago(print_changelog_deltas): Use .sig suffix, not .asc.
Jim Meyering [Sat, 17 Jan 2004 14:58:50 +0000 (14:58 +0000)]
(print_changelog_deltas): Use .sig suffix, not .asc.

20 years ago.
Jim Meyering [Sat, 17 Jan 2004 14:10:47 +0000 (14:10 +0000)]
.

20 years ago*** empty log message *** COREUTILS-5_1_1 v5.1.1
Jim Meyering [Sat, 17 Jan 2004 13:49:17 +0000 (13:49 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Sat, 17 Jan 2004 13:48:45 +0000 (13:48 +0000)]
.

20 years ago.
Jim Meyering [Sat, 17 Jan 2004 13:28:53 +0000 (13:28 +0000)]
.

20 years ago(PATH): Remove /vg.
Jim Meyering [Sat, 17 Jan 2004 13:28:48 +0000 (13:28 +0000)]
(PATH): Remove /vg.

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Jan 2004 09:04:44 +0000 (09:04 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 17 Jan 2004 09:03:58 +0000 (09:03 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 14:46:37 +0000 (14:46 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 14:45:43 +0000 (14:45 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 14:45:32 +0000 (14:45 +0000)]
*** empty log message ***

20 years ago(TESTS): Add relative.
Jim Meyering [Fri, 16 Jan 2004 14:45:28 +0000 (14:45 +0000)]
(TESTS): Add relative.

20 years ago.
Jim Meyering [Fri, 16 Jan 2004 10:20:01 +0000 (10:20 +0000)]
.

20 years ago.
Jim Meyering [Fri, 16 Jan 2004 10:10:49 +0000 (10:10 +0000)]
.

20 years agoTest HAVE_DECL_GETC_UNLOCKED, rather than HAVE_GETC_UNLOCKED.
Jim Meyering [Fri, 16 Jan 2004 10:06:48 +0000 (10:06 +0000)]
Test HAVE_DECL_GETC_UNLOCKED, rather than HAVE_GETC_UNLOCKED.

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 09:58:16 +0000 (09:58 +0000)]
*** empty log message ***

20 years agoMerge from gnulib.
Jim Meyering [Fri, 16 Jan 2004 09:58:08 +0000 (09:58 +0000)]
Merge from gnulib.

Include <stdio.h>, so that the caller
doesn't have to include <stdio.h> before us.
(clearerr_unlocked, feof_unlocked, ferror_unlocked,
fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked,
fread_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked,
putc_unlocked, putchar_unlocked): Define to the unlocked counterpart
if not declared, so that we can use getpass.c code from libc without
rewriting it.
(flockfile, ftrylockfile, funlockfile): New macros.

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 09:55:36 +0000 (09:55 +0000)]
*** empty log message ***

20 years agoMerge fnmatch patches from glibc.
Jim Meyering [Fri, 16 Jan 2004 09:55:31 +0000 (09:55 +0000)]
Merge fnmatch patches from glibc.
(mbsinit): Remove define.
Add libc_hidden_ver (__fnmatch, fnmatch).

20 years ago(ALLOCA_LIMIT): Remove macro, which collided
Jim Meyering [Fri, 16 Jan 2004 09:55:15 +0000 (09:55 +0000)]
(ALLOCA_LIMIT): Remove macro, which collided
with like-named macro in fnmatch.c.
(EXT): Use an internal constant instead.

Merge fnmatch patches from glibc.
(FCT): Cast to int32_t and UCHAR when appropriate.
Adjust to renaming of collseq_table_lookup to __collseq_table_lookup.

20 years agoRemove dependency on xalloc module.
Jim Meyering [Fri, 16 Jan 2004 09:53:28 +0000 (09:53 +0000)]
Remove dependency on xalloc module.
(xalloc_die): Remove.
(memory_full) [!defined emacs]: New macro.
[!defined emacs]: Don't include xalloc.h.
(alloca): Invoke memory_full, not xalloc_die, if malloc fails or
address arithmetic overflows.  Change datatypes a bit to avoid
unnecessary casts.

20 years agoupdate copyright to sync from gnulib
Jim Meyering [Fri, 16 Jan 2004 09:51:42 +0000 (09:51 +0000)]
update copyright to sync from gnulib

20 years ago.
Jim Meyering [Fri, 16 Jan 2004 09:51:28 +0000 (09:51 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 09:06:11 +0000 (09:06 +0000)]
*** empty log message ***

20 years agoSync with version from gettext-0.13.1.
Jim Meyering [Fri, 16 Jan 2004 09:05:58 +0000 (09:05 +0000)]
Sync with version from gettext-0.13.1.

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 09:03:37 +0000 (09:03 +0000)]
*** empty log message ***

20 years ago(_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
Jim Meyering [Fri, 16 Jan 2004 09:03:32 +0000 (09:03 +0000)]
(_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
followed by '#define fnmatch fnmatch_posix' gives an error.

20 years agosolely comment (serial-number line) change
Jim Meyering [Fri, 16 Jan 2004 08:32:04 +0000 (08:32 +0000)]
solely comment (serial-number line) change

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 08:30:41 +0000 (08:30 +0000)]
*** empty log message ***

20 years ago(gl_PREREQ_GETPASS): Check for stdio_ext.h.
Jim Meyering [Fri, 16 Jan 2004 08:29:54 +0000 (08:29 +0000)]
(gl_PREREQ_GETPASS): Check for stdio_ext.h.

20 years agocontent-free sync-from-gnulib
Jim Meyering [Fri, 16 Jan 2004 08:27:06 +0000 (08:27 +0000)]
content-free sync-from-gnulib

20 years agobump serial number to sync with gnulib
Jim Meyering [Fri, 16 Jan 2004 08:26:16 +0000 (08:26 +0000)]
bump serial number to sync with gnulib

20 years ago.
Jim Meyering [Fri, 16 Jan 2004 07:53:49 +0000 (07:53 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jan 2004 07:53:22 +0000 (07:53 +0000)]
*** empty log message ***

20 years ago(touch invocation): touch -r and -d can now
Jim Meyering [Fri, 16 Jan 2004 07:53:19 +0000 (07:53 +0000)]
(touch invocation): touch -r and -d can now
both be specified, with -r specifying the origin for -d.

20 years ago.
Jim Meyering [Thu, 15 Jan 2004 20:41:22 +0000 (20:41 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jan 2004 18:44:14 +0000 (18:44 +0000)]
*** empty log message ***

20 years ago(flexible_date): Remove static var.
Jim Meyering [Thu, 15 Jan 2004 18:44:04 +0000 (18:44 +0000)]
(flexible_date): Remove static var.
(get_reldate): New function.
(main): Use it, to implement this new behavior.

20 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jan 2004 10:58:53 +0000 (10:58 +0000)]
*** empty log message ***

20 years agoFactor out some common options.
Jim Meyering [Thu, 15 Jan 2004 10:58:47 +0000 (10:58 +0000)]
Factor out some common options.

(Common options): Define macros here.
(What information is listed, cp invocation): Use the macro(s).
(install invocation, mv invocation, ln invocation): Likewise.
(df invocation, du invocation): Likewise.

20 years ago(gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
Jim Meyering [Thu, 15 Jan 2004 06:36:00 +0000 (06:36 +0000)]
(gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.

20 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jan 2004 06:35:49 +0000 (06:35 +0000)]
*** empty log message ***

20 years agoInclude posixver.h.
Jim Meyering [Thu, 15 Jan 2004 06:35:41 +0000 (06:35 +0000)]
Include posixver.h.

20 years agoreapply my SPACE-TAB-related changes
Jim Meyering [Tue, 13 Jan 2004 12:28:21 +0000 (12:28 +0000)]
reapply my SPACE-TAB-related changes

20 years agoupdate from automake-1.8.2
Jim Meyering [Tue, 13 Jan 2004 12:27:45 +0000 (12:27 +0000)]
update from automake-1.8.2

20 years ago*** empty log message ***
Jim Meyering [Tue, 13 Jan 2004 09:29:02 +0000 (09:29 +0000)]
*** empty log message ***

20 years agoduh: system.h, not system.c
Jim Meyering [Tue, 13 Jan 2004 00:06:07 +0000 (00:06 +0000)]
duh: system.h, not system.c

20 years ago*** empty log message ***
Jim Meyering [Tue, 13 Jan 2004 00:05:10 +0000 (00:05 +0000)]
*** empty log message ***

20 years agoReplace src/sys2.h with src/system.h.
Jim Meyering [Tue, 13 Jan 2004 00:05:08 +0000 (00:05 +0000)]
Replace src/sys2.h with src/system.h.

20 years ago*** empty log message ***
Jim Meyering [Tue, 13 Jan 2004 00:01:49 +0000 (00:01 +0000)]
*** empty log message ***