platform/upstream/coreutils.git
19 years ago(gl_FUNC_CHOWN): When cross-compiling, assume that chown
Jim Meyering [Tue, 4 Jan 2005 09:40:23 +0000 (09:40 +0000)]
(gl_FUNC_CHOWN): When cross-compiling, assume that chown
is sane and DOES follow symlinks.  Besides, testing 20 different
systems found no broken chown implementations.

19 years ago(gl_FUNC_CHOWN): When cross-compiling, assume that chown
Jim Meyering [Tue, 4 Jan 2005 09:39:04 +0000 (09:39 +0000)]
(gl_FUNC_CHOWN): When cross-compiling, assume that chown
is sane and DOES follow symlinks.  Besides, testing 20 different
systems found no broken chown implementations.

19 years agoremove FIXME comments
Jim Meyering [Tue, 4 Jan 2005 09:00:35 +0000 (09:00 +0000)]
remove FIXME comments

19 years agoremove FIXME comments
Jim Meyering [Tue, 4 Jan 2005 08:59:35 +0000 (08:59 +0000)]
remove FIXME comments

19 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jan 2005 08:51:23 +0000 (08:51 +0000)]
*** empty log message ***

19 years ago[DEFAULT_ALIGNMENT]: Use an intermediate type to simplify
Jim Meyering [Tue, 4 Jan 2005 08:51:18 +0000 (08:51 +0000)]
[DEFAULT_ALIGNMENT]: Use an intermediate type to simplify
offsetof() macro construct to avoid compile failure with native HP-UX
11.0 ANSI C compiler.

19 years agoRegenerate.
Paul Eggert [Mon, 3 Jan 2005 23:50:12 +0000 (23:50 +0000)]
Regenerate.

19 years agoUpdate serial number and copyright date.
Paul Eggert [Mon, 3 Jan 2005 23:45:48 +0000 (23:45 +0000)]
Update serial number and copyright date.

19 years ago* m4/jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
Paul Eggert [Mon, 3 Jan 2005 23:43:39 +0000 (23:43 +0000)]
* m4/jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
* m4/ullong_max.m4: New file.
* src/system.h: Undo previous change; we now use Autoconf.

19 years ago*** empty log message ***
Jim Meyering [Mon, 3 Jan 2005 21:25:21 +0000 (21:25 +0000)]
*** empty log message ***

19 years agoDon't set rows or columns to zero, to avoid
Jim Meyering [Mon, 3 Jan 2005 21:25:13 +0000 (21:25 +0000)]
Don't set rows or columns to zero, to avoid
a bug in the TIOCGWINSZ ioctl on at least Solaris5.9 systems.  Setting
either (or both) to zero would succeed, but subsequent `stty size'
would say `no size information for this device' due to the ioctl
failing with EINVAL.

19 years ago* utimens.c (futimens): Robustify the previous patch.
Paul Eggert [Mon, 3 Jan 2005 19:55:36 +0000 (19:55 +0000)]
* utimens.c (futimens): Robustify the previous patch.

19 years ago(futimens): Robustify the previous patch, by checking
Paul Eggert [Mon, 3 Jan 2005 19:54:54 +0000 (19:54 +0000)]
(futimens): Robustify the previous patch, by checking
for known valid error numbers rather than observed invalid ones.

19 years ago*** empty log message ***
Jim Meyering [Mon, 3 Jan 2005 19:23:14 +0000 (19:23 +0000)]
*** empty log message ***

19 years ago(futimens): Account for the fact that futimes
Jim Meyering [Mon, 3 Jan 2005 19:23:09 +0000 (19:23 +0000)]
(futimens): Account for the fact that futimes
can also fail with errno == ENOSYS in that case.
Patch from Dmitry V. Levin.

19 years ago*** empty log message ***
Jim Meyering [Mon, 3 Jan 2005 18:43:13 +0000 (18:43 +0000)]
*** empty log message ***

19 years agoIf PRIdMAX, PRIoMAX, PRIuMAX, and PRIxMAX are
Jim Meyering [Mon, 3 Jan 2005 18:43:09 +0000 (18:43 +0000)]
If PRIdMAX, PRIoMAX, PRIuMAX, and PRIxMAX are
not all defined and either ULONG_MAX or ULLONG_MAX is not defined,
then fail at compile-time rather than let tools like od produce
invalid results at run time.

19 years ago.
Jim Meyering [Mon, 3 Jan 2005 18:07:26 +0000 (18:07 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Mon, 3 Jan 2005 18:01:32 +0000 (18:01 +0000)]
*** empty log message ***

19 years agoRemove `.tmp' suffix; mkstemp requires that XXXXXX be a suffix.
Jim Meyering [Mon, 3 Jan 2005 18:01:22 +0000 (18:01 +0000)]
Remove `.tmp' suffix; mkstemp requires that XXXXXX be a suffix.

19 years ago*** empty log message ***
Jim Meyering [Mon, 3 Jan 2005 17:26:32 +0000 (17:26 +0000)]
*** empty log message ***

19 years ago(gl_FUNC_MKSTEMP): Don't `cd' into the temporary
Jim Meyering [Mon, 3 Jan 2005 17:26:28 +0000 (17:26 +0000)]
(gl_FUNC_MKSTEMP): Don't `cd' into the temporary
subdirectory.  That would make the subsequent AC_TRY_RUN macro fail,
for lack of the ./confdefs.h file.  Instead, use the temporary
directory name as a prefix on the template string.
Include <unistd.h> for the declaration of close.

19 years ago* utimens.c (futimens) [HAVE_FUTIMES]: Fall back on utimes if
Paul Eggert [Mon, 3 Jan 2005 08:52:18 +0000 (08:52 +0000)]
* utimens.c (futimens) [HAVE_FUTIMES]: Fall back on utimes if
futimes fails with errno == ENOENT.

19 years agofutimens) [HAVE_FUTIMES]: Fall back on utimes if futimes fails with
Paul Eggert [Mon, 3 Jan 2005 08:51:59 +0000 (08:51 +0000)]
futimens) [HAVE_FUTIMES]: Fall back on utimes if futimes fails with
errno == ENOENT.

19 years ago*** empty log message ***
Jim Meyering [Sun, 2 Jan 2005 17:16:05 +0000 (17:16 +0000)]
*** empty log message ***

19 years ago(version_etc_copyright): Update copyright date.
Jim Meyering [Sun, 2 Jan 2005 17:15:56 +0000 (17:15 +0000)]
(version_etc_copyright): Update copyright date.

20 years ago*** empty log message ***
Jim Meyering [Fri, 31 Dec 2004 10:06:48 +0000 (10:06 +0000)]
*** empty log message ***

20 years ago(rpl_openat): Correct comment.
Jim Meyering [Fri, 31 Dec 2004 10:06:43 +0000 (10:06 +0000)]
(rpl_openat): Correct comment.
Call free_cwd, to avoid leaking a file descriptor.

20 years ago* getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
Paul Eggert [Fri, 24 Dec 2004 06:03:57 +0000 (06:03 +0000)]
* getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.

20 years ago(gl_GETDATE): Remove AC_FUNC_ALLOCA.
Paul Eggert [Fri, 24 Dec 2004 06:03:45 +0000 (06:03 +0000)]
(gl_GETDATE): Remove AC_FUNC_ALLOCA.

20 years agoChange getdate to not use alloca. Shrink initial stack.
Paul Eggert [Fri, 24 Dec 2004 05:28:19 +0000 (05:28 +0000)]
Change getdate to not use alloca.  Shrink initial stack.

20 years ago(YYSTACK_USE_ALLOCA): Define to 0, since there's no
Paul Eggert [Fri, 24 Dec 2004 05:27:07 +0000 (05:27 +0000)]
(YYSTACK_USE_ALLOCA): Define to 0, since there's no
need to extend the stack.
(YYINITDEPTH): New macro, so that the initial stack isn't overly
large.

20 years ago.
Jim Meyering [Tue, 21 Dec 2004 21:56:47 +0000 (21:56 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 21 Dec 2004 21:46:33 +0000 (21:46 +0000)]
*** empty log message ***

20 years ago(gl_FUNC_MKSTEMP): Remove temporary directory right
Jim Meyering [Tue, 21 Dec 2004 21:46:27 +0000 (21:46 +0000)]
(gl_FUNC_MKSTEMP): Remove temporary directory right
away, rather than waiting for configure's at-exit trap code to do it.
Suggestion from Stepan Kasal.

20 years agoadjust indentation
Jim Meyering [Tue, 21 Dec 2004 21:43:36 +0000 (21:43 +0000)]
adjust indentation

20 years ago.
Jim Meyering [Tue, 21 Dec 2004 21:12:44 +0000 (21:12 +0000)]
.

20 years agotweak comment
Jim Meyering [Tue, 21 Dec 2004 21:11:58 +0000 (21:11 +0000)]
tweak comment

20 years ago.
Jim Meyering [Tue, 21 Dec 2004 21:11:11 +0000 (21:11 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 21 Dec 2004 09:58:46 +0000 (09:58 +0000)]
*** empty log message ***

20 years ago(usage): Say the default names are `xx00, xx01, ...', not `xx01, xx02, ...'.
Jim Meyering [Tue, 21 Dec 2004 09:58:38 +0000 (09:58 +0000)]
(usage): Say the default names are `xx00, xx01, ...', not `xx01, xx02, ...'.
Reported by Matt Kraai in http://bugs.debian.org/286605

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

20 years ago*** empty log message ***
Jim Meyering [Tue, 21 Dec 2004 09:55:28 +0000 (09:55 +0000)]
*** empty log message ***

20 years agoAvoid spurious failure on x86 solaris2.9 when using c89.
Jim Meyering [Tue, 21 Dec 2004 09:55:14 +0000 (09:55 +0000)]
Avoid spurious failure on x86 solaris2.9 when using c89.

20 years ago* src/split.c (usage): Mention default size. Suggested by Dan Jacobson.
Paul Eggert [Mon, 20 Dec 2004 20:01:05 +0000 (20:01 +0000)]
* src/split.c (usage): Mention default size.  Suggested by Dan Jacobson.

20 years ago(usage): Mention default size.
Paul Eggert [Mon, 20 Dec 2004 20:00:44 +0000 (20:00 +0000)]
(usage): Mention default size.

20 years ago*** empty log message ***
Jim Meyering [Mon, 20 Dec 2004 16:39:44 +0000 (16:39 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 20 Dec 2004 16:39:30 +0000 (16:39 +0000)]
*** empty log message ***

20 years agoDo the `cd' in a subshell.
Jim Meyering [Mon, 20 Dec 2004 16:39:24 +0000 (16:39 +0000)]
Do the `cd' in a subshell.

20 years agos/SPACE/TAB
Jim Meyering [Mon, 20 Dec 2004 15:38:46 +0000 (15:38 +0000)]
s/SPACE/TAB

20 years ago*** empty log message ***
Jim Meyering [Mon, 20 Dec 2004 15:31:53 +0000 (15:31 +0000)]
*** empty log message ***

20 years agoRather than using "conftestXXXXXX" as the mkstemp
Jim Meyering [Mon, 20 Dec 2004 15:31:47 +0000 (15:31 +0000)]
Rather than using "conftestXXXXXX" as the mkstemp
template, use a temporary directory and an 8.3-friendly template
to avoid trouble on systems like DJGPP.

20 years ago*** empty log message ***
Jim Meyering [Mon, 20 Dec 2004 15:31:18 +0000 (15:31 +0000)]
*** empty log message ***

20 years agoFix typo in comment.
Paul Eggert [Mon, 20 Dec 2004 08:09:42 +0000 (08:09 +0000)]
Fix typo in comment.

20 years agoRegenerate.
Paul Eggert [Mon, 20 Dec 2004 08:02:53 +0000 (08:02 +0000)]
Regenerate.

20 years ago* c-strtod.m4 (gl_C99_STRTOLD): New macro.
Paul Eggert [Mon, 20 Dec 2004 07:57:44 +0000 (07:57 +0000)]
* c-strtod.m4 (gl_C99_STRTOLD): New macro.

20 years ago* c-strtod.c (STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
Paul Eggert [Mon, 20 Dec 2004 07:57:26 +0000 (07:57 +0000)]
* c-strtod.c (STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.

20 years ago(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.
Paul Eggert [Mon, 20 Dec 2004 07:57:12 +0000 (07:57 +0000)]
(STRTOD): Depend on HAVE_C99_STRTOLD, not HAVE_DECL_STRTOLD.

20 years ago(gl_C99_STRTOLD): New macro.
Paul Eggert [Mon, 20 Dec 2004 07:56:51 +0000 (07:56 +0000)]
(gl_C99_STRTOLD): New macro.
(gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).

20 years agoFix alloca problems with getdate.
Paul Eggert [Sun, 19 Dec 2004 13:42:55 +0000 (13:42 +0000)]
Fix alloca problems with getdate.

20 years agoInclude <alloca.h> only if HAVE_ALLOCA.
Paul Eggert [Sun, 19 Dec 2004 13:42:26 +0000 (13:42 +0000)]
Include <alloca.h> only if HAVE_ALLOCA.
(YYSTACK_USE_ALLOCA): Define to 0 if !HAVE_ALLOCA.
(YYMAXDEPTH): New macro.

20 years agoConditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
Paul Eggert [Sun, 19 Dec 2004 13:42:03 +0000 (13:42 +0000)]
Conditionalize on _GNULIB_ALLOCA_H, not _ALLOCA_H.
Remove now-obsolete comment about AIX.

20 years ago* NEWS: Mention that one should eval "`dircolors`" rather than `dircolors`.
Paul Eggert [Sun, 19 Dec 2004 13:32:12 +0000 (13:32 +0000)]
* NEWS: Mention that one should eval "`dircolors`" rather than `dircolors`.

20 years ago* NEWS: Mention that one should eval "`dircolors`" rather than
Paul Eggert [Sun, 19 Dec 2004 13:31:45 +0000 (13:31 +0000)]
* NEWS: Mention that one should eval "`dircolors`" rather than
`dircolors`.

20 years ago*** empty log message ***
Jim Meyering [Fri, 17 Dec 2004 08:59:00 +0000 (08:59 +0000)]
*** empty log message ***

20 years ago * tests/mv/hard-link-1: Rearrange to use newer trap-handling code,
Jim Meyering [Fri, 17 Dec 2004 08:58:56 +0000 (08:58 +0000)]
* tests/mv/hard-link-1: Rearrange to use newer trap-handling code,
so temporary directories aren't left behind upon e.g., interrupt.

20 years ago*** empty log message ***
Jim Meyering [Fri, 17 Dec 2004 08:48:19 +0000 (08:48 +0000)]
*** empty log message ***

20 years agoupdate from gnulib
Jim Meyering [Fri, 17 Dec 2004 08:40:35 +0000 (08:40 +0000)]
update from gnulib

20 years agoSync mdate-sh from gnulib.
Paul Eggert [Fri, 17 Dec 2004 05:23:44 +0000 (05:23 +0000)]
Sync mdate-sh from gnulib.

20 years ago* src/ls.c (print_dir): Use "%s: not listing already-listed directory".
Paul Eggert [Fri, 17 Dec 2004 05:09:05 +0000 (05:09 +0000)]
* src/ls.c (print_dir): Use "%s: not listing already-listed directory".

20 years ago(print_dir): Use "%s: not listing already-listed
Paul Eggert [Fri, 17 Dec 2004 05:08:40 +0000 (05:08 +0000)]
(print_dir): Use "%s: not listing already-listed
directory", not "not listing already-listed directory: %s", to
format already-listed directories, to be consistent with other
diagnostics involving file names and colons.

20 years ago* coreutils.texi: Fix minor problems in "ls" and "dircolors".
Paul Eggert [Wed, 15 Dec 2004 22:08:29 +0000 (22:08 +0000)]
* coreutils.texi: Fix minor problems in "ls" and "dircolors".

20 years ago(ls invocation): Change minor problem to be
Paul Eggert [Wed, 15 Dec 2004 22:08:07 +0000 (22:08 +0000)]
(ls invocation): Change minor problem to be
"subdirectory not found", since top-level trouble is now serious.
(dircolors invocation): Quote argument to eval.  Problem reported
by Stephane Chazelas.

20 years ago*** empty log message ***
Jim Meyering [Wed, 15 Dec 2004 16:15:16 +0000 (16:15 +0000)]
*** empty log message ***

20 years agomention tac bug fix
Jim Meyering [Wed, 15 Dec 2004 16:03:12 +0000 (16:03 +0000)]
mention tac bug fix

20 years ago.
Jim Meyering [Wed, 15 Dec 2004 16:02:35 +0000 (16:02 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 14 Dec 2004 23:53:55 +0000 (23:53 +0000)]
*** empty log message ***

20 years ago(__LDADD): Define, so that building `[' on
Jim Meyering [Tue, 14 Dec 2004 23:53:48 +0000 (23:53 +0000)]
(__LDADD): Define, so that building `[' on
Solaris still uses the -lgen library that it requires in order
to get a definition of eaccess.

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

20 years agoAdd Bulgarian (bg).
Jim Meyering [Tue, 14 Dec 2004 22:16:39 +0000 (22:16 +0000)]
Add Bulgarian (bg).

20 years agoversion: 5.2.1
Jim Meyering [Tue, 14 Dec 2004 22:15:59 +0000 (22:15 +0000)]
version: 5.2.1

20 years ago*** empty log message ***
Jim Meyering [Tue, 14 Dec 2004 10:43:11 +0000 (10:43 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 14 Dec 2004 10:43:05 +0000 (10:43 +0000)]
*** empty log message ***

20 years agoAdd a few more tests.
Jim Meyering [Tue, 14 Dec 2004 10:42:58 +0000 (10:42 +0000)]
Add a few more tests.

20 years ago.
Jim Meyering [Tue, 14 Dec 2004 10:41:00 +0000 (10:41 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 14 Dec 2004 10:40:18 +0000 (10:40 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Tue, 14 Dec 2004 10:36:08 +0000 (10:36 +0000)]
*** empty log message ***

20 years ago(TESTS): Add tac-continue.
Jim Meyering [Tue, 14 Dec 2004 10:36:04 +0000 (10:36 +0000)]
(TESTS): Add tac-continue.

20 years agoEnsure that tac processes all command line arguments, even
Jim Meyering [Tue, 14 Dec 2004 10:35:35 +0000 (10:35 +0000)]
Ensure that tac processes all command line arguments, even
when it encounters an error with say the first one.

20 years ago [DONT_UNLINK_WHILE_OPEN]: Add a FIXME comment explaining that
Jim Meyering [Tue, 14 Dec 2004 10:28:03 +0000 (10:28 +0000)]
[DONT_UNLINK_WHILE_OPEN]: Add a FIXME comment explaining that
using atexit like this is wrong.

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

20 years ago(tac_nonseekable): Return false also if copy_to_temp fails.
Jim Meyering [Tue, 14 Dec 2004 09:52:58 +0000 (09:52 +0000)]
(tac_nonseekable): Return false also if copy_to_temp fails.

20 years ago*** empty log message ***
Jim Meyering [Tue, 14 Dec 2004 08:51:00 +0000 (08:51 +0000)]
*** empty log message ***

20 years agoInclude quotearg.h.
Jim Meyering [Tue, 14 Dec 2004 08:50:52 +0000 (08:50 +0000)]
Include quotearg.h.
Use quotearg_colon in most diagnostics.
(copy_to_temp): Rewrite not to exit upon I/O or temp-file-creation
failure.  Before, this command (with /full/tmp being a full partition)
  TMPDIR=/full/tmp ./tac /proc/modules tac.c
would exit immediately upon the write error while trying to copy
non-seekable /proc/modules to the full partition.  Now it still
reports the failure but continues on with the remaining file.

20 years agoCause top-level failures to exit with status 2 with "ls".
Paul Eggert [Tue, 14 Dec 2004 00:43:20 +0000 (00:43 +0000)]
Cause top-level failures to exit with status 2 with "ls".

20 years ago(no-a-isdir-b): This now exits with status 2,
Paul Eggert [Tue, 14 Dec 2004 00:42:46 +0000 (00:42 +0000)]
(no-a-isdir-b): This now exits with status 2,
not status 1.

20 years ago(gobble_file): Change arg name to be command_line_arg
Paul Eggert [Tue, 14 Dec 2004 00:42:19 +0000 (00:42 +0000)]
(gobble_file): Change arg name to be command_line_arg
rather than explicit_arg, for consistency with copy.c.
(extract_dirs_from_files): Remove ignore_dot_and_dot_dot arg, since
it is deducible from dirname arg.  All callers changed.
(extract_dirs_from_files, print_dir, queue_directory):
Add command_line_arg arg.  All callers changed.
(struct pending): Add command_line_arg member.
(main): Use NULL rather than 0 when appropriate.
(set_exit_status, file_failure): New functions.
(queue_directory): Store command_line_arg into new structure.
(print_dir, gobble_file, get_link_name):
Use file_failure to report problems in accessing files,
so that the exit status is set consistently.
(print_dir): Simplify readdir failure code yet again.
If closedir fails, report "closing directory" rather than "reading
directory" failure.
(xstrcoll): Use set_exit_status to set status on failure.

20 years ago* coreutils.texi (join invocation): Blank separators need quoting.
Paul Eggert [Sun, 12 Dec 2004 07:25:01 +0000 (07:25 +0000)]
* coreutils.texi (join invocation): Blank separators need quoting.

20 years ago(join invocation): Mention that blank separators
Paul Eggert [Sun, 12 Dec 2004 07:24:31 +0000 (07:24 +0000)]
(join invocation): Mention that blank separators
in the -o option need to be quoted.

20 years ago*** empty log message ***
Jim Meyering [Sat, 11 Dec 2004 11:21:48 +0000 (11:21 +0000)]
*** empty log message ***