platform/upstream/coreutils.git
25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Jul 1999 21:04:18 +0000 (21:04 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Jul 1999 21:03:35 +0000 (21:03 +0000)]
*** empty log message ***

25 years agodocument tail's new option: --pid=PID
Jim Meyering [Fri, 30 Jul 1999 21:02:54 +0000 (21:02 +0000)]
document tail's new option: --pid=PID

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Jul 1999 20:43:10 +0000 (20:43 +0000)]
*** empty log message ***

25 years agoNew option: --pid=PID.
Jim Meyering [Fri, 30 Jul 1999 20:42:39 +0000 (20:42 +0000)]
New option: --pid=PID.
(pid): New global.
(long_options): Add `pid'.
(usage): Describe it.
(tail_forever): Implement it.
(parse_options): Handle the new option and required arg.
Suggestion and pseudo-code from Karl Heuer.

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Jul 1999 19:33:57 +0000 (19:33 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Jul 1999 19:31:03 +0000 (19:31 +0000)]
*** empty log message ***

25 years ago(PID_T_MAX): Define.
Jim Meyering [Fri, 30 Jul 1999 19:29:53 +0000 (19:29 +0000)]
(PID_T_MAX): Define.

25 years agoInclude <sys/types.h> now that linebuffer.h uses
Jim Meyering [Fri, 30 Jul 1999 19:29:27 +0000 (19:29 +0000)]
Include <sys/types.h> now that linebuffer.h uses
size_t.  This is required on at least SunOS4.  From Kaveh Ghazi.

25 years ago(usage): Explain about default wrt --hide-control-chars and
Jim Meyering [Fri, 30 Jul 1999 16:01:44 +0000 (16:01 +0000)]
(usage): Explain about default wrt --hide-control-chars and
--show-control-chars.  Reported by Germano Leichsenring.

25 years ago*** empty log message ***
Jim Meyering [Fri, 30 Jul 1999 16:01:26 +0000 (16:01 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Wed, 28 Jul 1999 05:48:55 +0000 (05:48 +0000)]
*** empty log message ***

25 years ago(dd_copy): Free the right obuf.
Jim Meyering [Tue, 27 Jul 1999 14:36:36 +0000 (14:36 +0000)]
(dd_copy): Free the right obuf.

25 years agomore comments
Jim Meyering [Mon, 26 Jul 1999 09:17:56 +0000 (09:17 +0000)]
more comments

25 years agoadd comment
Jim Meyering [Mon, 26 Jul 1999 09:03:15 +0000 (09:03 +0000)]
add comment

25 years ago(struct File_spec) [n_stat_calls]: Remove unused member.
Jim Meyering [Mon, 26 Jul 1999 09:01:27 +0000 (09:01 +0000)]
(struct File_spec) [n_stat_calls]: Remove unused member.

25 years ago(tee): Convert from open/fds to using fopen/streams for
Jim Meyering [Mon, 26 Jul 1999 07:11:27 +0000 (07:11 +0000)]
(tee): Convert from open/fds to using fopen/streams for
output, in preparation for addition of new compression option.

25 years ago*** empty log message ***
Jim Meyering [Mon, 26 Jul 1999 06:52:28 +0000 (06:52 +0000)]
*** empty log message ***

25 years ago(usage): Remove `NEWS'-style paragraph (sorry to have let that in, translators).
Jim Meyering [Sun, 25 Jul 1999 09:30:35 +0000 (09:30 +0000)]
(usage): Remove `NEWS'-style paragraph (sorry to have let that in, translators).

25 years ago*** empty log message *** TEXTUTILS-1_22n
Jim Meyering [Sun, 25 Jul 1999 08:47:36 +0000 (08:47 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jul 1999 08:27:24 +0000 (08:27 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sun, 25 Jul 1999 08:10:14 +0000 (08:10 +0000)]
.

25 years ago.
Jim Meyering [Sat, 24 Jul 1999 21:16:37 +0000 (21:16 +0000)]
.

25 years agoadd to comment
Jim Meyering [Sat, 24 Jul 1999 09:40:23 +0000 (09:40 +0000)]
add to comment

25 years ago(PTR_ALIGN, ROUND_UP_OFFSET): New macros.
Jim Meyering [Sat, 24 Jul 1999 09:36:29 +0000 (09:36 +0000)]
(PTR_ALIGN, ROUND_UP_OFFSET): New macros.
(dd_copy): Use those to page-align both the input and output buffers.

25 years ago(options): Avoid Solaris' broken /usr/ucb/tr by
Jim Meyering [Wed, 21 Jul 1999 15:56:15 +0000 (15:56 +0000)]
(options): Avoid Solaris' broken /usr/ucb/tr by
removing offending use of tr altogether and removing hyphens with sed.
Reported by Kaveh Ghazi.

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jul 1999 15:08:41 +0000 (15:08 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jul 1999 15:07:58 +0000 (15:07 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jul 1999 14:55:19 +0000 (14:55 +0000)]
*** empty log message ***

25 years agoupdate comments
Jim Meyering [Tue, 20 Jul 1999 18:52:05 +0000 (18:52 +0000)]
update comments

25 years ago(translate_040_to_space) [MOUNTED_GETMNTENT1]: New function.
Jim Meyering [Tue, 20 Jul 1999 18:41:58 +0000 (18:41 +0000)]
(translate_040_to_space) [MOUNTED_GETMNTENT1]: New function.
(read_filesystem_list) [MOUNTED_GETMNTENT1]: Use it.

25 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jul 1999 17:08:37 +0000 (17:08 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Tue, 20 Jul 1999 17:06:53 +0000 (17:06 +0000)]
*** empty log message ***

25 years ago(AC_REPLACE_FUNCS): Add memmove.
Jim Meyering [Tue, 20 Jul 1999 17:06:50 +0000 (17:06 +0000)]
(AC_REPLACE_FUNCS): Add memmove.

25 years agowc vs. POSIXLY_CORRECT
Jim Meyering [Tue, 20 Jul 1999 08:03:49 +0000 (08:03 +0000)]
wc vs. POSIXLY_CORRECT

25 years ago(posixly_correct): Declare global.
Jim Meyering [Tue, 20 Jul 1999 07:56:59 +0000 (07:56 +0000)]
(posixly_correct): Declare global.
(write_counts): Use it to select printf formats.
(main): Set posixly_correct from the POSIXLY_CORRECT envvar.
From Peter Moulder.

25 years agoremove @key uses, rewrite --sep-string, small cleanups
Jim Meyering [Sun, 18 Jul 1999 13:58:57 +0000 (13:58 +0000)]
remove @key uses, rewrite --sep-string, small cleanups

25 years ago.
Jim Meyering [Sun, 18 Jul 1999 13:33:04 +0000 (13:33 +0000)]
.

25 years ago.
Jim Meyering [Sun, 18 Jul 1999 11:21:58 +0000 (11:21 +0000)]
.

25 years ago(noinst_HEADERS): Add getpagesize.h.
Jim Meyering [Thu, 15 Jul 1999 16:16:24 +0000 (16:16 +0000)]
(noinst_HEADERS): Add getpagesize.h.

25 years ago.
Jim Meyering [Thu, 15 Jul 1999 16:15:17 +0000 (16:15 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 16:14:56 +0000 (16:14 +0000)]
*** empty log message ***

25 years agoRevert the 1999-02-15 change.
Jim Meyering [Thu, 15 Jul 1999 16:14:13 +0000 (16:14 +0000)]
Revert the 1999-02-15 change.

25 years agoRevert the 1999-02-15 change and
Jim Meyering [Thu, 15 Jul 1999 16:13:47 +0000 (16:13 +0000)]
Revert the 1999-02-15 change and
add --text for individual tests.  Reported by Eli Zaretskii.

25 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 16:07:34 +0000 (16:07 +0000)]
*** empty log message ***

25 years agoDocument new tail options.
Jim Meyering [Thu, 15 Jul 1999 16:07:15 +0000 (16:07 +0000)]
Document new tail options.

25 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 12:10:44 +0000 (12:10 +0000)]
*** empty log message ***

25 years agoInclude getpagesize.h.
Jim Meyering [Thu, 15 Jul 1999 12:06:18 +0000 (12:06 +0000)]
Include getpagesize.h.
(ROUND_UP_TO_MODULUS): Define.
(dd_copy): Page-align the input buffer.
Based on a patch from Scott Lurndal.

25 years ago.
Jim Meyering [Thu, 15 Jul 1999 09:31:44 +0000 (09:31 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 09:31:34 +0000 (09:31 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 09:28:43 +0000 (09:28 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 09:11:24 +0000 (09:11 +0000)]
*** empty log message ***

25 years ago(AC_CHECK_FUNCS): Check for getpagesize.
Jim Meyering [Thu, 15 Jul 1999 09:11:13 +0000 (09:11 +0000)]
(AC_CHECK_FUNCS): Check for getpagesize.

25 years ago(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]:
Jim Meyering [Thu, 15 Jul 1999 07:50:06 +0000 (07:50 +0000)]
(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]:
Work around SunOS botch also when block size is different from 1k.

25 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 07:49:28 +0000 (07:49 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Mon, 12 Jul 1999 20:07:37 +0000 (20:07 +0000)]
*** empty log message ***

25 years ago(mempcpy): Define only if not already defined.
Jim Meyering [Mon, 12 Jul 1999 08:37:31 +0000 (08:37 +0000)]
(mempcpy): Define only if not already defined.
Reported by Collin Rogowski.

25 years ago*** empty log message ***
Jim Meyering [Mon, 12 Jul 1999 08:37:21 +0000 (08:37 +0000)]
*** empty log message ***

25 years ago(recheck): Use assert instead of unnecessary close_fd.
Jim Meyering [Sun, 11 Jul 1999 09:05:31 +0000 (09:05 +0000)]
(recheck): Use assert instead of unnecessary close_fd.
Remove a couple unnecessary FIXME comments.

25 years ago*** empty log message ***
Jim Meyering [Sat, 10 Jul 1999 16:40:33 +0000 (16:40 +0000)]
*** empty log message ***

25 years agocpp indent and split a long line
Jim Meyering [Sat, 10 Jul 1999 16:40:16 +0000 (16:40 +0000)]
cpp indent and split a long line

25 years agouse a space, not TAB after #define
Jim Meyering [Sat, 10 Jul 1999 16:36:56 +0000 (16:36 +0000)]
use a space, not TAB after #define

25 years agocpp indent
Jim Meyering [Sat, 10 Jul 1999 16:36:11 +0000 (16:36 +0000)]
cpp indent

25 years ago(struct File_spec) [tailable]: Rename from `missing' and
Jim Meyering [Sat, 10 Jul 1999 12:24:10 +0000 (12:24 +0000)]
(struct File_spec) [tailable]: Rename from `missing' and
document.  Change all uses and locals like was_missing to was_tailable.
Invert expressions as appropriate.
(reopen_inaccessible_files): Rename from allow_missing.
(sleep_interval): Describe.
(--allow-missing): Deprecate.
(--retry): New option, equivalent to --allow-missing.
(usage): Document name vs. descriptor differences.
Refer to manual for descriptions of --max-unchanged-stats=N
and --max-consecutive-size-changes=N.
(valid_file_spec): New function.
(recheck): Assert valid_file_spec.
Remove dead else-if block (suggestion from Eli Zaretskii).
Adjust stmts that set f->tailable -- unlike for `missing', tailable
doesn't depend on errno == ENOENT.
(parse_options): Give a warning if --retry is used when not following
by name.

25 years ago(struct File_spec): New member, errnum.
Jim Meyering [Sat, 10 Jul 1999 09:56:37 +0000 (09:56 +0000)]
(struct File_spec): New member, errnum.
(recheck): Record the new value of errno in f->errnum.  Don't
output an error message unless the new value of errno differs from
the old one.  Output a message if previously-inaccessible file
becomes accessible.
(tail_forever): Always recheck files whose fd is negative.  If the
file cannot be fstat'ed, record the errno value in f[i].errnum.
(tail_file): If the file cannot be open, record the errno value in
f->errnum.  If it can be opened, initialize f->errnum to zero.  If
it's a non-regular non-fifo file, initialize f->errnum to -1.

25 years ago*** empty log message ***
Jim Meyering [Sat, 10 Jul 1999 08:44:58 +0000 (08:44 +0000)]
*** empty log message ***

25 years agoImport version 1.012.
Jim Meyering [Sat, 10 Jul 1999 08:44:49 +0000 (08:44 +0000)]
Import version 1.012.

25 years ago*** empty log message ***
Jim Meyering [Sat, 10 Jul 1999 07:37:39 +0000 (07:37 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sat, 10 Jul 1999 07:34:52 +0000 (07:34 +0000)]
*** empty log message ***

25 years agoImport version 1.011.
Jim Meyering [Sat, 10 Jul 1999 07:28:05 +0000 (07:28 +0000)]
Import version 1.011.

25 years ago.
Jim Meyering [Sat, 10 Jul 1999 07:17:02 +0000 (07:17 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Fri, 9 Jul 1999 12:51:18 +0000 (12:51 +0000)]
*** empty log message ***

25 years agoreinclude memcoll.h (mistakenly removed by me)
Jim Meyering [Sun, 4 Jul 1999 10:41:26 +0000 (10:41 +0000)]
reinclude memcoll.h (mistakenly removed by me)

25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 10:40:15 +0000 (10:40 +0000)]
*** empty log message ***

25 years ago[!defined strtoumax]: Declare strtoumax.
Jim Meyering [Sun, 4 Jul 1999 10:40:04 +0000 (10:40 +0000)]
[!defined strtoumax]: Declare strtoumax.

25 years ago.
Jim Meyering [Sun, 4 Jul 1999 10:38:37 +0000 (10:38 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 10:33:50 +0000 (10:33 +0000)]
*** empty log message ***

25 years ago(readline): Leave room for an extra byte
Jim Meyering [Sun, 4 Jul 1999 10:31:01 +0000 (10:31 +0000)]
(readline): Leave room for an extra byte
after the newline; comm needs this for memcoll.

25 years agoAdd support for LC_COLLATE locale.
Jim Meyering [Sun, 4 Jul 1999 10:28:08 +0000 (10:28 +0000)]
Add support for LC_COLLATE locale.
Include hard-locale.h, linebuffer.h, memcoll.h.
(struct line): New member `buf', replacing `beg' and `lim'.
All uses changed.
(hard_LC_COLLATE): New var.
(main): Initialize it.
(get_line): Use readline to read the line,
instead of doing it by hand.
That way, we get a buffer that we can pass to memcoll.
(keycmp): Use memcoll to compare lines if hard_LC_COLLATE is nonzero.

25 years agoInclude hard-locale.h, memcoll.h.
Jim Meyering [Sun, 4 Jul 1999 10:23:19 +0000 (10:23 +0000)]
Include hard-locale.h, memcoll.h.
(hard_LC_COLLATE, hard_LC_CTYPE, hard_LC_TIME): New variables,
replacing `need_locale'.
(memcoll): Move to lib/memcoll.c.
(keycompare): No need to alloc (0), since our caller now does it.
(compare): alloca (0) before returning.
(my_setlocale): Remove; hard_locale now dows this.
(main): Invoke setlocale, bindtextdomain, and textdomain before
invoking anything that might print an error.
Use hard_locale to determine which locales are hard.

25 years agoInclude hard-locale.h, memcoll.h.
Jim Meyering [Sun, 4 Jul 1999 10:22:25 +0000 (10:22 +0000)]
Include hard-locale.h, memcoll.h.
(hard_LC_COLLATE): New variable.
(compare_files): Use memcoll to compare if hard_LC_COLLATE.
(main): Initialize hard_LC_COLLATE from locale.

25 years agoDocument locale-specific mode for comm.
Jim Meyering [Sun, 4 Jul 1999 10:21:39 +0000 (10:21 +0000)]
Document locale-specific mode for comm.

25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 10:16:28 +0000 (10:16 +0000)]
*** empty log message ***

25 years ago(proc_text, check_section, main):
Jim Meyering [Sun, 4 Jul 1999 10:15:45 +0000 (10:15 +0000)]
(proc_text, check_section, main):
Use size_t, not int, for lengths.
Lines now contain trailing newline.
Adapt for readline changes.

25 years ago(find_field, different): Use size_t, not int, for lengths.
Jim Meyering [Sun, 4 Jul 1999 10:14:03 +0000 (10:14 +0000)]
(find_field, different): Use size_t, not int, for lengths.
(writeline): Lines now contain trailing newline.
(check_file): Use size_t, not int, for lengths.

25 years ago(writeline): Lines now contain trailing newline.
Jim Meyering [Sun, 4 Jul 1999 10:09:44 +0000 (10:09 +0000)]
(writeline): Lines now contain trailing newline.

25 years ago[struct linebuffer] (size): Declare to be of type size_t, not long.
Jim Meyering [Sun, 4 Jul 1999 10:08:56 +0000 (10:08 +0000)]
[struct linebuffer] (size): Declare to be of type size_t, not long.
[struct linebuffer] (length): Likewise.

25 years ago(readline): Append trailing newline to line.
Jim Meyering [Sun, 4 Jul 1999 10:06:42 +0000 (10:06 +0000)]
(readline): Append trailing newline to line.

25 years ago(memrchr): Ifdef out this unused function.
Jim Meyering [Sun, 4 Jul 1999 10:03:05 +0000 (10:03 +0000)]
(memrchr): Ifdef out this unused function.

25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 09:51:09 +0000 (09:51 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 09:46:14 +0000 (09:46 +0000)]
*** empty log message ***

25 years agoNew test case for Paul's 1999-06-03 fix.
Jim Meyering [Sun, 4 Jul 1999 09:46:07 +0000 (09:46 +0000)]
New test case for Paul's 1999-06-03 fix.

25 years ago(xfields): Only <blank>s separate fields, not <space>s.
Jim Meyering [Sun, 4 Jul 1999 09:40:46 +0000 (09:40 +0000)]
(xfields): Only <blank>s separate fields, not <space>s.

25 years ago.
Jim Meyering [Sun, 4 Jul 1999 09:37:57 +0000 (09:37 +0000)]
.

25 years agoUse lower case characters in sc{} context.
Jim Meyering [Sun, 4 Jul 1999 09:05:08 +0000 (09:05 +0000)]
Use lower case characters in sc{} context.
Reported by Eli Zaretskii.

25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 08:48:02 +0000 (08:48 +0000)]
*** empty log message ***

25 years ago(enum human_inexact_style): New enum.
Jim Meyering [Sun, 4 Jul 1999 08:47:49 +0000 (08:47 +0000)]
(enum human_inexact_style): New enum.
(human_readable_inexact): New decl.

25 years ago(human_readable): New function.
Jim Meyering [Sun, 4 Jul 1999 08:47:28 +0000 (08:47 +0000)]
(human_readable): New function.
(human_readable_inexact): Renamed from human_readable, with new arg
INEXACT_STYLE.  Add support for ceiling and floor.

25 years ago(print_header): Conform to POSIX if posix_format).
Jim Meyering [Sun, 4 Jul 1999 08:47:08 +0000 (08:47 +0000)]
(print_header): Conform to POSIX if posix_format).
(df_readable): Take ceiling if posix_format.
(ceil_percent): New function.
(show_dev): Take ceiling of percent if posix_format.
Align with POSIX-conforming header if posix_format.

25 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 1999 08:35:05 +0000 (08:35 +0000)]
*** empty log message ***