platform/upstream/coreutils.git
21 years ago(sc_xalloc_h_in_src): Remove rule. Subsumed by...
Jim Meyering [Sat, 22 Nov 2003 14:33:57 +0000 (14:33 +0000)]
(sc_xalloc_h_in_src): Remove rule.  Subsumed by...
(sc_system_h_headers): Do this test only if sys2.h exists.

21 years ago.
Jim Meyering [Fri, 21 Nov 2003 13:42:54 +0000 (13:42 +0000)]
.

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

21 years ago(xreadlink): Correct outdated comment.
Jim Meyering [Fri, 21 Nov 2003 08:21:23 +0000 (08:21 +0000)]
(xreadlink): Correct outdated comment.

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

21 years agoEnsure that the bug-reporting address is
Jim Meyering [Thu, 20 Nov 2003 08:08:24 +0000 (08:08 +0000)]
Ensure that the bug-reporting address is
included in the --help output for every program.

21 years ago(TESTS_ENVIRONMENT): Add $PACKAGE_BUGREPORT.
Jim Meyering [Thu, 20 Nov 2003 08:03:50 +0000 (08:03 +0000)]
(TESTS_ENVIRONMENT): Add $PACKAGE_BUGREPORT.

21 years ago*** empty log message ***
Jim Meyering [Thu, 20 Nov 2003 07:57:33 +0000 (07:57 +0000)]
*** empty log message ***

21 years ago(usage): Output bug-reporting address.
Jim Meyering [Thu, 20 Nov 2003 07:57:24 +0000 (07:57 +0000)]
(usage): Output bug-reporting address.

21 years ago(usage): Mention that FILE1 and FILE2 must be sorted
Jim Meyering [Wed, 19 Nov 2003 23:04:20 +0000 (23:04 +0000)]
(usage): Mention that FILE1 and FILE2 must be sorted
on the join fields.  Suggestion from Bruce Robertson.

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Nov 2003 07:27:07 +0000 (07:27 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 19 Nov 2003 07:26:35 +0000 (07:26 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 16:18:35 +0000 (16:18 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 16:18:25 +0000 (16:18 +0000)]
*** empty log message ***

21 years ago`od -c -w9999999' could segfault
Jim Meyering [Tue, 18 Nov 2003 16:17:00 +0000 (16:17 +0000)]
`od -c -w9999999' could segfault

(dump): Use xnmalloc/free, not alloca.

21 years ago*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 11:37:35 +0000 (11:37 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 18 Nov 2003 10:06:19 +0000 (10:06 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Mon, 17 Nov 2003 16:13:56 +0000 (16:13 +0000)]
.

21 years ago.
Jim Meyering [Mon, 17 Nov 2003 16:13:32 +0000 (16:13 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Nov 2003 16:13:08 +0000 (16:13 +0000)]
*** empty log message ***

21 years agoOn systems without utime and without a utimes function capable of
Jim Meyering [Mon, 17 Nov 2003 16:13:04 +0000 (16:13 +0000)]
On systems without utime and without a utimes function capable of
dealing with a NULL struct utimbuf* argument, this utime replacement
could -- in unusual circumstances -- leak a file descriptor.

Include <unistd.h> and <errno.h>.
(utime_null): Be sure to close `fd' and to preserve errno.

21 years ago*** empty log message ***
Jim Meyering [Mon, 17 Nov 2003 13:46:34 +0000 (13:46 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 21:12:56 +0000 (21:12 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 21:12:47 +0000 (21:12 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 16 Nov 2003 18:14:45 +0000 (18:14 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 14:13:13 +0000 (14:13 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 14:12:04 +0000 (14:12 +0000)]
*** empty log message ***

21 years agoMinor tweak: use mkdir -p.
Jim Meyering [Sun, 16 Nov 2003 14:11:59 +0000 (14:11 +0000)]
Minor tweak: use mkdir -p.

21 years ago.
Jim Meyering [Sun, 16 Nov 2003 14:02:03 +0000 (14:02 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 16 Nov 2003 12:26:02 +0000 (12:26 +0000)]
*** empty log message ***

21 years agoFix read-from-free'd-buffer error detected by valgrind.
Jim Meyering [Sun, 16 Nov 2003 12:25:35 +0000 (12:25 +0000)]
Fix read-from-free'd-buffer error detected by valgrind.

(remove_line): Don't return a pointer to data in
a freed buffer.  Instead, arrange to free the buffer on the
subsequent call.

21 years agoAdd test to detect this.
Jim Meyering [Sun, 16 Nov 2003 11:52:08 +0000 (11:52 +0000)]
Add test to detect this.
This would fail due to reading from freed buffer with coreutils-5.0.91.

21 years ago*** empty log message ***
Jim Meyering [Thu, 13 Nov 2003 07:45:25 +0000 (07:45 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Thu, 13 Nov 2003 07:45:20 +0000 (07:45 +0000)]
Update from gnulib.

21 years agoUpdate from gnulib.
Jim Meyering [Thu, 13 Nov 2003 07:45:00 +0000 (07:45 +0000)]
Update from gnulib.

21 years ago(extract_dirs_from_files): Avoid useless copy operations.
Jim Meyering [Wed, 12 Nov 2003 09:23:03 +0000 (09:23 +0000)]
(extract_dirs_from_files): Avoid useless copy operations.
This avoids a warning valgrind about memcpy with overlapping
source and destination.

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Nov 2003 12:42:09 +0000 (12:42 +0000)]
*** empty log message ***

21 years ago(@chownchgrpoptions): add index entry for this.
Jim Meyering [Tue, 11 Nov 2003 12:42:02 +0000 (12:42 +0000)]
(@chownchgrpoptions): add index entry for this.

21 years ago(chown invocation) [chownchgrpoptions]: New macro
Jim Meyering [Tue, 11 Nov 2003 12:38:07 +0000 (12:38 +0000)]
(chown invocation) [chownchgrpoptions]: New macro
describing -H, -L, -P options.  Use it here.
(chgrp invocation): And here.

21 years agoRequire automake-1.7.8.
Jim Meyering [Tue, 11 Nov 2003 12:35:49 +0000 (12:35 +0000)]
Require automake-1.7.8.

21 years agono longer used -- replaced by fts*.[ch]
Jim Meyering [Tue, 11 Nov 2003 12:21:38 +0000 (12:21 +0000)]
no longer used -- replaced by fts*.[ch]

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

21 years agoupdate from gnulib
Jim Meyering [Tue, 11 Nov 2003 07:13:26 +0000 (07:13 +0000)]
update from gnulib

21 years ago*** empty log message ***
Jim Meyering [Tue, 11 Nov 2003 07:07:00 +0000 (07:07 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Tue, 11 Nov 2003 07:06:53 +0000 (07:06 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:19:43 +0000 (21:19 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 9 Nov 2003 21:19:18 +0000 (21:19 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:18:35 +0000 (21:18 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:16:27 +0000 (21:16 +0000)]
*** empty log message ***

21 years ago(libfetish_a_SOURCES): Add root-dev-ino.c root-dev-ino.h.
Jim Meyering [Sun, 9 Nov 2003 21:16:01 +0000 (21:16 +0000)]
(libfetish_a_SOURCES): Add root-dev-ino.c root-dev-ino.h.

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:15:19 +0000 (21:15 +0000)]
*** empty log message ***

21 years agoAdd lib/root-dev-ino.h.
Jim Meyering [Sun, 9 Nov 2003 21:15:16 +0000 (21:15 +0000)]
Add lib/root-dev-ino.h.

21 years agoInclude <sys/types.h> and <sys/stat.h>.
Jim Meyering [Sun, 9 Nov 2003 21:10:55 +0000 (21:10 +0000)]
Include <sys/types.h> and <sys/stat.h>.

21 years ago*** empty log message ***
Jim Meyering [Sun, 9 Nov 2003 21:10:15 +0000 (21:10 +0000)]
*** empty log message ***

21 years agoSupport new options: --preserve-root and --no-preserve-root.
Jim Meyering [Sun, 9 Nov 2003 21:10:11 +0000 (21:10 +0000)]
Support new options: --preserve-root and --no-preserve-root.

21 years agoSupport new options: --preserve-root and --no-preserve-root.
Jim Meyering [Sun, 9 Nov 2003 21:09:27 +0000 (21:09 +0000)]
Support new options: --preserve-root and --no-preserve-root.

21 years agoInclude "root-dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 21:07:31 +0000 (21:07 +0000)]
Include "root-dev-ino.h".
(chopt_init): Initialize new member.
(change_file_owner): Support rm's new --preserve-root option.

21 years agoInclude "root-dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 21:06:16 +0000 (21:06 +0000)]
Include "root-dev-ino.h".
(remove_cwd_entries): Remove now-obsolete FIXME comment.
(remove_dir): Support rm's new --preserve-root option.

21 years ago(usage): Describe new options.
Jim Meyering [Sun, 9 Nov 2003 21:04:20 +0000 (21:04 +0000)]
(usage): Describe new options.

21 years ago(usage): Describe new options.
Jim Meyering [Sun, 9 Nov 2003 21:03:57 +0000 (21:03 +0000)]
(usage): Describe new options.

21 years agoInclude "root-dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 20:53:21 +0000 (20:53 +0000)]
Include "root-dev-ino.h".
(process_file): Use newly-factored-out ROOT_DEV_INO_CHECK and
ROOT_DEV_INO_WARN macros.
(get_root_dev_ino): Remove function definition, now that it's
been moved to a separate file.

21 years agoInitialized new member.
Jim Meyering [Sun, 9 Nov 2003 20:50:37 +0000 (20:50 +0000)]
Initialized new member.

21 years ago.
Jim Meyering [Sun, 9 Nov 2003 20:49:58 +0000 (20:49 +0000)]
.

21 years agoInclude "dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 20:47:54 +0000 (20:47 +0000)]
Include "dev-ino.h".
(struct rm_options): Add new member: root_dev_ino.

21 years agoInclude "dev-ino.h".
Jim Meyering [Sun, 9 Nov 2003 20:47:15 +0000 (20:47 +0000)]
Include "dev-ino.h".
(struct Chown_option): Add new member: root_dev_ino.

21 years ago.
Jim Meyering [Sun, 9 Nov 2003 20:16:31 +0000 (20:16 +0000)]
.

21 years ago(dd invocation): Fix typo in example.
Jim Meyering [Sun, 9 Nov 2003 07:21:47 +0000 (07:21 +0000)]
(dd invocation): Fix typo in example.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Nov 2003 13:26:25 +0000 (13:26 +0000)]
*** empty log message ***

21 years agoSync from gnulib (this file was previously empty,
Jim Meyering [Sat, 8 Nov 2003 13:26:21 +0000 (13:26 +0000)]
Sync from gnulib (this file was previously empty,
to work around some sort of problem).

21 years ago.
Jim Meyering [Sat, 8 Nov 2003 13:25:10 +0000 (13:25 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 8 Nov 2003 13:24:18 +0000 (13:24 +0000)]
*** empty log message ***

21 years ago(jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
Jim Meyering [Sat, 8 Nov 2003 13:24:12 +0000 (13:24 +0000)]
(jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
value, $ac_cv_search_nanosleep, if it's "none required".

21 years ago*** empty log message ***
Jim Meyering [Fri, 7 Nov 2003 10:42:40 +0000 (10:42 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Nov 2003 10:02:27 +0000 (10:02 +0000)]
*** empty log message ***

21 years agowhoops. One more.
Jim Meyering [Thu, 6 Nov 2003 10:01:06 +0000 (10:01 +0000)]
whoops.  One more.

21 years ago(paste_parallel): Use `sizeof *var' rather than hard-coding `sizeof FILE*'.
Jim Meyering [Thu, 6 Nov 2003 09:54:28 +0000 (09:54 +0000)]
(paste_parallel): Use `sizeof *var' rather than hard-coding `sizeof FILE*'.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Nov 2003 09:36:50 +0000 (09:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Nov 2003 09:32:25 +0000 (09:32 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Nov 2003 09:28:45 +0000 (09:28 +0000)]
*** empty log message ***

21 years ago(who): Free `utmp_buf' so there is no confusion about
Jim Meyering [Thu, 6 Nov 2003 09:28:40 +0000 (09:28 +0000)]
(who): Free `utmp_buf' so there is no confusion about
whether it's leaked or not.

21 years ago(main): Free `fstatus' so there is no confusion about
Jim Meyering [Thu, 6 Nov 2003 09:28:13 +0000 (09:28 +0000)]
(main): Free `fstatus' so there is no confusion about
whether it's leaked or not.

21 years agoFix 'cut' problems with size_t overflow and unsigned int.
Jim Meyering [Thu, 6 Nov 2003 08:37:55 +0000 (08:37 +0000)]
Fix 'cut' problems with size_t overflow and unsigned int.
More generally, resize integer variables to fit use more precisely.

(ADD_RANGE_PAIR): Remove unnecessary parens.
(struct range_pair): Make members to be of type size_t, not unsigned.
(max_range_endpoint, eol_range_start): Now size_t, not unsigned.
(suppress_non_delimited, output_delimiter_specified,
have_read_stdin, print_kth, set_fields): Now bool, nt int.
(delim): Now unsigned char, not int.
(mark_printable_field, is_printable_field, is_range_start_index,
set_fields, set_fields, cut_bytes, cut_fields):
Use size_t, not unsigned, for field and byte counts.
(hash_int): Use uintptr_t, not unsigned, for pointers converted
to integers.  This squeezes more info out of them.
(set_fields, cut_bytes, cut_fields, main):
Use bool, not int, for booleans.
(set_fields): Allocate zeroed byte array with xzalloc, not xcalloc.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Nov 2003 08:37:17 +0000 (08:37 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Nov 2003 08:37:13 +0000 (08:37 +0000)]
*** empty log message ***

21 years ago(jm_CHECK_ALL_TYPES): Check for uintptr_t.
Jim Meyering [Thu, 6 Nov 2003 08:37:09 +0000 (08:37 +0000)]
(jm_CHECK_ALL_TYPES): Check for uintptr_t.

21 years ago.
Jim Meyering [Thu, 6 Nov 2003 08:06:58 +0000 (08:06 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Nov 2003 08:03:33 +0000 (08:03 +0000)]
*** empty log message ***

21 years ago(check-programs-vs-x):
Jim Meyering [Thu, 6 Nov 2003 08:03:27 +0000 (08:03 +0000)]
(check-programs-vs-x):
Work even if $(programs) contains '$'.
Work even if 'missing=1' in environment.
Don't report an error simply because $(programs) outputs nothing.

21 years agoNew file. From gnulib.
Jim Meyering [Thu, 6 Nov 2003 06:08:07 +0000 (06:08 +0000)]
New file.  From gnulib.

21 years ago*** empty log message ***
Jim Meyering [Thu, 6 Nov 2003 06:07:44 +0000 (06:07 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Require gl_FUNC_FREE.
Jim Meyering [Wed, 5 Nov 2003 22:47:44 +0000 (22:47 +0000)]
(jm_MACROS): Require gl_FUNC_FREE.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Nov 2003 22:47:37 +0000 (22:47 +0000)]
*** empty log message ***

21 years agoUpdate from gnulib.
Jim Meyering [Wed, 5 Nov 2003 21:56:05 +0000 (21:56 +0000)]
Update from gnulib.

21 years agoUpdate from gnulib.
Jim Meyering [Wed, 5 Nov 2003 21:47:00 +0000 (21:47 +0000)]
Update from gnulib.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Nov 2003 21:44:14 +0000 (21:44 +0000)]
*** empty log message ***

21 years ago(jm_MACROS): Require autoconf-2.58.
Jim Meyering [Wed, 5 Nov 2003 21:44:10 +0000 (21:44 +0000)]
(jm_MACROS): Require autoconf-2.58.
(AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Nov 2003 21:42:49 +0000 (21:42 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Wed, 5 Nov 2003 14:55:33 +0000 (14:55 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Nov 2003 03:55:48 +0000 (03:55 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 5 Nov 2003 03:53:25 +0000 (03:53 +0000)]
*** empty log message ***