platform/upstream/coreutils.git
23 years agoAdd a test.
Jim Meyering [Sun, 29 Oct 2000 08:04:17 +0000 (08:04 +0000)]
Add a test.

23 years ago*** empty log message ***
Jim Meyering [Sun, 29 Oct 2000 07:55:27 +0000 (07:55 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 29 Oct 2000 07:50:07 +0000 (07:50 +0000)]
*** empty log message ***

23 years ago(DT_INIT): Define.
Jim Meyering [Sun, 29 Oct 2000 07:49:35 +0000 (07:49 +0000)]
(DT_INIT): Define.
[enum filetype]: Remove the #ifdef, and use DT_INIT on the
initializers instead.

23 years ago(LC_COLLATE): Set it to the empty string and
Jim Meyering [Sun, 29 Oct 2000 07:38:13 +0000 (07:38 +0000)]
(LC_COLLATE): Set it to the empty string and
export it.  Otherwise, tests/cp/cp-mv-backup would fail e.g., when
LC_COLLATE was set to en.  Reported by Vin Shelton.

23 years ago[enum filetype] (arg_directory): Rather than `100', use
Jim Meyering [Sat, 28 Oct 2000 18:00:57 +0000 (18:00 +0000)]
[enum filetype] (arg_directory): Rather than `100', use
a number that should never conflict with another DT_* value.
From Ulrich Drepper.

23 years ago(main): In call to gobble_file with `"."', use `directory'
Jim Meyering [Sat, 28 Oct 2000 17:58:25 +0000 (17:58 +0000)]
(main): In call to gobble_file with `"."', use `directory'
as the type, not `unknown'.  From Ulrich Drepper.

23 years ago*** empty log message *** FILEUTILS-4_0_28
Jim Meyering [Sat, 28 Oct 2000 13:50:23 +0000 (13:50 +0000)]
*** empty log message ***

23 years agoDisable this test by default; it's expensive.
Jim Meyering [Sat, 28 Oct 2000 13:50:14 +0000 (13:50 +0000)]
Disable this test by default; it's expensive.
Mark this as an expensive test.

23 years ago*this* is not an expensive test
Jim Meyering [Sat, 28 Oct 2000 13:49:43 +0000 (13:49 +0000)]
*this* is not an expensive test

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 13:39:20 +0000 (13:39 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 13:38:52 +0000 (13:38 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 13:12:02 +0000 (13:12 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 13:11:43 +0000 (13:11 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 12:53:50 +0000 (12:53 +0000)]
*** empty log message ***

23 years agoFactor out the expensive-test-checking code, ...
Jim Meyering [Sat, 28 Oct 2000 12:53:27 +0000 (12:53 +0000)]
Factor out the expensive-test-checking code, ...

23 years agoMark this as an expensive test.
Jim Meyering [Sat, 28 Oct 2000 12:51:40 +0000 (12:51 +0000)]
Mark this as an expensive test.

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 12:50:13 +0000 (12:50 +0000)]
*** empty log message ***

23 years agosource lang-default before the first `cd'
Jim Meyering [Sat, 28 Oct 2000 12:46:59 +0000 (12:46 +0000)]
source lang-default before the first `cd'

23 years agosource lang-default before the first `cd'
Jim Meyering [Sat, 28 Oct 2000 12:36:37 +0000 (12:36 +0000)]
source lang-default before the first `cd'

23 years agosource lang-default before the first `cd'
Jim Meyering [Sat, 28 Oct 2000 12:36:17 +0000 (12:36 +0000)]
source lang-default before the first `cd'

23 years agosource lang-default before changing directory
Jim Meyering [Sat, 28 Oct 2000 12:33:26 +0000 (12:33 +0000)]
source lang-default before changing directory

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 12:29:54 +0000 (12:29 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ): Add jm_PREREQ_MEMCHR.
Jim Meyering [Sat, 28 Oct 2000 12:29:45 +0000 (12:29 +0000)]
(jm_PREREQ): Add jm_PREREQ_MEMCHR.
(jm_PREREQ_MEMCHR): New function.

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 12:19:05 +0000 (12:19 +0000)]
*** empty log message ***

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

23 years agoMake `ls' a lot more efficient on systems (e.g., linux-2.4.*)
Jim Meyering [Sat, 28 Oct 2000 12:18:21 +0000 (12:18 +0000)]
Make `ls' a lot more efficient on systems (e.g., linux-2.4.*)
that save file type information in directory entries.

[enum filetype] (unknown):
Add members (as yet unused):
(HAVE_STRUCT_DIRENT_D_TYPE): Define.
(format_needs_type): New global.
(main): Set it.
(print_dir): Set `type' from directory entry, if possible.
(gobble_file): Add a parameter, TYPE.
Stat the file only if its type is unknown and we need the type.
Patch from Ulrich Drepper.

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 12:00:14 +0000 (12:00 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 11:59:34 +0000 (11:59 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 11:50:00 +0000 (11:50 +0000)]
*** empty log message ***

23 years agoInclude assert.h.
Jim Meyering [Sat, 28 Oct 2000 11:49:52 +0000 (11:49 +0000)]
Include assert.h.
(fillrand): Add a parameter, size_max.
Add an assertion.
Adjust caller.
(dopass): Break out of the `for (;;)' loop if size < offset.
That can happen now that dopass is called with SIZE == -1.
(do_wipefd): Accept a length of zero only for a regular file.
If lseek fails or returns 0 for a non-regular file, let dopass
determine the length.
Inspired by a patch from Alan Iwi.

23 years ago.
Jim Meyering [Sat, 28 Oct 2000 08:25:21 +0000 (08:25 +0000)]
.

23 years agoUpdate from libc.
Jim Meyering [Sat, 28 Oct 2000 08:24:44 +0000 (08:24 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 08:22:17 +0000 (08:22 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Sat, 28 Oct 2000 08:22:11 +0000 (08:22 +0000)]
Update from libc.
Adjust for portability:
[HAVE_STDLIB_H]: Include stdlib.h.
[HAVE_BP_SYM_H || _LIBC]: Guard inclusion of bp-sym.h.
Undef __memchr, too.
[!weak_alias]: Define __memchr to memchr.

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 07:56:40 +0000 (07:56 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Sat, 28 Oct 2000 07:56:12 +0000 (07:56 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 28 Oct 2000 07:47:07 +0000 (07:47 +0000)]
*** empty log message ***

23 years ago(setusershell) [HAVE_FSEEKO]: Use fseek0.
Jim Meyering [Sat, 28 Oct 2000 07:47:04 +0000 (07:47 +0000)]
(setusershell) [HAVE_FSEEKO]: Use fseek0.
Patch by Ulrich Drepper.

23 years agoUpdate from libc.
Jim Meyering [Sat, 28 Oct 2000 07:15:32 +0000 (07:15 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Thu, 26 Oct 2000 22:36:58 +0000 (22:36 +0000)]
*** empty log message ***

23 years ago(usage): Mention the time zone, UTC, and write the date
Jim Meyering [Thu, 26 Oct 2000 22:36:39 +0000 (22:36 +0000)]
(usage): Mention the time zone, UTC, and write the date
in ISO format in the description of %s.  Suggestion from Karl Berry.

23 years ago(Authors of getdate): Add Paul Eggert.
Jim Meyering [Thu, 26 Oct 2000 14:18:24 +0000 (14:18 +0000)]
(Authors of getdate): Add Paul Eggert.

23 years ago*** empty log message ***
Jim Meyering [Thu, 26 Oct 2000 14:18:06 +0000 (14:18 +0000)]
*** empty log message ***

23 years agotypo
Jim Meyering [Thu, 26 Oct 2000 14:16:24 +0000 (14:16 +0000)]
typo

23 years ago.
Jim Meyering [Thu, 26 Oct 2000 09:39:08 +0000 (09:39 +0000)]
.

23 years agoUpdate from libc.
Jim Meyering [Thu, 26 Oct 2000 08:08:06 +0000 (08:08 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 08:39:48 +0000 (08:39 +0000)]
*** empty log message ***

23 years agoInclude dirname.h.
Jim Meyering [Wed, 25 Oct 2000 08:39:29 +0000 (08:39 +0000)]
Include dirname.h.
(main): Use dir_name_r rather than open-coding it.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 08:36:13 +0000 (08:36 +0000)]
*** empty log message ***

23 years ago(dir_name_r): Declare it.
Jim Meyering [Wed, 25 Oct 2000 08:36:08 +0000 (08:36 +0000)]
(dir_name_r): Declare it.

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 08:34:36 +0000 (08:34 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 25 Oct 2000 06:01:31 +0000 (06:01 +0000)]
*** empty log message ***

23 years agocppi, on one line
Jim Meyering [Wed, 25 Oct 2000 06:01:24 +0000 (06:01 +0000)]
cppi, on one line

23 years agoUpdate from libc.
Jim Meyering [Wed, 25 Oct 2000 06:00:26 +0000 (06:00 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Tue, 24 Oct 2000 08:20:17 +0000 (08:20 +0000)]
*** empty log message ***

23 years ago(hard_locale): Revert last change -- it was simply
Jim Meyering [Tue, 24 Oct 2000 08:20:13 +0000 (08:20 +0000)]
(hard_locale): Revert last change -- it was simply
wrong.  That set_locale call must not have any side effects.
From Paul Eggert.

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Oct 2000 06:38:10 +0000 (06:38 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Oct 2000 06:31:28 +0000 (06:31 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Oct 2000 06:29:30 +0000 (06:29 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Mon, 23 Oct 2000 06:28:01 +0000 (06:28 +0000)]
*** empty log message ***

23 years agoClean up version-related variables.
Jim Meyering [Mon, 23 Oct 2000 06:27:50 +0000 (06:27 +0000)]
Clean up version-related variables.

23 years ago*** empty log message *** TEXTUTILS-2_0_8
Jim Meyering [Sun, 22 Oct 2000 22:40:13 +0000 (22:40 +0000)]
*** empty log message ***

23 years agoremove remnants of lang-default change
Jim Meyering [Sun, 22 Oct 2000 21:24:40 +0000 (21:24 +0000)]
remove remnants of lang-default change

23 years agosource lang-default *before* the `cd'
Jim Meyering [Sun, 22 Oct 2000 21:23:18 +0000 (21:23 +0000)]
source lang-default *before* the `cd'

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 21:13:53 +0000 (21:13 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 21:12:59 +0000 (21:12 +0000)]
.

23 years agoinclude stdio.h
Jim Meyering [Sun, 22 Oct 2000 21:11:53 +0000 (21:11 +0000)]
include stdio.h

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 21:09:53 +0000 (21:09 +0000)]
*** empty log message ***

23 years ago(md5_process_block) [OP]: Use `rol', not CYCLIC.
Jim Meyering [Sun, 22 Oct 2000 21:09:43 +0000 (21:09 +0000)]
(md5_process_block) [OP]: Use `rol', not CYCLIC.
[CYCLIC]: Remove now-unused definition.

23 years agos/shasum/sha1sum/
Jim Meyering [Sun, 22 Oct 2000 14:40:44 +0000 (14:40 +0000)]
s/shasum/sha1sum/

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 14:25:12 +0000 (14:25 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 14:21:47 +0000 (14:21 +0000)]
*** empty log message ***

23 years agorenamed from shasum.c
Jim Meyering [Sun, 22 Oct 2000 14:19:52 +0000 (14:19 +0000)]
renamed from shasum.c

23 years agorenamed from shasum.x
Jim Meyering [Sun, 22 Oct 2000 14:18:02 +0000 (14:18 +0000)]
renamed from shasum.x

23 years agofix typo
Jim Meyering [Sun, 22 Oct 2000 14:03:33 +0000 (14:03 +0000)]
fix typo

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 13:17:10 +0000 (13:17 +0000)]
*** empty log message ***

23 years ago(print_long_format): Wrap date format strings in _(...)
Jim Meyering [Sun, 22 Oct 2000 13:15:22 +0000 (13:15 +0000)]
(print_long_format): Wrap date format strings in _(...)
so they may be internationalized.  Suggestion from Christian Rose.

23 years ago(make_path_private): Add a FIXME comment.
Jim Meyering [Sun, 22 Oct 2000 13:10:20 +0000 (13:10 +0000)]
(make_path_private): Add a FIXME comment.

23 years agoSource lang-default rather than open-coding
Jim Meyering [Sun, 22 Oct 2000 13:09:28 +0000 (13:09 +0000)]
Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 13:08:50 +0000 (13:08 +0000)]
*** empty log message ***

23 years agoSource lang-default rather than open-coding
Jim Meyering [Sun, 22 Oct 2000 13:08:43 +0000 (13:08 +0000)]
Source lang-default rather than open-coding
the setting/exporting of LANG, LC_ALL, and LANGUAGE.

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 13:03:06 +0000 (13:03 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 13:02:40 +0000 (13:02 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 13:02:00 +0000 (13:02 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 12:57:48 +0000 (12:57 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 12:51:38 +0000 (12:51 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 12:00:22 +0000 (12:00 +0000)]
.

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 11:56:18 +0000 (11:56 +0000)]
.

23 years ago.
Jim Meyering [Sun, 22 Oct 2000 11:51:50 +0000 (11:51 +0000)]
.

23 years agoFactor out the differences between MD5 and SHA1,
Jim Meyering [Sun, 22 Oct 2000 11:50:16 +0000 (11:50 +0000)]
Factor out the differences between MD5 and SHA1,
and parameterize so this code may be used by both md5sum and the new
program, shasum.  Loosely based on a patch from Scott Miller.

23 years agoSupport 8-byte integers, assuming they're printable with e.g., %lld.
Jim Meyering [Sun, 22 Oct 2000 07:33:21 +0000 (07:33 +0000)]
Support 8-byte integers, assuming they're printable with e.g., %lld.
Add support for printing data as unsigned
long long integers.

23 years agoadd missing backslash
Jim Meyering [Sun, 22 Oct 2000 07:20:24 +0000 (07:20 +0000)]
add missing backslash

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:57:54 +0000 (06:57 +0000)]
*** empty log message ***

23 years ago(O_DIRECTORY): Define, if needed.
Jim Meyering [Sun, 22 Oct 2000 06:57:42 +0000 (06:57 +0000)]
(O_DIRECTORY): Define, if needed.
(save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".".
Suggestion from Ulrich Drepper.

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:50:02 +0000 (06:50 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 22 Oct 2000 06:43:52 +0000 (06:43 +0000)]
*** empty log message ***

23 years ago(no commit message)
Jim Meyering [Sat, 21 Oct 2000 20:07:49 +0000 (20:07 +0000)]

23 years ago.
Jim Meyering [Sat, 21 Oct 2000 20:07:03 +0000 (20:07 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Oct 2000 20:01:28 +0000 (20:01 +0000)]
*** empty log message ***