platform/upstream/coreutils.git
23 years ago*** empty log message ***
Jim Meyering [Mon, 27 Nov 2000 08:00:53 +0000 (08:00 +0000)]
*** empty log message ***

23 years agouse abs_srcdir
Jim Meyering [Mon, 27 Nov 2000 07:01:39 +0000 (07:01 +0000)]
use abs_srcdir

23 years ago.
Jim Meyering [Sun, 26 Nov 2000 23:30:27 +0000 (23:30 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 23:13:28 +0000 (23:13 +0000)]
*** empty log message ***

23 years agoInclude config.h, stdio.h, sys/types.h. and system.h here instead.
Jim Meyering [Sun, 26 Nov 2000 23:13:11 +0000 (23:13 +0000)]
Include config.h, stdio.h, sys/types.h. and system.h here instead.

23 years agoInclude config.h, stdio.h, sys/types.h. and system.h here instead.
Jim Meyering [Sun, 26 Nov 2000 23:12:44 +0000 (23:12 +0000)]
Include config.h, stdio.h, sys/types.h. and system.h here instead.

23 years agodon't include system.h here
Jim Meyering [Sun, 26 Nov 2000 23:10:55 +0000 (23:10 +0000)]
don't include system.h here

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 23:10:25 +0000 (23:10 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 26 Nov 2000 23:08:17 +0000 (23:08 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 23:05:02 +0000 (23:05 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 23:04:55 +0000 (23:04 +0000)]
*** empty log message ***

23 years ago(_compare_files): New function.
Jim Meyering [Sun, 26 Nov 2000 23:04:39 +0000 (23:04 +0000)]
(_compare_files): New function.
(_process_file_spec): Likewise.
(_at_replace): Likewise.
(run_tests): Support new keywords, AUX and CMP and associated
syntax and semantics.

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 23:01:58 +0000 (23:01 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 26 Nov 2000 23:01:02 +0000 (23:01 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 21:36:24 +0000 (21:36 +0000)]
*** empty log message ***

23 years ago(skip): Perform the `records < blocksize' test
Jim Meyering [Sun, 26 Nov 2000 21:35:53 +0000 (21:35 +0000)]
(skip): Perform the `records < blocksize' test
at the top of the loop, not at the bottom.

23 years ago(skip): New arg COUNT_BYTES. Read with BLOCKSIZE
Jim Meyering [Sun, 26 Nov 2000 21:34:05 +0000 (21:34 +0000)]
(skip): New arg COUNT_BYTES.  Read with BLOCKSIZE
bytes, but consider RECORDS to be a byte count if COUNT_BYTES
is nonzero.

23 years agoInclude sys/types.h. From Werner Almesberger.
Jim Meyering [Sun, 26 Nov 2000 16:52:29 +0000 (16:52 +0000)]
Include sys/types.h.  From Werner Almesberger.

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 16:52:03 +0000 (16:52 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 16:50:17 +0000 (16:50 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 26 Nov 2000 16:00:33 +0000 (16:00 +0000)]
.

23 years ago.
Jim Meyering [Sun, 26 Nov 2000 15:59:51 +0000 (15:59 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 15:59:12 +0000 (15:59 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 15:57:21 +0000 (15:57 +0000)]
*** empty log message ***

23 years ago(TESTS): Add skip-seek.
Jim Meyering [Sun, 26 Nov 2000 15:57:04 +0000 (15:57 +0000)]
(TESTS): Add skip-seek.

23 years ago.
Jim Meyering [Sun, 26 Nov 2000 15:52:13 +0000 (15:52 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 26 Nov 2000 14:33:06 +0000 (14:33 +0000)]
*** empty log message ***

23 years ago(skip_bytes, seek_bytes): Now booleans, not counts.
Jim Meyering [Sun, 26 Nov 2000 08:23:23 +0000 (08:23 +0000)]
(skip_bytes, seek_bytes): Now booleans, not counts.
(seek_records): Renamed from seek_record, for consistency with
skip_records and max_records.  All uses changed.

(usage, scanargs): Remove bseek=n and bskip=n; instead, use seek=nB
and skip=nB.
(enum Unit, Unit): Remove.
(skip, dd_copy, main): Undo most recent change.
(dd_copy, main): Pass blocksize of 1 as appropriate when
skip_bytes or seek_bytes is nonzero.
(main): Rework ftruncate failure diagnostic to always use byte count.

23 years ago*** empty log message ***
Jim Meyering [Sat, 25 Nov 2000 17:01:00 +0000 (17:01 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 25 Nov 2000 15:27:47 +0000 (15:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 25 Nov 2000 14:24:52 +0000 (14:24 +0000)]
*** empty log message ***

23 years agomore post-merge clean-up.
Jim Meyering [Sat, 25 Nov 2000 14:17:43 +0000 (14:17 +0000)]
more post-merge clean-up.
Fix a merge bug exposed by new test.

23 years ago*** empty log message ***
Jim Meyering [Sat, 25 Nov 2000 13:49:38 +0000 (13:49 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 25 Nov 2000 13:27:13 +0000 (13:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 25 Nov 2000 13:25:53 +0000 (13:25 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 25 Nov 2000 13:24:30 +0000 (13:24 +0000)]
*** empty log message ***

23 years agoremove bskip
Jim Meyering [Sat, 25 Nov 2000 08:54:58 +0000 (08:54 +0000)]
remove bskip
adapt skip to skip either by bytes or by blocks

23 years ago(S_TYPEISSHM): New macro.
Jim Meyering [Sat, 25 Nov 2000 07:20:51 +0000 (07:20 +0000)]
(S_TYPEISSHM): New macro.
(main): Report failed fstat.
Complain only when ftruncate fails on a regular file,
a directory, or a shared memory object.

23 years agobskip/bseek patch from Chris Sylvain <csylvain@umm.edu> merged in
Jim Meyering [Fri, 24 Nov 2000 21:54:31 +0000 (21:54 +0000)]
bskip/bseek patch from Chris Sylvain <csylvain@umm.edu> merged in

23 years agoDeclare a pointer parameters to be `const' as appropriate.
Jim Meyering [Fri, 24 Nov 2000 21:41:38 +0000 (21:41 +0000)]
Declare a pointer parameters to be `const' as appropriate.

23 years ago*** empty log message ***
Jim Meyering [Fri, 24 Nov 2000 21:19:56 +0000 (21:19 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 24 Nov 2000 21:18:58 +0000 (21:18 +0000)]
*** empty log message ***

23 years ago(main): Use ftruncate only on regular files.
Jim Meyering [Fri, 24 Nov 2000 21:18:51 +0000 (21:18 +0000)]
(main): Use ftruncate only on regular files.
Based on a patch from Michael Stone.
Reported by andras@kolumbus.fi at http://bugs.debian.org/77174.

23 years ago*** empty log message ***
Jim Meyering [Fri, 24 Nov 2000 17:42:01 +0000 (17:42 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 24 Nov 2000 15:54:48 +0000 (15:54 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Thu, 23 Nov 2000 21:48:47 +0000 (21:48 +0000)]
.

23 years agocd back to $pwd
Jim Meyering [Thu, 23 Nov 2000 21:48:10 +0000 (21:48 +0000)]
cd back to $pwd

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

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

23 years ago(show_point): Before accepting an entry as a match, make sure that
Jim Meyering [Thu, 23 Nov 2000 15:36:58 +0000 (15:36 +0000)]
(show_point): Before accepting an entry as a match, make sure that
the mount directory exists and has the required device number.
Before, e.g., `df /floppy' would mistakenly report on the root
partition if /floppy were not listed in /etc/mtab but / was.
Patch from Eirik Fuller (http://bugs.debian.org/76923).

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

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

23 years ago(mode_changed): New function.
Jim Meyering [Thu, 23 Nov 2000 15:04:17 +0000 (15:04 +0000)]
(mode_changed): New function.
(change_file_mode): Use it to determine accurately when -c should
make chmod announce there's been a change.

23 years agoSource sticky-check instead of open-coding it.
Jim Meyering [Thu, 23 Nov 2000 14:59:05 +0000 (14:59 +0000)]
Source sticky-check instead of open-coding it.

23 years ago*** empty log message ***
Jim Meyering [Thu, 23 Nov 2000 14:57:47 +0000 (14:57 +0000)]
*** empty log message ***

23 years ago(TESTS): Add c-option
Jim Meyering [Thu, 23 Nov 2000 14:37:16 +0000 (14:37 +0000)]
(TESTS): Add c-option

23 years agowhoops
Jim Meyering [Thu, 23 Nov 2000 14:32:09 +0000 (14:32 +0000)]
whoops

23 years ago*** empty log message ***
Jim Meyering [Thu, 23 Nov 2000 07:24:59 +0000 (07:24 +0000)]
*** empty log message ***

23 years ago(my_strftime): Do not invoke mbrlen with a
Jim Meyering [Thu, 23 Nov 2000 07:24:51 +0000 (07:24 +0000)]
(my_strftime): Do not invoke mbrlen with a
size of (size_t) -1; it's not portable.

23 years agochmod before removing
Jim Meyering [Wed, 22 Nov 2000 13:15:10 +0000 (13:15 +0000)]
chmod before removing

23 years agoUpdate to use its own directory, and better trap.
Jim Meyering [Sun, 19 Nov 2000 22:24:24 +0000 (22:24 +0000)]
Update to use its own directory, and better trap.

23 years ago*** empty log message ***
Jim Meyering [Sun, 19 Nov 2000 15:15:48 +0000 (15:15 +0000)]
*** empty log message ***

23 years ago(main): Do not assume EOF == -1.
Jim Meyering [Sun, 19 Nov 2000 15:15:38 +0000 (15:15 +0000)]
(main): Do not assume EOF == -1.
Handle the case correctly when digits options immediately precede a
non-option.

23 years ago(BLOCK_SIZE_OPTION, COLOR_OPTION, FORMAT_OPTION,
Jim Meyering [Sun, 19 Nov 2000 07:44:26 +0000 (07:44 +0000)]
(BLOCK_SIZE_OPTION, COLOR_OPTION, FORMAT_OPTION,
INDICATOR_STYLE_OPTION, QUOTING_STYLE_OPTION,
SHOW_CONTROL_CHARS_OPTION, SORT_OPTION, TIME_OPTION): New enum
values, to ensure that option values can't collide with chars.
(long_options, decode_switches): Use them.

23 years ago*** empty log message ***
Jim Meyering [Sun, 19 Nov 2000 07:41:31 +0000 (07:41 +0000)]
*** empty log message ***

23 years ago(GETOPT_HELP_CHAR, GETOPT_VERSION_CHAR): Now enum
Jim Meyering [Sun, 19 Nov 2000 07:41:20 +0000 (07:41 +0000)]
(GETOPT_HELP_CHAR, GETOPT_VERSION_CHAR): Now enum
constants rather than macros.  Use values that cannot conflict
with C characters or with -1, CHAR_MAX + 1, etc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 20:01:14 +0000 (20:01 +0000)]
*** empty log message ***

23 years ago(count_entry): Don't omit the size of a directory entry
Jim Meyering [Sat, 18 Nov 2000 20:01:02 +0000 (20:01 +0000)]
(count_entry): Don't omit the size of a directory entry
merely because we couldn't `chdir' into it.  That would give subtly
different results in some cases.  Reported by Mattias Wadenstein
via Michael Stone.

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 20:00:25 +0000 (20:00 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 19:43:23 +0000 (19:43 +0000)]
*** empty log message ***

23 years agoRevert change of 2000-11-11. It inadvertently change
Jim Meyering [Sat, 18 Nov 2000 19:43:15 +0000 (19:43 +0000)]
Revert change of 2000-11-11.  It inadvertently change
the output format of `ls -l --full-time'.

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 15:09:02 +0000 (15:09 +0000)]
*** empty log message ***

23 years agoUpdate to use the Free Documentation Licence.
Jim Meyering [Sat, 18 Nov 2000 15:08:57 +0000 (15:08 +0000)]
Update to use the Free Documentation Licence.

23 years agoChange GNU to @sc{gnu} in many places.
Jim Meyering [Sat, 18 Nov 2000 14:27:36 +0000 (14:27 +0000)]
Change GNU to @sc{gnu} in many places.

23 years ago.
Jim Meyering [Sat, 18 Nov 2000 14:10:40 +0000 (14:10 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 13:51:56 +0000 (13:51 +0000)]
*** empty log message ***

23 years ago(main): When failing to create a directory, give only
Jim Meyering [Sat, 18 Nov 2000 13:49:44 +0000 (13:49 +0000)]
(main): When failing to create a directory, give only
one diagnostic, not two.  Reported by Volker Borchert.

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 13:48:25 +0000 (13:48 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 13:40:17 +0000 (13:40 +0000)]
*** empty log message ***

23 years ago(TESTS): Add t-slash.
Jim Meyering [Sat, 18 Nov 2000 13:39:49 +0000 (13:39 +0000)]
(TESTS): Add t-slash.

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 13:36:40 +0000 (13:36 +0000)]
*** empty log message ***

23 years ago(main): With --parents, remove any trailing slashes
Jim Meyering [Sat, 18 Nov 2000 13:36:24 +0000 (13:36 +0000)]
(main): With --parents, remove any trailing slashes
from the argument to the final mkdir call.  Required for NetBSD.

23 years agoCreate and `cd' into temporary directory
Jim Meyering [Sat, 18 Nov 2000 13:19:23 +0000 (13:19 +0000)]
Create and `cd' into temporary directory
before anything else.  Reported by Volker Borchert.

23 years agorevert mysteriously-applied last delta!
Jim Meyering [Sat, 18 Nov 2000 13:10:40 +0000 (13:10 +0000)]
revert mysteriously-applied last delta!

23 years agoadd -*- Makefile -*-
Jim Meyering [Sat, 18 Nov 2000 13:02:44 +0000 (13:02 +0000)]
add -*- Makefile -*-

23 years agoSync with the one from fileutils.
Jim Meyering [Sat, 18 Nov 2000 13:01:22 +0000 (13:01 +0000)]
Sync with the one from fileutils.

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 11:53:28 +0000 (11:53 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 11:53:02 +0000 (11:53 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 18 Nov 2000 11:52:12 +0000 (11:52 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sat, 18 Nov 2000 11:50:19 +0000 (11:50 +0000)]
.

23 years ago.
Jim Meyering [Sat, 18 Nov 2000 11:17:41 +0000 (11:17 +0000)]
.

23 years agotweak a comment
Jim Meyering [Sat, 18 Nov 2000 09:53:33 +0000 (09:53 +0000)]
tweak a comment

23 years agoFormatting changes.
Jim Meyering [Sat, 18 Nov 2000 09:50:09 +0000 (09:50 +0000)]
Formatting changes.
(obstack_grow, obstack_grow0): Don't cast WHERE at all: that would
prevent type checking.
(obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
cast the value to (void *): assigning a `foo *' to a `void *'
variable is valid.
(obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.

23 years ago*** empty log message ***
Jim Meyering [Fri, 17 Nov 2000 10:22:20 +0000 (10:22 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 17 Nov 2000 10:21:57 +0000 (10:21 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 17 Nov 2000 10:20:42 +0000 (10:20 +0000)]
*** empty log message ***

23 years ago(.NOTPARALLEL): Put it here instead, since this file
Jim Meyering [Fri, 17 Nov 2000 10:20:09 +0000 (10:20 +0000)]
(.NOTPARALLEL): Put it here instead, since this file
is common to these packages: fileutils, sh-utils, textutils.

23 years agoDeclare global `tab' to be of type *unsigned* char,
Jim Meyering [Fri, 17 Nov 2000 10:16:53 +0000 (10:16 +0000)]
Declare global `tab' to be of type *unsigned* char,
so join works with 8-bit delimiter characters.

23 years ago.
Jim Meyering [Fri, 17 Nov 2000 10:16:22 +0000 (10:16 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Fri, 17 Nov 2000 08:31:36 +0000 (08:31 +0000)]
*** empty log message ***