platform/upstream/coreutils.git
21 years ago.
Jim Meyering [Tue, 7 Oct 2003 13:05:04 +0000 (13:05 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 7 Oct 2003 07:22:13 +0000 (07:22 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Tue, 7 Oct 2003 07:21:37 +0000 (07:21 +0000)]
.

21 years ago.
Jim Meyering [Mon, 6 Oct 2003 17:42:22 +0000 (17:42 +0000)]
.

21 years ago.
Jim Meyering [Mon, 6 Oct 2003 07:55:11 +0000 (07:55 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 6 Oct 2003 07:54:45 +0000 (07:54 +0000)]
*** empty log message ***

21 years agoremove now-unused file
Jim Meyering [Mon, 6 Oct 2003 07:53:44 +0000 (07:53 +0000)]
remove now-unused file

21 years ago*** empty log message ***
Jim Meyering [Sun, 5 Oct 2003 16:26:51 +0000 (16:26 +0000)]
*** empty log message ***

21 years ago(change_file_owner): Remove set-but-not-used local.
Jim Meyering [Sun, 5 Oct 2003 16:26:45 +0000 (16:26 +0000)]
(change_file_owner): Remove set-but-not-used local.

21 years agos/nftw/fts/g in a comment
Jim Meyering [Sun, 5 Oct 2003 15:35:27 +0000 (15:35 +0000)]
s/nftw/fts/g in a comment

21 years ago*** empty log message ***
Jim Meyering [Sun, 5 Oct 2003 11:43:02 +0000 (11:43 +0000)]
*** empty log message ***

21 years ago(du_files): Mark diagnostic for translation.
Jim Meyering [Sun, 5 Oct 2003 11:42:55 +0000 (11:42 +0000)]
(du_files): Mark diagnostic for translation.

21 years ago*** empty log message ***
Jim Meyering [Sun, 5 Oct 2003 11:42:16 +0000 (11:42 +0000)]
*** empty log message ***

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

21 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 *).

21 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 *).

21 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 *).

21 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 *).

21 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 *).

21 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 *).

21 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 *).

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

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

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

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

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

21 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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