platform/upstream/coreutils.git
23 years ago*** empty log message ***
Jim Meyering [Sat, 4 Nov 2000 21:39:00 +0000 (21:39 +0000)]
*** empty log message ***

23 years ago(hash_get_next): Fix a thinko: when ENTRY is the
Jim Meyering [Sat, 4 Nov 2000 21:38:55 +0000 (21:38 +0000)]
(hash_get_next): Fix a thinko:  when ENTRY is the
last one in a bucket, advance to the next bucket.
From Alexandre Duret-Lutz.

23 years ago*** empty log message ***
Jim Meyering [Sat, 4 Nov 2000 12:08:22 +0000 (12:08 +0000)]
*** empty log message ***

23 years agolist the source
Jim Meyering [Fri, 3 Nov 2000 11:12:01 +0000 (11:12 +0000)]
list the source

23 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 11:11:45 +0000 (11:11 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Fri, 3 Nov 2000 10:27:01 +0000 (10:27 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 09:03:37 +0000 (09:03 +0000)]
*** empty log message ***

23 years ago(TESTS): Add sample-vec.
Jim Meyering [Fri, 3 Nov 2000 09:03:30 +0000 (09:03 +0000)]
(TESTS): Add sample-vec.

23 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 08:47:20 +0000 (08:47 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 3 Nov 2000 08:44:12 +0000 (08:44 +0000)]
*** empty log message ***

23 years agocppi
Jim Meyering [Fri, 3 Nov 2000 08:44:06 +0000 (08:44 +0000)]
cppi

23 years agoDo not comment out all the code if we are using
Jim Meyering [Fri, 3 Nov 2000 08:43:20 +0000 (08:43 +0000)]
Do not comment out all the code if we are using
the GNU C library, because in some cases we are replacing buggy
code in the GNU C library itself.

23 years ago*** empty log message ***
Jim Meyering [Thu, 2 Nov 2000 19:37:11 +0000 (19:37 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Thu, 2 Nov 2000 17:05:17 +0000 (17:05 +0000)]
*** empty log message ***

23 years agoargh!! use pack's `B', not `b' format
Jim Meyering [Thu, 2 Nov 2000 17:04:23 +0000 (17:04 +0000)]
argh!!  use pack's `B', not `b' format

23 years ago*** empty log message ***
Jim Meyering [Thu, 2 Nov 2000 09:51:17 +0000 (09:51 +0000)]
*** empty log message ***

23 years agoremove const attribute for PARENTS FILEUTILS-4_0_30
Jim Meyering [Wed, 1 Nov 2000 17:53:35 +0000 (17:53 +0000)]
remove const attribute for PARENTS

23 years agoFix bad typo! free the string, PARENTS, not the function, dir_name.
Jim Meyering [Wed, 1 Nov 2000 17:52:43 +0000 (17:52 +0000)]
Fix bad typo!  free the string, PARENTS, not the function, dir_name.

23 years ago*** empty log message ***
Jim Meyering [Wed, 1 Nov 2000 17:33:19 +0000 (17:33 +0000)]
*** empty log message ***

23 years ago(main): Better diagnostics.
Jim Meyering [Wed, 1 Nov 2000 17:33:09 +0000 (17:33 +0000)]
(main): Better diagnostics.

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 22:03:47 +0000 (22:03 +0000)]
*** empty log message ***

23 years agoClean up indentation and punctuation.
Jim Meyering [Tue, 31 Oct 2000 22:03:42 +0000 (22:03 +0000)]
Clean up indentation and punctuation.
Fix a couple typos.  From Brian Youmans.

23 years agoAdd all the internationalization-related
Jim Meyering [Tue, 31 Oct 2000 19:33:30 +0000 (19:33 +0000)]
Add all the internationalization-related
variable names autoconf uses.  Set and export them in a loop.

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 19:29:22 +0000 (19:29 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 19:29:05 +0000 (19:29 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 19:26:32 +0000 (19:26 +0000)]
*** empty log message ***

23 years ago`mkdir -p' would create parent directories with permissions
Jim Meyering [Tue, 31 Oct 2000 19:25:50 +0000 (19:25 +0000)]
`mkdir -p' would create parent directories with permissions
that did not account for the umask. [introduced with the
2000-09-30 change that became part of fileutils-4.0.28]

Include dirname.h.
Compute the parent directory `mode' unconditionally, effectively
as `$(umask -S),u+wx'.
Use make_path to create only the parent directories, thus using
the same code, both with and without -p, to create the final
component in each file name.  Reported by Bob Proulx.

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 10:46:30 +0000 (10:46 +0000)]
*** empty log message ***

23 years agoMuch improved.
Jim Meyering [Tue, 31 Oct 2000 10:46:24 +0000 (10:46 +0000)]
Much improved.
Run each test also with mkdir's `-p' option and check permissions
on the parent directories.

23 years agouse backticks and sed instead of set and shift
Jim Meyering [Tue, 31 Oct 2000 08:31:30 +0000 (08:31 +0000)]
use backticks and sed instead of set and shift

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 08:12:38 +0000 (08:12 +0000)]
*** empty log message ***

23 years agoAdd some permission tests.
Jim Meyering [Tue, 31 Oct 2000 08:12:28 +0000 (08:12 +0000)]
Add some permission tests.

23 years agoFix the test so it actually does something.
Jim Meyering [Tue, 31 Oct 2000 07:57:29 +0000 (07:57 +0000)]
Fix the test so it actually does something.
Run each test also with mkdir's `-p' option.

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 07:15:54 +0000 (07:15 +0000)]
*** empty log message ***

23 years agoUse @sc where appropriate. Document the
Jim Meyering [Tue, 31 Oct 2000 07:15:42 +0000 (07:15 +0000)]
Use @sc where appropriate.  Document the
ranges of supported times more precisely.  Correct menu
spacing.  Document old Latin 12m/12pm tradition.  Remove list
of alphabetic time zone names, as it wasn't correct and people
shouldn't be relying on it anyway.  Relative items also
account for non-DST adjustments.  Fix some misspellings.

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 07:10:03 +0000 (07:10 +0000)]
*** empty log message ***

23 years agoAdd "2000" to Copyright line, as this file was changed this year.
Jim Meyering [Tue, 31 Oct 2000 07:09:56 +0000 (07:09 +0000)]
Add "2000" to Copyright line, as this file was changed this year.

23 years agoRemove "2000" from Copyright line, as the file hasn't been
Jim Meyering [Tue, 31 Oct 2000 07:09:40 +0000 (07:09 +0000)]
Remove "2000" from Copyright line, as the file hasn't been
changed this year other than in the copyright notice.

23 years agoRemove "2000" from Copyright line, as the file hasn't been
Jim Meyering [Tue, 31 Oct 2000 07:09:02 +0000 (07:09 +0000)]
Remove "2000" from Copyright line, as the file hasn't been
changed this year other than in the copyright notice.

23 years ago*** empty log message ***
Jim Meyering [Tue, 31 Oct 2000 07:07:26 +0000 (07:07 +0000)]
*** empty log message ***

23 years ago(FOLD): Do not assume that characters are unsigned.
Jim Meyering [Tue, 31 Oct 2000 07:07:05 +0000 (07:07 +0000)]
(FOLD): Do not assume that characters are unsigned.
(fnmatch): Fix some FNM_FILE_NAME and FNM_LEADING_DIR bugs,
e.g. fnmatch("d*/*1", "d/s/1", FNM_FILE_NAME) incorrectly yielded zero.

23 years ago.
Jim Meyering [Mon, 30 Oct 2000 17:52:42 +0000 (17:52 +0000)]
.

23 years ago.
Jim Meyering [Mon, 30 Oct 2000 17:51:06 +0000 (17:51 +0000)]
.

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

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

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

23 years agoInclude "system.h" after wctype.h (not before) to avoid
Jim Meyering [Mon, 30 Oct 2000 15:58:59 +0000 (15:58 +0000)]
Include "system.h" after wctype.h (not before) to avoid
a compilation error on Solaris 5.5.1 systems.

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

23 years agos/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
Jim Meyering [Sun, 29 Oct 2000 22:43:08 +0000 (22:43 +0000)]
s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.

23 years agofix typo: s/fseek0/fseeko/
Jim Meyering [Sun, 29 Oct 2000 17:19:51 +0000 (17:19 +0000)]
fix typo: s/fseek0/fseeko/

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

23 years ago*** empty log message *** FILEUTILS-4_0_29
Jim Meyering [Sun, 29 Oct 2000 13:50:25 +0000 (13:50 +0000)]
*** empty log message ***

23 years ago(__restrict_arr): Move definition out of #ifndef block.
Jim Meyering [Sun, 29 Oct 2000 13:49:56 +0000 (13:49 +0000)]
(__restrict_arr): Move definition out of #ifndef block.
Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
doesn't define __restrict_arr.

23 years ago. SH-UTILS-2_0_11
Jim Meyering [Sun, 29 Oct 2000 12:36:19 +0000 (12:36 +0000)]
.

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

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

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

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

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

23 years ago(do_copy): When constructing dst_path for use with the
Jim Meyering [Sun, 29 Oct 2000 12:25:03 +0000 (12:25 +0000)]
(do_copy): When constructing dst_path for use with the
--parents option, first remove any trailing slashes from the command
line argument.  Otherwise, tests/cp/cp-parent would fail on NetBSD.

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

23 years agoFix grammar in comment.
Jim Meyering [Sun, 29 Oct 2000 11:03:01 +0000 (11:03 +0000)]
Fix grammar in comment.

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

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

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 ***