platform/upstream/coreutils.git
20 years ago*** empty log message ***
Jim Meyering [Sun, 5 Oct 2003 11:42:16 +0000 (11:42 +0000)]
*** empty log message ***

20 years ago(jm_MACROS): Don't require AC_FUNC_FTW.
Jim Meyering [Sun, 5 Oct 2003 11:42:11 +0000 (11:42 +0000)]
(jm_MACROS): Don't require AC_FUNC_FTW.

20 years ago.
Jim Meyering [Sun, 5 Oct 2003 11:41:18 +0000 (11:41 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sat, 4 Oct 2003 19:57:06 +0000 (19:57 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 4 Oct 2003 19:56:38 +0000 (19:56 +0000)]
*** empty log message ***

20 years ago(du_files): Ignore any failure of fts_close.
Jim Meyering [Sat, 4 Oct 2003 19:56:32 +0000 (19:56 +0000)]
(du_files): Ignore any failure of fts_close.

20 years ago*** empty log message ***
Jim Meyering [Sat, 4 Oct 2003 17:01:22 +0000 (17:01 +0000)]
*** empty log message ***

20 years ago(du_files): Give better diagnostics for failed fts_open.
Jim Meyering [Sat, 4 Oct 2003 17:01:13 +0000 (17:01 +0000)]
(du_files): Give better diagnostics for failed fts_open.

20 years ago*** empty log message ***
Jim Meyering [Sat, 4 Oct 2003 12:16:12 +0000 (12:16 +0000)]
*** empty log message ***

20 years ago(MAX_N_DESCRIPTORS): Remove now-unused definition.
Jim Meyering [Sat, 4 Oct 2003 12:16:00 +0000 (12:16 +0000)]
(MAX_N_DESCRIPTORS): Remove now-unused definition.

20 years ago*** empty log message ***
Jim Meyering [Sat, 4 Oct 2003 12:14:24 +0000 (12:14 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 4 Oct 2003 12:13:26 +0000 (12:13 +0000)]
*** empty log message ***

20 years ago(enum) [HUMAN_SI_OPTION]: New member.
Jim Meyering [Sat, 4 Oct 2003 12:11:51 +0000 (12:11 +0000)]
(enum) [HUMAN_SI_OPTION]: New member.
[long_options]: Use HUMAN_SI_OPTION, not 'H'.
(main): Warn that the meaning of -H will soon change.

20 years ago*** empty log message ***
Jim Meyering [Sat, 4 Oct 2003 11:58:47 +0000 (11:58 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Fri, 3 Oct 2003 20:17:29 +0000 (20:17 +0000)]
*** empty log message ***

20 years agoAccept --no-dereference (-P).
Jim Meyering [Fri, 3 Oct 2003 20:17:18 +0000 (20:17 +0000)]
Accept --no-dereference (-P).

20 years ago*** empty log message ***
Jim Meyering [Fri, 3 Oct 2003 20:15:40 +0000 (20:15 +0000)]
*** empty log message ***

20 years ago(du invocation): Describe -P, --no-dereference.
Jim Meyering [Fri, 3 Oct 2003 20:15:36 +0000 (20:15 +0000)]
(du invocation): Describe -P, --no-dereference.

20 years ago.
Jim Meyering [Thu, 2 Oct 2003 20:30:47 +0000 (20:30 +0000)]
.

20 years ago.
Jim Meyering [Thu, 2 Oct 2003 20:30:19 +0000 (20:30 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 20:30:09 +0000 (20:30 +0000)]
*** empty log message ***

20 years ago(TESTS): Add inaccessible-cwd.
Jim Meyering [Thu, 2 Oct 2003 20:30:05 +0000 (20:30 +0000)]
(TESTS): Add inaccessible-cwd.

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 20:29:21 +0000 (20:29 +0000)]
*** empty log message ***

20 years agoAdjust for slightly different output.
Jim Meyering [Thu, 2 Oct 2003 20:29:12 +0000 (20:29 +0000)]
Adjust for slightly different output.

20 years agoInclude "fts_.h", not ftw.h.
Jim Meyering [Thu, 2 Oct 2003 20:26:41 +0000 (20:26 +0000)]
Include "fts_.h", not ftw.h.
(opt_dereference_arguments, arg_length, suffix_length): Remove globals.
(IS_FTW_DIR_TYPE): Remove definition.
(IS_DIR_TYPE): Define.
(is_symlink_to_dir): Remove now-unnecessary function.
(process_file, du_files): Rewrite to use fts.

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 20:26:06 +0000 (20:26 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Thu, 2 Oct 2003 20:24:00 +0000 (20:24 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 20:23:49 +0000 (20:23 +0000)]
*** empty log message ***

20 years ago(libfetish_a_SOURCES): Add fts.c fts_.h.
Jim Meyering [Thu, 2 Oct 2003 20:23:35 +0000 (20:23 +0000)]
(libfetish_a_SOURCES): Add fts.c fts_.h.
Remove ftw_.h.

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 17:56:00 +0000 (17:56 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 17:47:22 +0000 (17:47 +0000)]
*** empty log message ***

20 years agoDon't require that the maximum length of a file name
Jim Meyering [Thu, 2 Oct 2003 17:33:54 +0000 (17:33 +0000)]
Don't require that the maximum length of a file name
encountered in a traversal fit in an `unsigned short',
and fix some portability bugs (don't depend on gcc).

Include "fts_.h", not <fts.h>.
(ALIGNBYTES) [!(__GNUC__ >= 2)]: Add a definition that works with
compilers that don't have __alignof__.
(MAX): Use a definition that doesn't depend on gcc.
(fts_build): Make `len' and `maxlen' be of type size_t, not int.
Test for overflow in a less type-dependent manner.
Test HAVE_STRUCT_DIRENT_D_TYPE, rather than
defined DT_DIR && defined _DIRENT_HAVE_D_TYPE.
(fts_palloc): Test for overflow in a less type-dependent manner.
(fts_safe_changedir): Use stat, not stat64.
Use fstat, not __fxstat64(_STAT_VER.

20 years agoDon't require that the maximum length of a file name
Jim Meyering [Thu, 2 Oct 2003 17:33:42 +0000 (17:33 +0000)]
Don't require that the maximum length of a file name
encountered in a traversal fit in an `unsigned short',
and fix some portability bugs (don't depend on gcc).

[FTS] (fts_pathlen): Change type from int to size_t.
[FTSENT] (fts_pathlen): Change type from u_short to size_t.
(fts_level): Change type from u_short to int.

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 17:21:05 +0000 (17:21 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 17:20:04 +0000 (17:20 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 17:15:35 +0000 (17:15 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 17:14:39 +0000 (17:14 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 2 Oct 2003 17:13:50 +0000 (17:13 +0000)]
*** empty log message ***

20 years agoEnsure that du can process a hierarchy
Jim Meyering [Thu, 2 Oct 2003 17:05:34 +0000 (17:05 +0000)]
Ensure that du can process a hierarchy
of depth 400 while using no more than 50KB of stack space.

20 years ago*** empty log message ***
Jim Meyering [Wed, 1 Oct 2003 08:11:45 +0000 (08:11 +0000)]
*** empty log message ***

20 years ago(print_news_deltas): New function, extracted from main.
Jim Meyering [Wed, 1 Oct 2003 08:09:02 +0000 (08:09 +0000)]
(print_news_deltas): New function, extracted from main.
(main): Make `news_file' an array.
Use '...=s' => \@var for --news and --url-directory specs.
Before there were a couple of problems.

20 years ago*** empty log message ***
Jim Meyering [Tue, 30 Sep 2003 06:44:35 +0000 (06:44 +0000)]
*** empty log message ***

20 years ago(tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch.
Jim Meyering [Tue, 30 Sep 2003 06:44:32 +0000 (06:44 +0000)]
(tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch.

20 years ago.
Jim Meyering [Sun, 28 Sep 2003 12:38:38 +0000 (12:38 +0000)]
.

20 years ago.
Jim Meyering [Sun, 28 Sep 2003 12:36:51 +0000 (12:36 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Sun, 28 Sep 2003 08:39:37 +0000 (08:39 +0000)]
*** empty log message ***

20 years ago(sc_cast_of_alloca_return_value): New rule.
Jim Meyering [Sun, 28 Sep 2003 08:39:31 +0000 (08:39 +0000)]
(sc_cast_of_alloca_return_value): New rule.
(syntax-check-rules): Add it.

20 years ago*** empty log message ***
Jim Meyering [Sun, 28 Sep 2003 08:25:40 +0000 (08:25 +0000)]
*** empty log message ***

20 years ago(sc_cast_of_x_alloc_return_value): Also check for alloca casts.
Jim Meyering [Sun, 28 Sep 2003 08:25:24 +0000 (08:25 +0000)]
(sc_cast_of_x_alloc_return_value): Also check for alloca casts.

20 years agoRemove unnecessary casts of alloca, since now it's guaranteed to be (void *).
Jim Meyering [Sun, 28 Sep 2003 08:23:28 +0000 (08:23 +0000)]
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).

20 years agoRemove unnecessary casts of alloca, since now it's guaranteed to be (void *).
Jim Meyering [Sun, 28 Sep 2003 08:22:35 +0000 (08:22 +0000)]
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).

20 years ago(ASSIGN_STRDUPA):
Jim Meyering [Sun, 28 Sep 2003 08:22:15 +0000 (08:22 +0000)]
(ASSIGN_STRDUPA):
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).

20 years agoRemove unnecessary casts of alloca, since now it's guaranteed to be (void *).
Jim Meyering [Sun, 28 Sep 2003 08:21:35 +0000 (08:21 +0000)]
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).

20 years agoRemove unnecessary casts of alloca, since now it's guaranteed to be (void *).
Jim Meyering [Sun, 28 Sep 2003 08:21:14 +0000 (08:21 +0000)]
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).

20 years agoRemove unnecessary cast of alloca, since now it's guaranteed to be (void *).
Jim Meyering [Sun, 28 Sep 2003 08:20:52 +0000 (08:20 +0000)]
Remove unnecessary cast of alloca, since now it's guaranteed to be (void *).

20 years agoRemove unnecessary cast of alloca, since now it's guaranteed to be (void *).
Jim Meyering [Sun, 28 Sep 2003 08:17:39 +0000 (08:17 +0000)]
Remove unnecessary cast of alloca, since now it's guaranteed to be (void *).

20 years agoMinor efficiency tweak.
Jim Meyering [Sun, 28 Sep 2003 08:14:34 +0000 (08:14 +0000)]
Minor efficiency tweak.
(PATH_BASENAME_CONCAT): Use memcpy rather than strcpy.
(do_link): Likewise.

20 years ago*** empty log message ***
Jim Meyering [Sun, 28 Sep 2003 08:09:46 +0000 (08:09 +0000)]
*** empty log message ***

20 years agoUpdate from gnulib.
Jim Meyering [Sun, 28 Sep 2003 08:09:28 +0000 (08:09 +0000)]
Update from gnulib.

20 years ago(Translating): Correct typo in menu description.
Jim Meyering [Sun, 28 Sep 2003 08:00:50 +0000 (08:00 +0000)]
(Translating): Correct typo in menu description.

20 years ago*** empty log message ***
Jim Meyering [Sun, 28 Sep 2003 08:00:35 +0000 (08:00 +0000)]
*** empty log message ***

20 years agosync from gnulib -- just changes comments
Jim Meyering [Sat, 27 Sep 2003 17:26:26 +0000 (17:26 +0000)]
sync from gnulib -- just changes comments

20 years ago*** empty log message ***
Jim Meyering [Sat, 27 Sep 2003 06:57:20 +0000 (06:57 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Sat, 27 Sep 2003 06:57:15 +0000 (06:57 +0000)]
*** empty log message ***

20 years agoDon't exhaust virtual memory when processing large inputs.
Jim Meyering [Sat, 27 Sep 2003 06:57:07 +0000 (06:57 +0000)]
Don't exhaust virtual memory when processing large inputs.
Fix this by removing csplit's internal free-list management;
instead rely on malloc for that.

(free_list): Remove global.
(clear_all_line_control): Remove function.
(get_new_buffer): Always use create_new_buffer to obtain a
new buffer, rather than searching free_list.
(free_buffer): Just call free.

20 years ago*** empty log message ***
Jim Meyering [Sat, 27 Sep 2003 06:52:38 +0000 (06:52 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Fri, 26 Sep 2003 20:11:15 +0000 (20:11 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Fri, 26 Sep 2003 13:47:26 +0000 (13:47 +0000)]
*** empty log message ***

20 years agoAlso list `chattr' in SEE ALSO section.
Jim Meyering [Fri, 26 Sep 2003 13:47:19 +0000 (13:47 +0000)]
Also list `chattr' in SEE ALSO section.

20 years ago*** empty log message ***
Jim Meyering [Fri, 26 Sep 2003 13:47:05 +0000 (13:47 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Thu, 25 Sep 2003 18:01:32 +0000 (18:01 +0000)]
*** empty log message ***

20 years agoDon't invoke AC_AIX or AC_MINIX explicitly, now
Jim Meyering [Thu, 25 Sep 2003 18:01:25 +0000 (18:01 +0000)]
Don't invoke AC_AIX or AC_MINIX explicitly, now
that we use gl_USE_SYSTEM_EXTENSIONS, since it AC_REQUIREs them.

20 years ago*** empty log message ***
Jim Meyering [Thu, 25 Sep 2003 17:50:05 +0000 (17:50 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Wed, 24 Sep 2003 17:57:03 +0000 (17:57 +0000)]
.

20 years ago(check_and_close, dump, dump_strings): Don't report bogus errno value
Jim Meyering [Wed, 24 Sep 2003 08:21:30 +0000 (08:21 +0000)]
(check_and_close, dump, dump_strings): Don't report bogus errno value
after ferror discovers an output error.  We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".

(skip): If a read fails, don't retry it later, so
that we report the proper errno.

20 years ago.
Jim Meyering [Tue, 23 Sep 2003 22:02:44 +0000 (22:02 +0000)]
.

20 years ago(TESTS): Add deref-args.
Jim Meyering [Tue, 23 Sep 2003 22:02:26 +0000 (22:02 +0000)]
(TESTS): Add deref-args.

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Sep 2003 22:00:51 +0000 (22:00 +0000)]
*** empty log message ***

20 years ago(get_line): Report error right away if I/O fails,
Jim Meyering [Tue, 23 Sep 2003 21:57:52 +0000 (21:57 +0000)]
(get_line): Report error right away if I/O fails,
so that the proper errno value is used.

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Sep 2003 21:57:19 +0000 (21:57 +0000)]
*** empty log message ***

20 years ago(close_output_file): Don't report bogus errno value
Jim Meyering [Tue, 23 Sep 2003 21:57:13 +0000 (21:57 +0000)]
(close_output_file): Don't report bogus errno value
after ferror discovers an output error.  We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".

20 years ago(paste_serial): Save errno after input error,
Jim Meyering [Tue, 23 Sep 2003 17:47:59 +0000 (17:47 +0000)]
(paste_serial): Save errno after input error,
to report proper errno value.
Based on a patch from Paul Eggert.

20 years ago(fold_file): Save errno after input error, to report proper errno value.
Jim Meyering [Tue, 23 Sep 2003 12:12:25 +0000 (12:12 +0000)]
(fold_file): Save errno after input error, to report proper errno value.

20 years ago(compare_files): Save errno after input error, to report proper errno value.
Jim Meyering [Tue, 23 Sep 2003 12:09:33 +0000 (12:09 +0000)]
(compare_files): Save errno after input error, to report proper errno value.

20 years ago(unexpand): Save errno after input error, to report proper errno value.
Jim Meyering [Tue, 23 Sep 2003 08:01:26 +0000 (08:01 +0000)]
(unexpand): Save errno after input error, to report proper errno value.

20 years ago*** empty log message ***
Jim Meyering [Tue, 23 Sep 2003 07:53:25 +0000 (07:53 +0000)]
*** empty log message ***

20 years ago(tee): Adjust fwrite arguments so that the return
Jim Meyering [Tue, 23 Sep 2003 07:51:02 +0000 (07:51 +0000)]
(tee): Adjust fwrite arguments so that the return
value is the number of bytes written.

20 years ago*** empty log message ***
Jim Meyering [Mon, 22 Sep 2003 21:49:18 +0000 (21:49 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Mon, 22 Sep 2003 18:58:34 +0000 (18:58 +0000)]
*** empty log message ***

20 years ago(XGETTEXT_OPTIONS): Add --from-code=UTF-8 to accommodate the
Jim Meyering [Mon, 22 Sep 2003 18:58:30 +0000 (18:58 +0000)]
(XGETTEXT_OPTIONS): Add --from-code=UTF-8 to accommodate the
non-ASCII comment to translators in ptx.c regarding the author's name.

20 years ago(tac_mem): Don't return a value; nobody uses it.
Jim Meyering [Mon, 22 Sep 2003 16:03:21 +0000 (16:03 +0000)]
(tac_mem): Don't return a value; nobody uses it.

20 years ago(tee): Once a write failure has occurred, don't bother
Jim Meyering [Mon, 22 Sep 2003 16:00:49 +0000 (16:00 +0000)]
(tee): Once a write failure has occurred, don't bother
writing anything more to that stream.

20 years ago(check_file): Report error right away if I/O fails,
Jim Meyering [Mon, 22 Sep 2003 15:59:29 +0000 (15:59 +0000)]
(check_file): Report error right away if I/O fails,
so that the proper errno value is used.
(check_file): Check for ferror (stdout) even if ostream == stdout.
(check_file): Don't report bogus errno value
after ferror discovers an output error.  We don't know the proper
errno value, since it might have been caused by any of a whole
bunch of calls, and it might have been trashed in the meantime.
Fixing this problem will require much more extensive changes;
in the meantime just say "write error".

20 years ago(UNROLL): Remove.
Jim Meyering [Mon, 22 Sep 2003 15:41:05 +0000 (15:41 +0000)]
(UNROLL): Remove.
(main): Exit immediately when write failure is detected.
Simplify code by assigning to argv when argc == 1.

20 years ago.
Jim Meyering [Mon, 22 Sep 2003 15:31:06 +0000 (15:31 +0000)]
.

20 years ago.
Jim Meyering [Mon, 22 Sep 2003 15:29:51 +0000 (15:29 +0000)]
.

20 years ago.
Jim Meyering [Mon, 22 Sep 2003 15:29:02 +0000 (15:29 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Mon, 22 Sep 2003 07:26:17 +0000 (07:26 +0000)]
*** empty log message ***

20 years agoSwitch encoding from Latin-1 to UTF-8.
Jim Meyering [Mon, 22 Sep 2003 07:07:16 +0000 (07:07 +0000)]
Switch encoding from Latin-1 to UTF-8.
(WRITTEN_BY): Change "Franc,ois" (actually using
c-with-cedilla in Latin-1) to "F.", so that it's ASCII, as
xgettext requires.

20 years ago*** empty log message ***
Jim Meyering [Sat, 20 Sep 2003 08:05:51 +0000 (08:05 +0000)]
*** empty log message ***