platform/upstream/coreutils.git
23 years ago*** empty log message ***
Jim Meyering [Thu, 1 Mar 2001 05:33:25 +0000 (05:33 +0000)]
*** empty log message ***

23 years ago(jm_AC_DOS): Remove extra backslashes, now that
Jim Meyering [Thu, 1 Mar 2001 05:33:18 +0000 (05:33 +0000)]
(jm_AC_DOS): Remove extra backslashes, now that
AH_VERBATIM really does output its argument verbatim.

23 years ago*** empty log message ***
Jim Meyering [Sun, 25 Feb 2001 07:55:33 +0000 (07:55 +0000)]
*** empty log message ***

23 years agoFix typo: '-d=1may' -> '-d 1may'.
Jim Meyering [Sun, 25 Feb 2001 07:55:27 +0000 (07:55 +0000)]
Fix typo: '-d=1may' -> '-d 1may'.
Fix and clarify time zone usage in 'date' examples.

23 years ago*** empty log message ***
Jim Meyering [Fri, 23 Feb 2001 08:52:27 +0000 (08:52 +0000)]
*** empty log message ***

23 years ago(keycompare): Move declarations of locals, lena and lenb,
Jim Meyering [Thu, 22 Feb 2001 15:11:08 +0000 (15:11 +0000)]
(keycompare): Move declarations of locals, lena and lenb,
into the inner scope where they are used.

23 years ago(main): Remove assignment-in-if-expression.
Jim Meyering [Wed, 21 Feb 2001 10:56:06 +0000 (10:56 +0000)]
(main): Remove assignment-in-if-expression.
In fact, remove t_errno altogether.

23 years ago*** empty log message ***
Jim Meyering [Wed, 21 Feb 2001 10:50:07 +0000 (10:50 +0000)]
*** empty log message ***

23 years agoAdd two tests of existing behavior -- both will
Jim Meyering [Wed, 21 Feb 2001 10:49:58 +0000 (10:49 +0000)]
Add two tests of existing behavior -- both will
have to be changed (soon after release), once ls is fixed.

23 years ago.
Jim Meyering [Tue, 20 Feb 2001 23:04:45 +0000 (23:04 +0000)]
.

23 years agotest for existing behavior
Jim Meyering [Tue, 20 Feb 2001 23:00:33 +0000 (23:00 +0000)]
test for existing behavior

23 years ago.
Jim Meyering [Tue, 20 Feb 2001 22:58:44 +0000 (22:58 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Tue, 20 Feb 2001 22:58:16 +0000 (22:58 +0000)]
*** empty log message ***

23 years ago(FULL_TIME_OPTION): Renamed from FULL_TIME, for
Jim Meyering [Tue, 20 Feb 2001 22:53:38 +0000 (22:53 +0000)]
(FULL_TIME_OPTION): Renamed from FULL_TIME, for
consistency with the other enum values.

23 years ago(SI_OPTION): New enum value.
Jim Meyering [Tue, 20 Feb 2001 22:52:31 +0000 (22:52 +0000)]
(SI_OPTION): New enum value.
(long_options): Use it instead of 'H' for --si.
(decode_switches): Warn that -H will change soon.
(usage): Likewise.

23 years agorevert last change, until after release
Jim Meyering [Tue, 20 Feb 2001 22:48:39 +0000 (22:48 +0000)]
revert last change, until after release

23 years ago*** empty log message ***
Jim Meyering [Tue, 20 Feb 2001 22:48:18 +0000 (22:48 +0000)]
*** empty log message ***

23 years agorevert last change, until after the release
Jim Meyering [Tue, 20 Feb 2001 22:48:00 +0000 (22:48 +0000)]
revert last change, until after the release

23 years ago`ls -Fd symlink-to-directory' would print a trailing `/'
Jim Meyering [Tue, 20 Feb 2001 08:16:47 +0000 (08:16 +0000)]
`ls -Fd symlink-to-directory' would print a trailing `/'
Now it prints a trailing `@'.

(gobble_file): Don't clobber lstat stats of command line
arguments when using -d and -F (--directory and --classify) options.

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Feb 2001 08:53:37 +0000 (08:53 +0000)]
*** empty log message ***

23 years ago(AUTHORS): Add Paul Eggert.
Jim Meyering [Mon, 19 Feb 2001 08:53:24 +0000 (08:53 +0000)]
(AUTHORS): Add Paul Eggert.

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Feb 2001 08:52:58 +0000 (08:52 +0000)]
*** empty log message ***

23 years agoFix a race condition: freed storage accessed during a signal handler.
Jim Meyering [Mon, 19 Feb 2001 08:52:53 +0000 (08:52 +0000)]
Fix a race condition: freed storage accessed during a signal handler.

(struct tempnode.next): Now volatile.
(zaptemp): Free the file name after removing it from the temp list,
not before, because a signal can arrive between the two actions
and cleanup () traverses the list.

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Feb 2001 08:51:00 +0000 (08:51 +0000)]
*** empty log message ***

23 years ago(jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
Jim Meyering [Mon, 19 Feb 2001 08:50:54 +0000 (08:50 +0000)]
(jm_CHECK_ALL_HEADERS): Check for sys/resource.h.

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Feb 2001 08:50:18 +0000 (08:50 +0000)]
*** empty log message ***

23 years agoCheck for input size, and do not overallocate memory.
Jim Meyering [Mon, 19 Feb 2001 08:50:12 +0000 (08:50 +0000)]
Check for input size, and do not overallocate memory.
Also check for memory quotas.

Revamp storage management so that line tables and character data are
taken from the same buffer.  Line tables are now in reverse order,
since they grow down while the character data grow up.

(<sys/resource.h>): Include if HAVE_SYS_RESOURCE_H.
(struct rlimit, getrlimit): Define a replacement if RLIMIT_DATA
is not defined.
(RLIMIT_AS): Define to RLIMIT_DATA if not defined.
(struct lines): Remove.
(struct buffer): New members nlines, line_bytes, eof.
Remove member newline_free; no longer needed, since the code no longer
runs out of line table space.
(SORTALLOC_MIN, SORTALLOC_DEFAULT_MIN): Remove.
(sort_size): Renamed from sortalloc; now applies to the sum of the
character data and the line table, not just the character data.
(MIN_SORT_SIZE, INPUT_FILE_SIZE_GUESS): New macros.
(linelength): remove.
(specify_sort_size): Don't worry about the distinction between the
character data and the line table; that is now the caller's
responsibility.
(default_sort_size): Return the value, instead of being executed for
side effect.  Return half of available memory, or 1/16 of total memory,
whichever is greater; except do not exceed 1/2 of quota.
(sort_buffer_size): New function.
(initbuf): New arg LINE_BYTES.  Ensure that the line array is properly
aligned.  Initialize the new set of struct buffer members.
(buffer_linelim): New function.
(fillbuf): Return int, not size_t, since the callers merely care
whether the result is nonzero.  New arg FILE so that error messages
can report the file name.  Keep track of eof.  Initialize the line
table too, taking its memory from the input buffer's memory; this
subsumes the old findlines function and removes the need for worrying
about running out of line table entries.
(checkfp, mergefps, sortlines, merge, sort): Adjust to the new storage
management regime, in particular the fact that line tables are now
filled in by fillbuf and are in reverse order.
(checkfp): Now takes char *, not const char *, since subroutines
require that now.  Rewrite to avoid lint and duplicate code.
If line length alloc calculation overflows,
simply allocate enough memory to hold the line.
(mergefps): New arg FILES, used for buffer size calculation and error
messages.  Rewrite to avoid lint.  Do not loop if savealloc*2
overflows.
(mergefps, merge): Zap temporary files eagerly rather than lazily;
this is needed because we now pass FILES to mergefps.
(sortlines): Args now point at end of arrays, not at beginnings.
(sort): Do not allocate temporary line array for sortlines;
instead, take the space from the same buffer.
(main): Adjust to sort_size and default_sort_size changes.

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Feb 2001 08:46:00 +0000 (08:46 +0000)]
*** empty log message ***

23 years ago(wc): Rename innermost `buf' to avoid shadowing warning.
Jim Meyering [Mon, 19 Feb 2001 08:42:25 +0000 (08:42 +0000)]
(wc): Rename innermost `buf' to avoid shadowing warning.
(wc): Rename local `wc' to avoid shadowing function name.

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Feb 2001 19:39:38 +0000 (19:39 +0000)]
*** empty log message ***

23 years ago(TESTS): Add isatty.
Jim Meyering [Sun, 18 Feb 2001 19:39:33 +0000 (19:39 +0000)]
(TESTS): Add isatty.

23 years agoNew test, for the bug fixed below.
Jim Meyering [Sun, 18 Feb 2001 19:39:17 +0000 (19:39 +0000)]
New test, for the bug fixed below.

23 years ago*** empty log message *** FILEUTILS-4_0_41
Jim Meyering [Sun, 18 Feb 2001 16:56:57 +0000 (16:56 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Feb 2001 16:27:16 +0000 (16:27 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Feb 2001 16:25:57 +0000 (16:25 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Feb 2001 16:24:26 +0000 (16:24 +0000)]
*** empty log message ***

23 years ago`chmod 0 file; rm file' would no longer prompt before removal.
Jim Meyering [Sun, 18 Feb 2001 16:24:21 +0000 (16:24 +0000)]
`chmod 0 file; rm file' would no longer prompt before removal.
(remove_file): Revert last change.

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Feb 2001 08:50:35 +0000 (08:50 +0000)]
*** empty log message ***

23 years agorename test input files to avoid conflicts on case-insensitive file systems
Jim Meyering [Sun, 18 Feb 2001 08:50:29 +0000 (08:50 +0000)]
rename test input files to avoid conflicts on case-insensitive file systems

23 years agoUpdate file names to reflect renamings.
Jim Meyering [Sun, 18 Feb 2001 08:49:52 +0000 (08:49 +0000)]
Update file names to reflect renamings.

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Feb 2001 08:49:07 +0000 (08:49 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 18 Feb 2001 08:07:42 +0000 (08:07 +0000)]
.

23 years agofix typo FILEUTILS-4_0_40
Jim Meyering [Sat, 17 Feb 2001 18:50:17 +0000 (18:50 +0000)]
fix typo

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 16:56:27 +0000 (16:56 +0000)]
*** empty log message ***

23 years agoSync from GNU libc. Use double quotes, not <...>
Jim Meyering [Sat, 17 Feb 2001 16:56:20 +0000 (16:56 +0000)]
Sync from GNU libc.  Use double quotes, not <...>
around included file name.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 16:53:38 +0000 (16:53 +0000)]
*** empty log message ***

23 years ago(__strnlen): Merge in a change from GNU libc.
Jim Meyering [Sat, 17 Feb 2001 16:53:33 +0000 (16:53 +0000)]
(__strnlen): Merge in a change from GNU libc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 16:51:03 +0000 (16:51 +0000)]
*** empty log message ***

23 years agoupdate comments from libc
Jim Meyering [Sat, 17 Feb 2001 16:50:27 +0000 (16:50 +0000)]
update comments from libc

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 14:23:54 +0000 (14:23 +0000)]
*** empty log message ***

23 years ago(main): `quote' the offending argument.
Jim Meyering [Sat, 17 Feb 2001 14:23:43 +0000 (14:23 +0000)]
(main): `quote' the offending argument.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 13:20:31 +0000 (13:20 +0000)]
*** empty log message ***

23 years ago(mbrtowc, mbsinit):
Jim Meyering [Sat, 17 Feb 2001 13:18:56 +0000 (13:18 +0000)]
(mbrtowc, mbsinit):
Remove workaround macros for hosts that have mbrtowc but not
mbstate_t, as we now insist on proper declarations for both
before using mbrtowc.

23 years ago.
Jim Meyering [Sat, 17 Feb 2001 13:18:17 +0000 (13:18 +0000)]
.

23 years ago.
Jim Meyering [Sat, 17 Feb 2001 13:17:49 +0000 (13:17 +0000)]
.

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

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 13:11:22 +0000 (13:11 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 13:11:12 +0000 (13:11 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 12:53:40 +0000 (12:53 +0000)]
*** empty log message ***

23 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
Jim Meyering [Sat, 17 Feb 2001 12:53:36 +0000 (12:53 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
UnixWare 7.1.1.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 12:44:04 +0000 (12:44 +0000)]
*** empty log message ***

23 years ago(mbswidth): Also define as macro, to avoid prototype clash.
Jim Meyering [Sat, 17 Feb 2001 12:43:57 +0000 (12:43 +0000)]
(mbswidth): Also define as macro, to avoid prototype clash.

23 years ago.
Jim Meyering [Sat, 17 Feb 2001 11:51:48 +0000 (11:51 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 10:39:50 +0000 (10:39 +0000)]
*** empty log message ***

23 years ago(mbrtowc, mbsinit):
Jim Meyering [Sat, 17 Feb 2001 10:39:43 +0000 (10:39 +0000)]
(mbrtowc, mbsinit):
Remove workaround macros for hosts that have mbrtowc but not
mbstate_t, as we now insist on proper declarations for both
before using mbrtowc.

23 years ago(mbrtowc, mbsinit):
Jim Meyering [Sat, 17 Feb 2001 10:39:17 +0000 (10:39 +0000)]
(mbrtowc, mbsinit):
Remove workaround macros for hosts that have mbrtowc but not
mbstate_t, as we now insist on proper declarations for both
before using mbrtowc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 10:37:10 +0000 (10:37 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 10:36:42 +0000 (10:36 +0000)]
*** empty log message ***

23 years ago(jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc., rather than AC_CACHE_VAL.
Jim Meyering [Sat, 17 Feb 2001 10:36:33 +0000 (10:36 +0000)]
(jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc., rather than AC_CACHE_VAL.

23 years agobump serial number
Jim Meyering [Sat, 17 Feb 2001 09:35:50 +0000 (09:35 +0000)]
bump serial number

23 years agobump serial number
Jim Meyering [Sat, 17 Feb 2001 09:35:11 +0000 (09:35 +0000)]
bump serial number

23 years ago(jm_PREREQ_QUOTEARG): Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
Jim Meyering [Sat, 17 Feb 2001 09:34:57 +0000 (09:34 +0000)]
(jm_PREREQ_QUOTEARG): Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).

23 years ago(jm_PREREQ_MBSWIDTH):
Jim Meyering [Sat, 17 Feb 2001 09:34:14 +0000 (09:34 +0000)]
(jm_PREREQ_MBSWIDTH):
Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).

23 years agoNew file, defining jm_FUNC_MBRTOWC.
Jim Meyering [Sat, 17 Feb 2001 09:33:25 +0000 (09:33 +0000)]
New file, defining jm_FUNC_MBRTOWC.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 08:59:19 +0000 (08:59 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sat, 17 Feb 2001 08:55:17 +0000 (08:55 +0000)]
.

23 years agoUpdate from libc.
Jim Meyering [Sat, 17 Feb 2001 07:14:31 +0000 (07:14 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 07:13:03 +0000 (07:13 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 07:12:17 +0000 (07:12 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 07:05:58 +0000 (07:05 +0000)]
*** empty log message ***

23 years agoMention that only English is supported.
Jim Meyering [Sat, 17 Feb 2001 07:05:33 +0000 (07:05 +0000)]
Mention that only English is supported.
Show how to use "date" so that the output is acceptable to getdate.
Mention Z as an abbreviation for UTC.

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Feb 2001 19:31:18 +0000 (19:31 +0000)]
*** empty log message ***

23 years ago(malloc): Undef before defining, since stdlib.h may have defined it.
Jim Meyering [Fri, 16 Feb 2001 19:28:43 +0000 (19:28 +0000)]
(malloc): Undef before defining, since stdlib.h may have defined it.

23 years ago*** empty log message ***
Jim Meyering [Sun, 11 Feb 2001 16:24:54 +0000 (16:24 +0000)]
*** empty log message ***

23 years agodepend on writable-files po-check once again
Jim Meyering [Sun, 11 Feb 2001 16:24:39 +0000 (16:24 +0000)]
depend on writable-files po-check once again

23 years ago(emit-rsync-commands): Define.
Jim Meyering [Sun, 11 Feb 2001 16:24:01 +0000 (16:24 +0000)]
(emit-rsync-commands): Define.
(alpha): Use it here.

23 years ago(alpha): Fix previous, incomplete change.
Jim Meyering [Sat, 10 Feb 2001 09:40:19 +0000 (09:40 +0000)]
(alpha): Fix previous, incomplete change.

23 years ago*** empty log message ***
Jim Meyering [Sat, 10 Feb 2001 09:40:09 +0000 (09:40 +0000)]
*** empty log message ***

23 years ago. FILEUTILS-4_0_39
Jim Meyering [Sat, 10 Feb 2001 09:22:11 +0000 (09:22 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 10 Feb 2001 09:17:03 +0000 (09:17 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Thu, 8 Feb 2001 10:43:44 +0000 (10:43 +0000)]
.

23 years agoupdate from libc
Jim Meyering [Thu, 8 Feb 2001 06:49:29 +0000 (06:49 +0000)]
update from libc

23 years ago*** empty log message ***
Jim Meyering [Wed, 7 Feb 2001 11:50:30 +0000 (11:50 +0000)]
*** empty log message ***

23 years ago(jm_INCLUDED_REGEX): Add a test for the latest bug.
Jim Meyering [Wed, 7 Feb 2001 11:50:25 +0000 (11:50 +0000)]
(jm_INCLUDED_REGEX): Add a test for the latest bug.

23 years ago*** empty log message ***
Jim Meyering [Wed, 7 Feb 2001 11:50:01 +0000 (11:50 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Wed, 7 Feb 2001 11:47:40 +0000 (11:47 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Wed, 7 Feb 2001 11:47:24 +0000 (11:47 +0000)]
Update from libc.

23 years agorequire 1 argument
Jim Meyering [Tue, 6 Feb 2001 09:56:22 +0000 (09:56 +0000)]
require 1 argument

23 years agobetter comment
Jim Meyering [Tue, 6 Feb 2001 09:53:58 +0000 (09:53 +0000)]
better comment

23 years agoemit a comment, print numbers one per line
Jim Meyering [Tue, 6 Feb 2001 09:34:18 +0000 (09:34 +0000)]
emit a comment, print numbers one per line