platform/upstream/coreutils.git
20 years ago*** empty log message ***
Jim Meyering [Tue, 11 Nov 2003 07:07:00 +0000 (07:07 +0000)]
*** empty log message ***

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

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

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

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

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

20 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.

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

20 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.

20 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>.

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

20 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.

20 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.

20 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.

20 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.

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

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

20 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.

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

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

20 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.

20 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.

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

20 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.

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

20 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).

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

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

20 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".

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

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

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

20 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*'.

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

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

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

20 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.

20 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.

20 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.

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

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

20 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.

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

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

20 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.

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

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

20 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.

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

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

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

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

20 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.

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

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

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

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

20 years agoCast NULL to `(char *)' in call to variadic function,
Jim Meyering [Wed, 5 Nov 2003 03:53:19 +0000 (03:53 +0000)]
Cast NULL to `(char *)' in call to variadic function,
parse_long_options, so that it works even on systems for which
sizeof char* != sizeof int.

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

20 years ago(spec_init): Fix typo in last change.
Jim Meyering [Wed, 5 Nov 2003 03:49:29 +0000 (03:49 +0000)]
(spec_init): Fix typo in last change.

20 years ago(main): Cast NULL to `(char *)' in
Jim Meyering [Wed, 5 Nov 2003 03:43:30 +0000 (03:43 +0000)]
(main): Cast NULL to `(char *)' in
call to variadic version_etc function, so that it works even on systems
for which sizeof char* != sizeof int.

20 years ago(case_GETOPT_VERSION_CHAR): Cast NULL to `(char *)' in
Jim Meyering [Wed, 5 Nov 2003 03:43:22 +0000 (03:43 +0000)]
(case_GETOPT_VERSION_CHAR): Cast NULL to `(char *)' in
call to variadic version_etc function, so that it works even on systems
for which sizeof char* != sizeof int.

20 years ago*** empty log message ***
Jim Meyering [Wed, 5 Nov 2003 03:34:15 +0000 (03:34 +0000)]
*** empty log message ***

20 years agoDocument _POSIX2_VERSION.
Jim Meyering [Wed, 5 Nov 2003 03:34:09 +0000 (03:34 +0000)]
Document _POSIX2_VERSION.

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

20 years ago(users): Free `utmp_buf' explicitly so that people
Jim Meyering [Wed, 5 Nov 2003 03:15:21 +0000 (03:15 +0000)]
(users): Free `utmp_buf' explicitly so that people
don't mistake this for a real leak.

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

20 years ago.
Jim Meyering [Tue, 4 Nov 2003 14:42:54 +0000 (14:42 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Tue, 4 Nov 2003 14:42:09 +0000 (14:42 +0000)]
*** empty log message ***

20 years ago(ADD_FIELD, initseq, getseq): Use x2nrealloc rather than xrealloc.
Jim Meyering [Tue, 4 Nov 2003 14:42:05 +0000 (14:42 +0000)]
(ADD_FIELD, initseq, getseq): Use x2nrealloc rather than xrealloc.

20 years ago(fold_file): Use x2nrealloc rather than xrealloc.
Jim Meyering [Tue, 4 Nov 2003 10:27:24 +0000 (10:27 +0000)]
(fold_file): Use x2nrealloc rather than xrealloc.

20 years ago(store_char): Use x2nrealloc rather than xrealloc.
Jim Meyering [Tue, 4 Nov 2003 09:32:16 +0000 (09:32 +0000)]
(store_char): Use x2nrealloc rather than xrealloc.

20 years ago(memrchr): Remove #if-0'd function.
Jim Meyering [Tue, 4 Nov 2003 09:31:08 +0000 (09:31 +0000)]
(memrchr): Remove #if-0'd function.
(tac_stdin_to_mem): Clean up #if-0'd code.

20 years ago(new_key): Use xzalloc, not xcalloc.
Jim Meyering [Tue, 4 Nov 2003 09:28:28 +0000 (09:28 +0000)]
(new_key): Use xzalloc, not xcalloc.

20 years ago(show_date): Use x2nrealloc rather than xrealloc.
Jim Meyering [Tue, 4 Nov 2003 09:27:54 +0000 (09:27 +0000)]
(show_date): Use x2nrealloc rather than xrealloc.

20 years ago(decode_format_string): Remove unnecessary casts.
Jim Meyering [Tue, 4 Nov 2003 09:27:19 +0000 (09:27 +0000)]
(decode_format_string): Remove unnecessary casts.
Use more maintainable `sizeof *var'.
(main): Call decode_format_string rather than decode_one_format,
now that `spec' may be NULL.

20 years ago(decode_format_string, dump_strings): Use x2nrealloc rather than xrealloc.
Jim Meyering [Tue, 4 Nov 2003 06:32:51 +0000 (06:32 +0000)]
(decode_format_string, dump_strings): Use x2nrealloc rather than xrealloc.

20 years ago(ADD_RANGE_PAIR): Use x2nrealloc rather than xrealloc,
Jim Meyering [Tue, 4 Nov 2003 06:28:01 +0000 (06:28 +0000)]
(ADD_RANGE_PAIR): Use x2nrealloc rather than xrealloc,
to avoid potential overflow in pointer arithmetic.
(set_fields): Use not `1', but rather `sizeof *printable_field' as
second argument to xcalloc.

20 years ago(next_file_name): Use `sizeof *var' rather than
Jim Meyering [Tue, 4 Nov 2003 06:25:45 +0000 (06:25 +0000)]
(next_file_name): Use `sizeof *var' rather than
hard-coding `sizeof size_t'.

20 years ago(AUTHORS): Add my name.
Jim Meyering [Tue, 4 Nov 2003 06:21:03 +0000 (06:21 +0000)]
(AUTHORS): Add my name.

20 years ago(main): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
Jim Meyering [Tue, 4 Nov 2003 06:13:55 +0000 (06:13 +0000)]
(main): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.

20 years ago(initseq, add_field, make_blank): Use `sizeof *var' rather
Jim Meyering [Tue, 4 Nov 2003 06:07:01 +0000 (06:07 +0000)]
(initseq, add_field, make_blank): Use `sizeof *var' rather
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.

20 years ago*** empty log message ***
Jim Meyering [Mon, 3 Nov 2003 16:11:14 +0000 (16:11 +0000)]
*** empty log message ***

20 years ago(TESTS_ENVIRONMENT): Define PACKAGE_VERSION.
Jim Meyering [Mon, 3 Nov 2003 16:11:06 +0000 (16:11 +0000)]
(TESTS_ENVIRONMENT): Define PACKAGE_VERSION.

20 years agoFail the test immediately if we're not running
Jim Meyering [Mon, 3 Nov 2003 16:10:58 +0000 (16:10 +0000)]
Fail the test immediately if we're not running
the expected version of fold.

20 years ago.
Jim Meyering [Mon, 3 Nov 2003 15:08:50 +0000 (15:08 +0000)]
.

20 years agowrap long copyright line
Jim Meyering [Mon, 3 Nov 2003 14:57:41 +0000 (14:57 +0000)]
wrap long copyright line

20 years ago.
Jim Meyering [Mon, 3 Nov 2003 12:42:58 +0000 (12:42 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 2 Nov 2003 20:39:40 +0000 (20:39 +0000)]
*** empty log message ***

20 years ago(alloc_and_compile_regex, main): Use `sizeof *var' rather
Jim Meyering [Sun, 2 Nov 2003 20:39:26 +0000 (20:39 +0000)]
(alloc_and_compile_regex, main): Use `sizeof *var' rather
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.

20 years ago(new_item, record_relation): Use `sizeof *var' rather
Jim Meyering [Sun, 2 Nov 2003 20:24:14 +0000 (20:24 +0000)]
(new_item, record_relation): Use `sizeof *var' rather
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.

20 years ago(add_fs_type, add_excluded_fs_type, main): Use `sizeof *var' rather
Jim Meyering [Sun, 2 Nov 2003 20:22:54 +0000 (20:22 +0000)]
(add_fs_type, add_excluded_fs_type, main): Use `sizeof *var' rather
than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
(main): Also remove anachronistic cast of xmalloc return value.

20 years ago(make_path_private): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
Jim Meyering [Sun, 2 Nov 2003 20:17:46 +0000 (20:17 +0000)]
(make_path_private): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.

20 years ago(copy_internal): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
Jim Meyering [Sun, 2 Nov 2003 20:17:04 +0000 (20:17 +0000)]
(copy_internal): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.

20 years ago(inittables): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
Jim Meyering [Sun, 2 Nov 2003 20:16:19 +0000 (20:16 +0000)]
(inittables): Use `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.
The former is more maintainable and usually shorter.
(sort): Split a long line.

20 years ago*** empty log message ***
Jim Meyering [Sun, 2 Nov 2003 19:54:01 +0000 (19:54 +0000)]
*** empty log message ***

20 years ago(append_normal_char, append_range, append_char_class)
Jim Meyering [Sun, 2 Nov 2003 19:50:48 +0000 (19:50 +0000)]
(append_normal_char, append_range, append_char_class)
(append_repeated_char, append_equiv_class, spec_init): Use more maintainable
and usually-shorter `sizeof *var' rather than `sizeof EXPLICIT_TYPE'.

20 years ago*** empty log message ***
Jim Meyering [Sat, 1 Nov 2003 08:54:59 +0000 (08:54 +0000)]
*** empty log message ***

20 years ago(SIZE_MAX): Define if not defined already.
Jim Meyering [Sat, 1 Nov 2003 08:54:54 +0000 (08:54 +0000)]
(SIZE_MAX): Define if not defined already.
(read_filesystem_list): Set and use me_type_malloced.
Use "sizeof *me" rather than "sizeof (struct mount_entry)" (or
whatever the type happens to be), for brevity and consistency.
Check for size calculation overflow on Alphas running OSF/1.

20 years ago(struct mount_entry.me_type_malloced): New member.
Jim Meyering [Sat, 1 Nov 2003 08:54:35 +0000 (08:54 +0000)]
(struct mount_entry.me_type_malloced): New member.