platform/upstream/coreutils.git
21 years ago(gl_SYS__SYSTEM_CONFIGURATION): New function.
Jim Meyering [Thu, 27 Feb 2003 17:44:34 +0000 (17:44 +0000)]
(gl_SYS__SYSTEM_CONFIGURATION): New function.
(jm_PREREQ_PHYSMEM): Check for new headers and functions.
Use gl_SYS__SYSTEM_CONFIGURATION.

21 years ago*** empty log message ***
Jim Meyering [Wed, 26 Feb 2003 18:09:11 +0000 (18:09 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 26 Feb 2003 17:51:38 +0000 (17:51 +0000)]
*** empty log message ***

21 years agoDon't test du's -b option here. Directory byte
Jim Meyering [Wed, 26 Feb 2003 17:51:34 +0000 (17:51 +0000)]
Don't test du's -b option here.  Directory byte
counts are smaller (512 rather than 4096) on at least OSF/1 5.1
and IBM AIX 4.2.

21 years ago*** empty log message ***
Jim Meyering [Tue, 25 Feb 2003 19:14:12 +0000 (19:14 +0000)]
*** empty log message ***

21 years ago(announcement): Now that ChangeLog entries
Jim Meyering [Tue, 25 Feb 2003 19:14:04 +0000 (19:14 +0000)]
(announcement): Now that ChangeLog entries
are output by announce-gen, don't do it here.

21 years ago(print_changelog_deltas): New function.
Jim Meyering [Tue, 25 Feb 2003 19:13:08 +0000 (19:13 +0000)]
(print_changelog_deltas): New function.
(main): Use it.

21 years agofilter through cppi
Jim Meyering [Mon, 24 Feb 2003 10:09:19 +0000 (10:09 +0000)]
filter through cppi

21 years ago[__USE_FILE_OFFSET64]: Remove #error directive.
Jim Meyering [Mon, 24 Feb 2003 10:08:57 +0000 (10:08 +0000)]
[__USE_FILE_OFFSET64]: Remove #error directive.

21 years agoInclude <search.h>.
Jim Meyering [Mon, 24 Feb 2003 09:58:02 +0000 (09:58 +0000)]
Include <search.h>.
(struct known_object): Define.
(object_compare, add_object, find_object): New functions, like
those in ftw.c.
(fts_open): Initialize new member.
(fts_close): Free memory allocated for new member.
(fts_stat): Detect a cycle in O(logN) time per directory processed.

21 years ago*** empty log message ***
Jim Meyering [Mon, 24 Feb 2003 09:09:49 +0000 (09:09 +0000)]
*** empty log message ***

21 years ago[HAVE_CONFIG_H]: Include <config.h>.
Jim Meyering [Mon, 24 Feb 2003 09:09:42 +0000 (09:09 +0000)]
[HAVE_CONFIG_H]: Include <config.h>.
Conditionalize inclusion of <sys/param.h>.
Conditionalize inclusion of <include/sys/stat.h> vs <sys/stat.h>.
Include autoconf-recommended block of dirent/NAMELEN-related
definitions and includes.  Use NAMLEN throughout, rather than
_D_EXACT_NAMLEN.
[_LIBC] (close, closedir, fchdir, open, opendir): Define.
[_LIBC] (readdir, tdestroy, tfind, tsearch): Define.
Remove `__' prefix from all uses of the above.  This will help
to merge *BSD changes.
[!_LIBC] (internal_function): Define.
[! _LIBC && ! LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define lstat.
(__set_errno): Define if not already defined.

21 years ago[struct FTS] (fts_dir_signatures): New, opaque member.
Jim Meyering [Mon, 24 Feb 2003 08:57:06 +0000 (08:57 +0000)]
[struct FTS] (fts_dir_signatures): New, opaque member.

21 years ago(fts_open): If fts_alloc returns NULL, don't dereference it.
Jim Meyering [Mon, 24 Feb 2003 08:27:59 +0000 (08:27 +0000)]
(fts_open): If fts_alloc returns NULL, don't dereference it.
(fts_read): If fts_safe_changedir fails because it is not
able to chdir into a subdirectory, then inform the caller.

21 years agovirgin copy from glibc
Jim Meyering [Mon, 24 Feb 2003 08:24:59 +0000 (08:24 +0000)]
virgin copy from glibc

21 years ago*** empty log message ***
Jim Meyering [Mon, 24 Feb 2003 08:24:52 +0000 (08:24 +0000)]
*** empty log message ***

21 years agodoh
Jim Meyering [Mon, 24 Feb 2003 08:24:48 +0000 (08:24 +0000)]
doh

21 years ago*** empty log message ***
Jim Meyering [Mon, 24 Feb 2003 08:21:39 +0000 (08:21 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 24 Feb 2003 08:21:21 +0000 (08:21 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 23 Feb 2003 12:07:50 +0000 (12:07 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 22 Feb 2003 16:52:51 +0000 (16:52 +0000)]
*** empty log message ***

21 years agoNew option: --release-type=TYPE
Jim Meyering [Sat, 22 Feb 2003 16:52:45 +0000 (16:52 +0000)]
New option: --release-type=TYPE

21 years ago(beta, major): New targets. Remove `release'.
Jim Meyering [Sat, 22 Feb 2003 16:52:36 +0000 (16:52 +0000)]
(beta, major): New targets.  Remove `release'.
Put them all together on a line.
Pass the release type (via RELEASE_TYPE envvar) to the MAKE
invocation of `announcement'.
(announcement): Invoke announce-gen with --release-type=$RELEASE_TYPE.

21 years ago(news-r1, news-r2): Remove now-unused definitions.
Jim Meyering [Sat, 22 Feb 2003 16:35:32 +0000 (16:35 +0000)]
(news-r1, news-r2): Remove now-unused definitions.

21 years agoadd comment
Jim Meyering [Sat, 22 Feb 2003 16:32:58 +0000 (16:32 +0000)]
add comment

21 years agotweak comments
Jim Meyering [Sat, 22 Feb 2003 16:31:12 +0000 (16:31 +0000)]
tweak comments

21 years agotweak comments
Jim Meyering [Sat, 22 Feb 2003 16:30:39 +0000 (16:30 +0000)]
tweak comments

21 years agoEscape dots in regexps for $curr_version and $prev_version.
Jim Meyering [Sat, 22 Feb 2003 16:30:28 +0000 (16:30 +0000)]
Escape dots in regexps for $curr_version and $prev_version.
Fail if we find no lines in NEWS.

21 years ago(announcement): Now that NEWS entries are
Jim Meyering [Sat, 22 Feb 2003 16:24:36 +0000 (16:24 +0000)]
(announcement): Now that NEWS entries are
extracted by announce-gen, don't do it here.

21 years agoNew option: --news=NEWS_FILE.
Jim Meyering [Sat, 22 Feb 2003 16:23:36 +0000 (16:23 +0000)]
New option: --news=NEWS_FILE.
Extract NEWS entries here, not ...

21 years ago*** empty log message ***
Jim Meyering [Sat, 22 Feb 2003 07:55:21 +0000 (07:55 +0000)]
*** empty log message ***

21 years agobump to 4.5.9
Jim Meyering [Sat, 22 Feb 2003 07:55:11 +0000 (07:55 +0000)]
bump to 4.5.9

21 years ago.
Jim Meyering [Fri, 21 Feb 2003 21:52:33 +0000 (21:52 +0000)]
.

21 years ago. COREUTILS-4_5_8 v4.5.8
Jim Meyering [Fri, 21 Feb 2003 21:37:12 +0000 (21:37 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 21:34:14 +0000 (21:34 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 20:38:16 +0000 (20:38 +0000)]
*** empty log message ***

21 years agoMerge in changes from autoconf's version of this file.
Jim Meyering [Fri, 21 Feb 2003 20:38:10 +0000 (20:38 +0000)]
Merge in changes from autoconf's version of this file.

(www-gnu): Define.
(standards.texi-url_prefix): Use $(www-gnu).
(make-stds.texi-url_prefix): Likewise.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 20:24:39 +0000 (20:24 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 20:22:27 +0000 (20:22 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 17:13:17 +0000 (17:13 +0000)]
*** empty log message ***

21 years agoUndefine HAVE_MMAP_STACK, thus disabling
Jim Meyering [Fri, 21 Feb 2003 17:13:09 +0000 (17:13 +0000)]
Undefine HAVE_MMAP_STACK, thus disabling
this code on all systems.

21 years ago.
Jim Meyering [Fri, 21 Feb 2003 12:27:57 +0000 (12:27 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 12:27:28 +0000 (12:27 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 12:24:32 +0000 (12:24 +0000)]
*** empty log message ***

21 years ago(stat invocation): Describe %B.
Jim Meyering [Fri, 21 Feb 2003 12:24:12 +0000 (12:24 +0000)]
(stat invocation): Describe %B.

21 years ago(usage): Tweak wording of %B description.
Jim Meyering [Fri, 21 Feb 2003 12:23:48 +0000 (12:23 +0000)]
(usage): Tweak wording of %B description.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 12:16:34 +0000 (12:16 +0000)]
*** empty log message ***

21 years agoMerge in some changes from GNU libc.
Jim Meyering [Fri, 21 Feb 2003 12:16:12 +0000 (12:16 +0000)]
Merge in some changes from GNU libc.
(md5_uintptr): Define.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 11:14:39 +0000 (11:14 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 11:12:53 +0000 (11:12 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Fri, 21 Feb 2003 11:12:46 +0000 (11:12 +0000)]
.

21 years ago(TESTS): Add basic.
Jim Meyering [Fri, 21 Feb 2003 11:12:34 +0000 (11:12 +0000)]
(TESTS): Add basic.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 10:41:34 +0000 (10:41 +0000)]
*** empty log message ***

21 years agoInclude "mmap-stack.h".
Jim Meyering [Fri, 21 Feb 2003 10:41:27 +0000 (10:41 +0000)]
Include "mmap-stack.h".
(main): Invoke `run' through a macro that (when possible) runs it
with a large, mmap'd stack.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 10:23:21 +0000 (10:23 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 10:22:29 +0000 (10:22 +0000)]
*** empty log message ***

21 years ago(run_on_mmaped_stack): Allocate 256MB, not 1GB
Jim Meyering [Fri, 21 Feb 2003 09:51:26 +0000 (09:51 +0000)]
(run_on_mmaped_stack): Allocate 256MB, not 1GB

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 08:34:41 +0000 (08:34 +0000)]
*** empty log message ***

21 years agoNew option: --apparent-size.
Jim Meyering [Fri, 21 Feb 2003 08:30:18 +0000 (08:30 +0000)]
New option: --apparent-size.
(enum) [APPARENT_SIZE_OPTION]: New member.
(long_options): Add it.
(usage): Describe it.
(main): Handle it.
['b']: Set apparent_size.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 08:27:09 +0000 (08:27 +0000)]
*** empty log message ***

21 years ago(du invocation): Document --apparent-size.
Jim Meyering [Fri, 21 Feb 2003 08:25:59 +0000 (08:25 +0000)]
(du invocation): Document --apparent-size.
Adjust documentation of --bytes (-b).

21 years agouse printf, not echo
Jim Meyering [Fri, 21 Feb 2003 08:02:33 +0000 (08:02 +0000)]
use printf, not echo
test -b

21 years ago(apparent_size): New global.
Jim Meyering [Fri, 21 Feb 2003 07:47:06 +0000 (07:47 +0000)]
(apparent_size): New global.
(print_only_size): Reflect the fact that we're printing byte counts,
not ST_NBLOCKSIZE-byte-block counts.
(print_size): Call print_only_size rather than duplicating its code.
(process_file): Accumulate byte counts, rather than block counts.

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 07:15:54 +0000 (07:15 +0000)]
*** empty log message ***

21 years ago(process_file): Always reset size_to_propagate_to_parent for
Jim Meyering [Fri, 21 Feb 2003 07:15:16 +0000 (07:15 +0000)]
(process_file): Always reset size_to_propagate_to_parent for
--separate-dirs (-S).

21 years ago*** empty log message ***
Jim Meyering [Fri, 21 Feb 2003 07:06:38 +0000 (07:06 +0000)]
*** empty log message ***

21 years agoInclude <sys/types.h> before <dirent.h>.
Jim Meyering [Fri, 21 Feb 2003 07:06:33 +0000 (07:06 +0000)]
Include <sys/types.h> before <dirent.h>.
This is required for Apple Darwin 6.3 (MacOS 10.2.3).

21 years ago(process_file): Reorganize the code to use only
Jim Meyering [Thu, 20 Feb 2003 23:13:11 +0000 (23:13 +0000)]
(process_file): Reorganize the code to use only
one `sum' array, and change how -S works back to the way it was
before 2003-01-31.  Patch by Bruno Haible.

21 years ago*** empty log message ***
Jim Meyering [Thu, 20 Feb 2003 19:12:33 +0000 (19:12 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 20 Feb 2003 19:11:08 +0000 (19:11 +0000)]
*** empty log message ***

21 years ago(usage) [%b]: Refer to %B.
Jim Meyering [Thu, 20 Feb 2003 19:11:02 +0000 (19:11 +0000)]
(usage) [%b]: Refer to %B.

21 years ago(print_stat): New format: %B (to print ST_NBLOCKSIZE).
Jim Meyering [Thu, 20 Feb 2003 19:07:55 +0000 (19:07 +0000)]
(print_stat): New format: %B (to print ST_NBLOCKSIZE).
(usage): Describe it.

21 years ago.
Jim Meyering [Thu, 20 Feb 2003 19:05:38 +0000 (19:05 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 20 Feb 2003 17:59:37 +0000 (17:59 +0000)]
*** empty log message ***

21 years agoAdd checks for the following:
Jim Meyering [Thu, 20 Feb 2003 17:58:45 +0000 (17:58 +0000)]
Add checks for the following:
BLOCK_SIZE, DU_BLOCK_SIZE, DF_BLOCK_SIZE, LS_BLOCK_SIZE.

21 years agoRename phony target envvar-check to evar-check
Jim Meyering [Thu, 20 Feb 2003 17:52:11 +0000 (17:52 +0000)]
Rename phony target envvar-check to evar-check
so as not to conflict with the distributed file by the same name.

21 years ago(process_file): Set info->skip before any possible return.
Jim Meyering [Thu, 20 Feb 2003 15:03:22 +0000 (15:03 +0000)]
(process_file): Set info->skip before any possible return.

Report correct usage for directories, not 0.
(process_file): Return for `file_type == FTW_DPRE'
_before_ recording the dev/ino of a directory.

21 years ago.
Jim Meyering [Thu, 20 Feb 2003 13:45:48 +0000 (13:45 +0000)]
.

21 years agoNow, df always displays the device file name corresponding to the
Jim Meyering [Thu, 20 Feb 2003 10:37:14 +0000 (10:37 +0000)]
Now, df always displays the device file name corresponding to the
listed mount point under `Filesystem'.  Before, for an unmounted
block- or character-special file argument, it would display the
command-line argument instead.

(show_disk): Return a value indicating whether
there was a match.  Don't try to find a mount point here.
(show_entry): If show_disk doesn't find a match, call show_point.

21 years ago.
Jim Meyering [Thu, 20 Feb 2003 10:36:52 +0000 (10:36 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 20 Feb 2003 10:35:27 +0000 (10:35 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 20 Feb 2003 10:34:21 +0000 (10:34 +0000)]
*** empty log message ***

21 years agoInclude "mmap-stack.h".
Jim Meyering [Wed, 19 Feb 2003 22:20:45 +0000 (22:20 +0000)]
Include "mmap-stack.h".
(du_files): Add prototype with ATTRIBUTE_NORETURN.
Exit from this function, not from...
(main): ...here.
Instead, if possible, invoke du_files through a macro that
runs it with a large, mmap'd stack.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 19:09:06 +0000 (19:09 +0000)]
*** empty log message ***

21 years agoMerge in some clean-up and optimization changes from glibc's md5.c.
Jim Meyering [Wed, 19 Feb 2003 19:09:01 +0000 (19:09 +0000)]
Merge in some clean-up and optimization changes from glibc's md5.c.

21 years agoMerge in some clean-up and optimization changes from glibc.
Jim Meyering [Wed, 19 Feb 2003 19:08:49 +0000 (19:08 +0000)]
Merge in some clean-up and optimization changes from glibc.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 16:12:06 +0000 (16:12 +0000)]
*** empty log message ***

21 years ago(usage): Change wording in --help output:
Jim Meyering [Wed, 19 Feb 2003 16:11:39 +0000 (16:11 +0000)]
(usage): Change wording in --help output:
use FILENUM instead of `SIDE' and say what FILENUM means.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 16:06:34 +0000 (16:06 +0000)]
*** empty log message ***

21 years ago(print_header): Rather than using a hard-coded literal
Jim Meyering [Wed, 19 Feb 2003 16:05:07 +0000 (16:05 +0000)]
(print_header): Rather than using a hard-coded literal
string of spaces matching the length of the English `...Type' header,
output the right number of spaces to match the selected translation.
Reported by Yann Dirson and Jean Charles Delepine as Debian bug 131113.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 16:02:44 +0000 (16:02 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 15:06:12 +0000 (15:06 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 14:29:01 +0000 (14:29 +0000)]
*** empty log message ***

21 years agoInclude "full-read.h".
Jim Meyering [Wed, 19 Feb 2003 14:28:50 +0000 (14:28 +0000)]
Include "full-read.h".
(bytes_split, lines_split, line_bytes_split): Use full_read,
not safe_read.   The way split was using the latter, a short read
could cause split to terminate before EOF.

(bytes_split): Remove unnecessary `else' after break.
(lines_split): Likewise.  and correct misleading indentation.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 14:04:22 +0000 (14:04 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 14:04:17 +0000 (14:04 +0000)]
*** empty log message ***

21 years agofix comment
Jim Meyering [Wed, 19 Feb 2003 14:03:44 +0000 (14:03 +0000)]
fix comment

21 years agomore clean-up. give more precise diagnostics
Jim Meyering [Wed, 19 Feb 2003 14:02:43 +0000 (14:02 +0000)]
more clean-up.  give more precise diagnostics

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Feb 2003 12:59:31 +0000 (12:59 +0000)]
*** empty log message ***

21 years ago(TESTS): Reflect renaming.
Jim Meyering [Wed, 19 Feb 2003 12:59:14 +0000 (12:59 +0000)]
(TESTS): Reflect renaming.