platform/upstream/coreutils.git
18 years ago(main): Pass PDS_PRE_2000 to posixtime.
Paul Eggert [Tue, 1 Nov 2005 23:42:36 +0000 (23:42 +0000)]
(main): Pass PDS_PRE_2000 to posixtime.

18 years ago(PDS_PRE_2000): New macro.
Paul Eggert [Tue, 1 Nov 2005 23:42:16 +0000 (23:42 +0000)]
(PDS_PRE_2000): New macro.

18 years ago(year): Arg is now syntax_bits rather than allow_century.
Paul Eggert [Tue, 1 Nov 2005 23:41:56 +0000 (23:41 +0000)]
(year): Arg is now syntax_bits rather than allow_century.
All usages changed.  Reject dates outside the range 1969-1999 if
PDS_PRE_2000 is used.

18 years ago(touch invocation): The old usage works only for 1969-1999 now.
Paul Eggert [Tue, 1 Nov 2005 23:41:33 +0000 (23:41 +0000)]
(touch invocation): The old usage works only for 1969-1999 now.

18 years ago"touch 0101000000" now operates as POSIX 1003.1-2001 requires.
Paul Eggert [Tue, 1 Nov 2005 23:41:13 +0000 (23:41 +0000)]
"touch 0101000000" now operates as POSIX 1003.1-2001 requires.

18 years ago"tail -c 2 FILE" now operates as POSIX 1003.1-2001 requires.
Paul Eggert [Tue, 1 Nov 2005 23:06:32 +0000 (23:06 +0000)]
"tail -c 2 FILE" now operates as POSIX 1003.1-2001 requires.

18 years ago(c-2, c-2-minus, c2, c2-minus): New tests.
Paul Eggert [Tue, 1 Nov 2005 23:05:52 +0000 (23:05 +0000)]
(c-2, c-2-minus, c2, c2-minus): New tests.
(test_vector): Add special cases for _POSIX2_VERSION, and
regularize the old ones a bit.

18 years ago(parse_obsolete_option): Implement fix for "tail -c 2 FILE".
Paul Eggert [Tue, 1 Nov 2005 23:05:29 +0000 (23:05 +0000)]
(parse_obsolete_option): Implement fix for "tail -c 2 FILE".

18 years ago(tail invocation): Describe obsolete usages
Paul Eggert [Tue, 1 Nov 2005 23:05:00 +0000 (23:05 +0000)]
(tail invocation): Describe obsolete usages
like "tail -2" more precisely.

18 years agotail -c 2 FILE now operates as POSIX 1002.1-2001 requires.
Paul Eggert [Tue, 1 Nov 2005 23:04:37 +0000 (23:04 +0000)]
tail -c 2 FILE now operates as POSIX 1002.1-2001 requires.

18 years ago* src/dd.c (skip): Fix off-by-one error.
Paul Eggert [Mon, 31 Oct 2005 08:39:36 +0000 (08:39 +0000)]
* src/dd.c (skip): Fix off-by-one error.

18 years ago(skip): Fix off-by-one error reported by Theodoros V. Kalamatianos.
Paul Eggert [Mon, 31 Oct 2005 08:39:14 +0000 (08:39 +0000)]
(skip): Fix off-by-one error reported by Theodoros V. Kalamatianos.

18 years agoTrivial changes to support SCO systems.
Paul Eggert [Sun, 30 Oct 2005 23:05:16 +0000 (23:05 +0000)]
Trivial changes to support SCO systems.

18 years ago(gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well as PATH_MAX.
Paul Eggert [Sun, 30 Oct 2005 23:04:55 +0000 (23:04 +0000)]
(gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well as PATH_MAX.
Revamp wording and local variables to suggest the intended function of
the PATH_MAX check.

18 years ago(gl_FUNC_FPENDING): Correct check for SCO systems,
Paul Eggert [Sun, 30 Oct 2005 23:04:17 +0000 (23:04 +0000)]
(gl_FUNC_FPENDING): Correct check for SCO systems,
where __ptr is null when no I/O is pending.

18 years agoFix porting problems reported by Theodoros V. Kalamatianos.
Paul Eggert [Sun, 30 Oct 2005 21:46:00 +0000 (21:46 +0000)]
Fix porting problems reported by Theodoros V. Kalamatianos.

18 years ago* tests/mkdir/p-3: Require that the test be run as non-root.
Paul Eggert [Sun, 30 Oct 2005 21:45:45 +0000 (21:45 +0000)]
* tests/mkdir/p-3: Require that the test be run as non-root.

18 years agoRequire that the test be run as non-root.
Paul Eggert [Sun, 30 Oct 2005 21:44:53 +0000 (21:44 +0000)]
Require that the test be run as non-root.

18 years ago[defined HAVE_CONFIG_H]: Include <config.h>, so that large files can be opened.
Paul Eggert [Sun, 30 Oct 2005 21:44:31 +0000 (21:44 +0000)]
[defined HAVE_CONFIG_H]: Include <config.h>, so that large files can be opened.

18 years ago(futimens) [HAVE_WORKING_UTIMES && HAVE_FUTIMES]:
Paul Eggert [Sun, 30 Oct 2005 21:32:02 +0000 (21:32 +0000)]
(futimens) [HAVE_WORKING_UTIMES && HAVE_FUTIMES]:
Don't assume that futimes failing means we must fail.

18 years ago(__getcwd): Don't assume that system calls after readdir
Paul Eggert [Sun, 30 Oct 2005 01:31:32 +0000 (01:31 +0000)]
(__getcwd): Don't assume that system calls after readdir
leave errno alone.  Problem reported by Dmitry V. Levin.

18 years ago(savedir): Don't assume that xrealloc etc. leave errno alone.
Paul Eggert [Fri, 28 Oct 2005 23:06:42 +0000 (23:06 +0000)]
(savedir): Don't assume that xrealloc etc. leave errno alone.

18 years agosrc/ln.c (FILE_BASENAME_CONCAT): Omit unnecessary slashes in the
Paul Eggert [Fri, 28 Oct 2005 22:17:27 +0000 (22:17 +0000)]
src/ln.c (FILE_BASENAME_CONCAT): Omit unnecessary slashes in the
boundary between DEST and SOURCE in the result.

18 years ago(FILE_BASENAME_CONCAT): Omit unnecessary slashes in the
Paul Eggert [Fri, 28 Oct 2005 22:17:00 +0000 (22:17 +0000)]
(FILE_BASENAME_CONCAT): Omit unnecessary slashes in the
boundary between DEST and SOURCE in the result.

18 years ago*** empty log message ***
Jim Meyering [Thu, 27 Oct 2005 19:44:45 +0000 (19:44 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Thu, 27 Oct 2005 16:27:15 +0000 (16:27 +0000)]
*** empty log message ***

18 years ago(main) [!O_BINARY]: Changed default read mode
Jim Meyering [Thu, 27 Oct 2005 16:27:04 +0000 (16:27 +0000)]
(main) [!O_BINARY]: Changed default read mode
back to text, to sync with documentation and for backwards compatibility.

18 years agoAdd these: sha224sum sha256sum sha384sum sha512sum
Jim Meyering [Wed, 26 Oct 2005 21:46:24 +0000 (21:46 +0000)]
Add these: sha224sum sha256sum sha384sum sha512sum

18 years ago*** empty log message ***
Jim Meyering [Tue, 25 Oct 2005 13:50:30 +0000 (13:50 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Tue, 25 Oct 2005 13:47:38 +0000 (13:47 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Tue, 25 Oct 2005 12:03:56 +0000 (12:03 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Tue, 25 Oct 2005 12:00:55 +0000 (12:00 +0000)]
*** empty log message ***

18 years ago(other-wr): Add an explicit test for
Jim Meyering [Tue, 25 Oct 2005 12:00:51 +0000 (12:00 +0000)]
(other-wr): Add an explicit test for
the dircolors bug (NULL-dereference) fixed yesterday.

18 years ago(tac_file): When determining whether a file is seekable,
Jim Meyering [Mon, 24 Oct 2005 16:07:36 +0000 (16:07 +0000)]
(tac_file): When determining whether a file is seekable,
also test whether it is a tty.  Using only the lseek-based test would
give a false positive on Solaris.  Reported by Peter Fales.

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 16:07:28 +0000 (16:07 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Mon, 24 Oct 2005 13:44:58 +0000 (13:44 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 13:42:28 +0000 (13:42 +0000)]
*** empty log message ***

18 years ago(TESTS): Add p-slashdot.
Jim Meyering [Mon, 24 Oct 2005 13:42:21 +0000 (13:42 +0000)]
(TESTS): Add p-slashdot.

18 years agoNew test, for "mkdir -p" failure.
Jim Meyering [Mon, 24 Oct 2005 13:42:02 +0000 (13:42 +0000)]
New test, for "mkdir -p" failure.

18 years ago(TESTS): Add d-slashdot.
Jim Meyering [Mon, 24 Oct 2005 13:41:41 +0000 (13:41 +0000)]
(TESTS): Add d-slashdot.

18 years agoNew test, for "install -d" failure.
Jim Meyering [Mon, 24 Oct 2005 13:41:17 +0000 (13:41 +0000)]
New test, for "install -d" failure.

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 13:36:03 +0000 (13:36 +0000)]
*** empty log message ***

18 years ago(make_dir_parents): Like the code above it, don't rely
Jim Meyering [Mon, 24 Oct 2005 13:35:59 +0000 (13:35 +0000)]
(make_dir_parents): Like the code above it, don't rely
on mkdir failing with a particular errno value (EEXIST).
Based on a patch by Dmitry V. Levin.

18 years agorename array_cardinality to array_len
Jim Meyering [Mon, 24 Oct 2005 10:39:46 +0000 (10:39 +0000)]
rename array_cardinality to array_len

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 10:22:19 +0000 (10:22 +0000)]
*** empty log message ***

18 years ago(make_dir_parents): Make the preceding fix a little
Jim Meyering [Mon, 24 Oct 2005 10:22:10 +0000 (10:22 +0000)]
(make_dir_parents): Make the preceding fix a little
more robust, e.g., when the final component is created as a non-
directory by another process just before `mkdir -p's final mkdir.

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 10:03:51 +0000 (10:03 +0000)]
*** empty log message ***

18 years agoA command like `mkdir -p nonexistent/.' would create the
Jim Meyering [Mon, 24 Oct 2005 10:03:47 +0000 (10:03 +0000)]
A command like `mkdir -p nonexistent/.' would create the
directory but exit nonzero with a diagnostic.  This could also be
triggered with a non-`.' component, e.g., in a race with another
process running the same `mkdir -p nonexistent/sub' command.

(make_dir_parents): Handle the case of an existing final component.
Reported by Matthias Andree here:
http://savannah.gnu.org/bugs/?func=detailitem&item_id=14848

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 09:55:13 +0000 (09:55 +0000)]
*** empty log message ***

18 years ago(ls_codes): Add missing comma.
Jim Meyering [Mon, 24 Oct 2005 09:55:00 +0000 (09:55 +0000)]
(ls_codes): Add missing comma.
Anonymous report and patch from
http://savannah.gnu.org/bugs/?func=detailitem&item_id=14849

18 years agoAdd a compile-time assertion that the slack_codes
Jim Meyering [Mon, 24 Oct 2005 09:43:01 +0000 (09:43 +0000)]
Add a compile-time assertion that the slack_codes
and ls_codes arrays have the same number of elements.  This would
have prevented the above-fixed bug.

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 09:01:15 +0000 (09:01 +0000)]
*** empty log message ***

18 years ago(Makefile): Remove stray po-directories argument.
Jim Meyering [Mon, 24 Oct 2005 09:01:02 +0000 (09:01 +0000)]
(Makefile): Remove stray po-directories argument.

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 08:17:00 +0000 (08:17 +0000)]
*** empty log message ***

18 years agoUpdate from gettext cvs (0.15).
Jim Meyering [Mon, 24 Oct 2005 08:13:39 +0000 (08:13 +0000)]
Update from gettext cvs (0.15).

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 07:28:57 +0000 (07:28 +0000)]
*** empty log message ***

18 years ago* src/expand.c (parse_tab_stops): Add comment to make this function
Jim Meyering [Mon, 24 Oct 2005 07:28:39 +0000 (07:28 +0000)]
* src/expand.c (parse_tab_stops): Add comment to make this function
identical to the one in unexpand.c.

* src/unexpand.c (parse_tab_stops): Adjust syntax to make this function
identical to the one in expand.c.

18 years ago*** empty log message ***
Jim Meyering [Mon, 24 Oct 2005 07:18:25 +0000 (07:18 +0000)]
*** empty log message ***

18 years ago(next_file): Don't assume fopen cannot return stdin.
Jim Meyering [Mon, 24 Oct 2005 07:18:18 +0000 (07:18 +0000)]
(next_file): Don't assume fopen cannot return stdin.

18 years ago.
Jim Meyering [Sun, 23 Oct 2005 20:48:56 +0000 (20:48 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 16:05:32 +0000 (16:05 +0000)]
*** empty log message ***

18 years agoDocument SHA-1 and SHA-2 utlities.
Jim Meyering [Sun, 23 Oct 2005 16:05:26 +0000 (16:05 +0000)]
Document SHA-1 and SHA-2 utlities.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 16:01:21 +0000 (16:01 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Sun, 23 Oct 2005 16:00:59 +0000 (16:00 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 16:00:25 +0000 (16:00 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 15:59:09 +0000 (15:59 +0000)]
*** empty log message ***

18 years agofrom David Madore
Jim Meyering [Sun, 23 Oct 2005 15:58:59 +0000 (15:58 +0000)]
from David Madore

18 years agoRemove no-longer-relevant comment.
Jim Meyering [Sun, 23 Oct 2005 15:55:30 +0000 (15:55 +0000)]
Remove no-longer-relevant comment.

18 years agofrom David Madore
Jim Meyering [Sun, 23 Oct 2005 15:53:55 +0000 (15:53 +0000)]
from David Madore

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 15:47:07 +0000 (15:47 +0000)]
*** empty log message ***

18 years agotest scripts from David Madore
Jim Meyering [Sun, 23 Oct 2005 15:46:39 +0000 (15:46 +0000)]
test scripts from David Madore

18 years ago(TESTS): Add new sha224sum, sha256sum, sha384sum, sha512sum test scripts
Jim Meyering [Sun, 23 Oct 2005 15:46:14 +0000 (15:46 +0000)]
(TESTS): Add new sha224sum, sha256sum, sha384sum, sha512sum test scripts
here rather that each in its own directory.

18 years agoAdd new sha* programs.
Jim Meyering [Sun, 23 Oct 2005 15:37:53 +0000 (15:37 +0000)]
Add new sha* programs.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 15:37:04 +0000 (15:37 +0000)]
*** empty log message ***

18 years agoAdd gl_SHA256 and gl_SHA512.
Jim Meyering [Sun, 23 Oct 2005 15:37:00 +0000 (15:37 +0000)]
Add gl_SHA256 and gl_SHA512.

18 years ago.
Jim Meyering [Sun, 23 Oct 2005 15:36:49 +0000 (15:36 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 15:36:09 +0000 (15:36 +0000)]
*** empty log message ***

18 years agoAdd new programs: sha224sum, sha256sum, sha384sum, sha512sum.
Jim Meyering [Sun, 23 Oct 2005 15:31:44 +0000 (15:31 +0000)]
Add new programs: sha224sum, sha256sum, sha384sum, sha512sum.
Add their names to the list.

18 years ago(digest_check, main): Use ptr_align rather than
Jim Meyering [Sun, 23 Oct 2005 15:29:25 +0000 (15:29 +0000)]
(digest_check, main): Use ptr_align rather than
a dangerous pointer-value-to-`unsigned' cast.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 15:25:19 +0000 (15:25 +0000)]
*** empty log message ***

18 years agoNew file, used to build sha* programs from md5sum.c.
Jim Meyering [Sun, 23 Oct 2005 15:25:14 +0000 (15:25 +0000)]
New file, used to build sha* programs from md5sum.c.

18 years ago(sha224sum, sha256sum, sha384sum, sha512sum): Rules for compiling sha-2 utilities
Jim Meyering [Sun, 23 Oct 2005 15:23:56 +0000 (15:23 +0000)]
(sha224sum, sha256sum, sha384sum, sha512sum): Rules for compiling sha-2 utilities
(noinst_HEADERS): Remove checksum.h.

18 years agoProvide framework for computing sha-2 hashes.
Jim Meyering [Sun, 23 Oct 2005 15:22:02 +0000 (15:22 +0000)]
Provide framework for computing sha-2 hashes.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 15:18:48 +0000 (15:18 +0000)]
*** empty log message ***

18 years agoadd sha-2 .x files
Jim Meyering [Sun, 23 Oct 2005 15:18:13 +0000 (15:18 +0000)]
add sha-2 .x files

18 years ago(dist_man_MANS): Add the corresponding .1 names.
Jim Meyering [Sun, 23 Oct 2005 15:17:41 +0000 (15:17 +0000)]
(dist_man_MANS): Add the corresponding .1 names.
(sha224sum.1, sha256sum.1, sha384sum.1, sha512sum.1): New dependencies.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 14:32:25 +0000 (14:32 +0000)]
*** empty log message ***

18 years ago(million-a): Add the "million a's" test (one of the FIPS test vectors).
Jim Meyering [Sun, 23 Oct 2005 14:32:18 +0000 (14:32 +0000)]
(million-a): Add the "million a's" test (one of the FIPS test vectors).

18 years ago.
Jim Meyering [Sun, 23 Oct 2005 14:19:22 +0000 (14:19 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 10:42:16 +0000 (10:42 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sun, 23 Oct 2005 10:41:50 +0000 (10:41 +0000)]
*** empty log message ***

18 years agoUse 6.0-cvs as the version string.
Jim Meyering [Sun, 23 Oct 2005 10:41:18 +0000 (10:41 +0000)]
Use 6.0-cvs as the version string.

18 years ago.
Jim Meyering [Sat, 22 Oct 2005 21:10:03 +0000 (21:10 +0000)]
.

18 years ago. COREUTILS-5_92 v5.92
Jim Meyering [Sat, 22 Oct 2005 20:59:27 +0000 (20:59 +0000)]
.

18 years ago.
Jim Meyering [Sat, 22 Oct 2005 18:15:06 +0000 (18:15 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Sat, 22 Oct 2005 18:13:04 +0000 (18:13 +0000)]
*** empty log message ***

18 years agoRemove -cvs suffix from version string.
Jim Meyering [Sat, 22 Oct 2005 18:12:57 +0000 (18:12 +0000)]
Remove -cvs suffix from version string.

18 years ago*** empty log message ***
Jim Meyering [Sat, 22 Oct 2005 18:12:23 +0000 (18:12 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Sat, 22 Oct 2005 18:11:07 +0000 (18:11 +0000)]
*** empty log message ***

18 years ago.
Jim Meyering [Thu, 20 Oct 2005 14:30:53 +0000 (14:30 +0000)]
.