platform/upstream/coreutils.git
25 years ago(expand): Use binary I/O where appropriate.
Jim Meyering [Fri, 1 Jan 1999 22:27:36 +0000 (22:27 +0000)]
(expand): Use binary I/O where appropriate.

25 years ago(cksum) [O_BINARY]: Read redirected stdin in binary mode.
Jim Meyering [Fri, 1 Jan 1999 22:22:02 +0000 (22:22 +0000)]
(cksum) [O_BINARY]: Read redirected stdin in binary mode.

25 years ago(usage) [O_BINARY]: Describe -B,--binary option.
Jim Meyering [Fri, 1 Jan 1999 22:20:23 +0000 (22:20 +0000)]
(usage) [O_BINARY]: Describe -B,--binary option.
(main) [O_BINARY]: binary_files, binary_output, file_open_mode:
new variables.  Add --binary to long_options[].  Switch stdin and
stdout to binary mode unless file contents are not important
anyway.  Open files in binary mode when required.

25 years ago.
Jim Meyering [Fri, 1 Jan 1999 22:11:50 +0000 (22:11 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 21:56:21 +0000 (21:56 +0000)]
*** empty log message ***

25 years ago(parse_options): Use XARGCASEMATCH in place of argmatch.
Jim Meyering [Fri, 1 Jan 1999 21:47:08 +0000 (21:47 +0000)]
(parse_options): Use XARGCASEMATCH in place of argmatch.

25 years ago*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 19:31:43 +0000 (19:31 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 19:30:08 +0000 (19:30 +0000)]
*** empty log message ***

25 years agoRename globals N and R so they don't shadow locals.
Jim Meyering [Fri, 1 Jan 1999 19:29:31 +0000 (19:29 +0000)]
Rename globals N and R so they don't shadow locals.
(tsort): Rename from `sort'.

25 years agoremove trailing blanks
Jim Meyering [Fri, 1 Jan 1999 19:05:47 +0000 (19:05 +0000)]
remove trailing blanks

25 years agofrom Mark Kettenis
Jim Meyering [Fri, 1 Jan 1999 19:05:05 +0000 (19:05 +0000)]
from Mark Kettenis

25 years ago*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 17:43:50 +0000 (17:43 +0000)]
*** empty log message ***

25 years ago(quoting_style_vals): New public array.
Jim Meyering [Fri, 1 Jan 1999 17:43:10 +0000 (17:43 +0000)]
(quoting_style_vals): New public array.

25 years agoAdd comments.
Jim Meyering [Fri, 1 Jan 1999 17:40:08 +0000 (17:40 +0000)]
Add comments.
(xcalloc, xmalloc, xrealloc): Remove prototypes.
(calloc): Remove `#ifdef NOT_USED' that used to hide this function.

25 years agoAdd comments.
Jim Meyering [Fri, 1 Jan 1999 17:36:43 +0000 (17:36 +0000)]
Add comments.
(PARAMS, XMALLOC, XCALLOC, XREALLOC): Define.
Based on changes from Akim Demaille.

25 years agoremove leading _ from _ARGMATCH_H_
Jim Meyering [Fri, 1 Jan 1999 17:34:18 +0000 (17:34 +0000)]
remove leading _ from _ARGMATCH_H_

25 years ago*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 07:10:00 +0000 (07:10 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Fri, 1 Jan 1999 07:09:08 +0000 (07:09 +0000)]
.

25 years ago.
Jim Meyering [Fri, 1 Jan 1999 07:08:54 +0000 (07:08 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Fri, 1 Jan 1999 07:06:23 +0000 (07:06 +0000)]
*** empty log message ***

25 years ago(quotearg_n_options): Make `options' parameter be `const'.
Jim Meyering [Fri, 1 Jan 1999 07:03:16 +0000 (07:03 +0000)]
(quotearg_n_options): Make `options' parameter be `const'.

25 years ago(quotearg_buffer): Cast -1 to size_t before comparing.
Jim Meyering [Fri, 1 Jan 1999 07:02:16 +0000 (07:02 +0000)]
(quotearg_buffer): Cast -1 to size_t before comparing.
(quotearg_n): Change type of 1st parameter from int to unsigned int.
(quotearg_n_options): Likewise.
From Akim Demaille.

25 years ago(humblock): Use ARGMATCH in place of argmatch.
Jim Meyering [Fri, 1 Jan 1999 06:47:04 +0000 (06:47 +0000)]
(humblock): Use ARGMATCH in place of argmatch.

25 years ago(get_version): Use XARGCASEMATCH in place of argmatch & co.
Jim Meyering [Fri, 1 Jan 1999 06:43:04 +0000 (06:43 +0000)]
(get_version): Use XARGCASEMATCH in place of argmatch & co.

25 years ago.
Jim Meyering [Thu, 31 Dec 1998 23:24:08 +0000 (23:24 +0000)]
.

25 years ago(libfu_a_SOURCES): Remove strcasecmp.c.
Jim Meyering [Thu, 31 Dec 1998 22:03:13 +0000 (22:03 +0000)]
(libfu_a_SOURCES): Remove strcasecmp.c.
(BUILT_SOURCES): Add strcasecmp.c and strncasecmp.c.
(EXTRA_DIST): Add strcasecmp.cin.
(strcasecmp.c): New rule.
(strncasecmp.c): New rule.

25 years ago*** empty log message ***
Jim Meyering [Thu, 31 Dec 1998 21:59:58 +0000 (21:59 +0000)]
*** empty log message ***

25 years ago(main): Use XARGCASEMATCH in place of argmatch & co.
Jim Meyering [Thu, 31 Dec 1998 21:59:42 +0000 (21:59 +0000)]
(main):  Use XARGCASEMATCH in place of argmatch & co.

25 years ago(indicator_style_types): New variable.
Jim Meyering [Thu, 31 Dec 1998 21:49:36 +0000 (21:49 +0000)]
(indicator_style_types): New variable.
(format_types): Rename from `formats'.
(color_args): Remove unnecessary `no' string.
(color_types): Remove corresponding `color_never' entry.
(main): Use ARGMATCH_TO_ARGUMENT.
(decode_switches): Use ARGCASEMATCH instead of argmatch code
in each of several cases.
From Akim Demaille.

25 years ago(main): Use XARGCASEMATCH in place of argmatch & co.
Jim Meyering [Thu, 31 Dec 1998 21:41:04 +0000 (21:41 +0000)]
(main): Use XARGCASEMATCH in place of argmatch & co.

25 years agofix typo
Jim Meyering [Thu, 31 Dec 1998 18:12:40 +0000 (18:12 +0000)]
fix typo

25 years agowhite space changes
Jim Meyering [Thu, 31 Dec 1998 18:10:53 +0000 (18:10 +0000)]
white space changes

25 years ago(strncasecmp): Move to a separate file.
Jim Meyering [Thu, 31 Dec 1998 18:07:23 +0000 (18:07 +0000)]
(strncasecmp): Move to a separate file.
Add curly braces around some one-stmt-but-multiline blocks.

25 years ago*** empty log message ***
Jim Meyering [Thu, 31 Dec 1998 17:53:59 +0000 (17:53 +0000)]
*** empty log message ***

25 years agoremove trailing blanks
Jim Meyering [Thu, 31 Dec 1998 16:19:31 +0000 (16:19 +0000)]
remove trailing blanks

25 years agolots of changes from Akim Demaille.
Jim Meyering [Thu, 31 Dec 1998 16:18:46 +0000 (16:18 +0000)]
lots of changes from Akim Demaille.

25 years agolots of changes from Akim Demaille.
Jim Meyering [Thu, 31 Dec 1998 16:18:13 +0000 (16:18 +0000)]
lots of changes from Akim Demaille.

25 years ago(addext): Protoize.
Jim Meyering [Thu, 31 Dec 1998 14:56:20 +0000 (14:56 +0000)]
(addext): Protoize.
Indent cpp directives to match nesting.

25 years ago(posix_time_parse): Change type of index `i' from int to unsigned int.
Jim Meyering [Thu, 31 Dec 1998 14:53:16 +0000 (14:53 +0000)]
(posix_time_parse): Change type of index `i' from int to unsigned int.

25 years agoFix warnings from gcc -W -Wall
Jim Meyering [Thu, 31 Dec 1998 14:37:21 +0000 (14:37 +0000)]
Fix warnings from gcc -W -Wall
(__attribute__): Define.
(ATTRIBUTE_UNUSED): Define.
(yyerror): Mark parameter as unused with ATTRIBUTE_UNUSED.
(MonthDayTable): Add initializers for last entry.
(UnitsTable): Likewise.
(OtherTable): Likewise.
(MilitaryTable): Likewise.

25 years ago. FILEUTILS-4_1-b1
Jim Meyering [Tue, 22 Dec 1998 22:46:53 +0000 (22:46 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Tue, 22 Dec 1998 21:57:52 +0000 (21:57 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sun, 20 Dec 1998 13:50:13 +0000 (13:50 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sun, 20 Dec 1998 02:31:54 +0000 (02:31 +0000)]
*** empty log message ***

25 years agoUse absolute path for final rm.
Jim Meyering [Sun, 20 Dec 1998 02:31:47 +0000 (02:31 +0000)]
Use absolute path for final rm.

25 years agoremove .saved-state
Jim Meyering [Sat, 19 Dec 1998 21:07:32 +0000 (21:07 +0000)]
remove .saved-state

25 years ago*** empty log message ***
Jim Meyering [Sat, 19 Dec 1998 17:21:00 +0000 (17:21 +0000)]
*** empty log message ***

25 years agobreak long line
Jim Meyering [Sat, 19 Dec 1998 17:20:03 +0000 (17:20 +0000)]
break long line

25 years agobreak long line
Jim Meyering [Sat, 19 Dec 1998 17:19:13 +0000 (17:19 +0000)]
break long line

25 years agosplit long line
Jim Meyering [Sat, 19 Dec 1998 17:18:23 +0000 (17:18 +0000)]
split long line

25 years ago.
Jim Meyering [Sat, 19 Dec 1998 13:54:04 +0000 (13:54 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sat, 19 Dec 1998 13:53:37 +0000 (13:53 +0000)]
*** empty log message ***

25 years ago(my-distcheck): Run make with CFLAGS='-Wformat -Werror'.
Jim Meyering [Sat, 19 Dec 1998 13:53:21 +0000 (13:53 +0000)]
(my-distcheck): Run make with CFLAGS='-Wformat -Werror'.

25 years ago.
Jim Meyering [Fri, 18 Dec 1998 22:11:39 +0000 (22:11 +0000)]
.

25 years agoremove semicolon -- from Lars
Jim Meyering [Fri, 18 Dec 1998 15:32:54 +0000 (15:32 +0000)]
remove semicolon -- from Lars

25 years ago*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 15:32:29 +0000 (15:32 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:49:38 +0000 (14:49 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:49:30 +0000 (14:49 +0000)]
*** empty log message ***

25 years ago(Makefile.am): Simplify rule.
Jim Meyering [Fri, 18 Dec 1998 14:49:01 +0000 (14:49 +0000)]
(Makefile.am): Simplify rule.
Based on suggestion from Lars Hecking.

25 years ago*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:48:32 +0000 (14:48 +0000)]
*** empty log message ***

25 years ago(copy_internal): Remove errnoeous `%s: ' prefix
Jim Meyering [Fri, 18 Dec 1998 14:22:50 +0000 (14:22 +0000)]
(copy_internal): Remove errnoeous `%s: ' prefix
from format string.  From Michiel Bacchiani.

25 years ago*** empty log message ***
Jim Meyering [Fri, 18 Dec 1998 14:22:30 +0000 (14:22 +0000)]
*** empty log message ***

25 years ago(UID_T_MAX, GID_T_MAX): Define them here instead.
Jim Meyering [Fri, 18 Dec 1998 14:09:29 +0000 (14:09 +0000)]
(UID_T_MAX, GID_T_MAX): Define them here instead.

25 years ago(UID_T_MAX, GID_T_MAX): Remove definitions.
Jim Meyering [Fri, 18 Dec 1998 14:09:19 +0000 (14:09 +0000)]
(UID_T_MAX, GID_T_MAX): Remove definitions.

25 years ago(MAXGID): Define.
Jim Meyering [Fri, 18 Dec 1998 14:07:58 +0000 (14:07 +0000)]
(MAXGID): Define.
Use gid_t (not int) as the type for `group' variables.
(parse_group): Use MAXGID, not INT_MAX.

25 years agoNew options for tail: --follow=name, --follow=descriptor, --allow-missing
Jim Meyering [Thu, 17 Dec 1998 13:56:25 +0000 (13:56 +0000)]
New options for tail: --follow=name, --follow=descriptor, --allow-missing
(Follow_mode): New enum.
(n_live_files): New function.
(tail_forever): Avoid starvation with --follow=name and a
continually-growing unlinked or renamed file.

25 years agoimport latest
Jim Meyering [Wed, 16 Dec 1998 13:41:13 +0000 (13:41 +0000)]
import latest

25 years agoadd comment about opening exclusively
Jim Meyering [Sun, 13 Dec 1998 19:26:35 +0000 (19:26 +0000)]
add comment about opening exclusively

25 years ago.
Jim Meyering [Sun, 13 Dec 1998 19:19:07 +0000 (19:19 +0000)]
.

25 years ago.
Jim Meyering [Sun, 13 Dec 1998 19:01:59 +0000 (19:01 +0000)]
.

25 years agoDon't include stdlib.h and declare malloc and free.
Jim Meyering [Sun, 13 Dec 1998 18:04:11 +0000 (18:04 +0000)]
Don't include stdlib.h and declare malloc and free.
This works around Solaris 2.7's conflicting prototype.
Reported by Karl Berry.

25 years ago(EXTRA_DIST): Add xstat.in.
Jim Meyering [Sun, 13 Dec 1998 17:19:51 +0000 (17:19 +0000)]
(EXTRA_DIST): Add xstat.in.

25 years ago.
Jim Meyering [Sat, 12 Dec 1998 06:22:56 +0000 (06:22 +0000)]
.

25 years agoIn order to distinguish col(umn|or):
Jim Meyering [Sat, 12 Dec 1998 06:20:42 +0000 (06:20 +0000)]
In order to distinguish col(umn|or):
(init_column_info): Renamed from init_col_info.
(struct column_info): Renamed from struct col_info.
(struct color_ext_type): Renamed from struct col_ext_type.
From Akim Demaille.

25 years ago* src/ls.c: Group DIRED's code together.
Jim Meyering [Sat, 12 Dec 1998 06:11:24 +0000 (06:11 +0000)]
* src/ls.c: Group DIRED's code together.
(full_time, inhibit_group, col_ext_type): Declare static.
(dired_dump_obstack): Apply sizeof to variable, instead of its type.
(parse_ls_color): Rename ext2 as e2.  Move into the block where it is used.
From Akim Demaille.

25 years ago.
Jim Meyering [Sat, 12 Dec 1998 05:48:25 +0000 (05:48 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Sat, 12 Dec 1998 05:46:44 +0000 (05:46 +0000)]
*** empty log message ***

25 years ago(lstat.c): Add rule to generate this from xstat.in.
Jim Meyering [Sat, 12 Dec 1998 05:46:02 +0000 (05:46 +0000)]
(lstat.c): Add rule to generate this from xstat.in.
(stat.c): Likewise.

25 years ago*** empty log message ***
Jim Meyering [Sat, 12 Dec 1998 05:45:39 +0000 (05:45 +0000)]
*** empty log message ***

25 years ago.
Jim Meyering [Sat, 12 Dec 1998 05:45:29 +0000 (05:45 +0000)]
.

25 years ago(quotearg_buffer): Use `7' as the mask, not `3'.
Jim Meyering [Fri, 11 Dec 1998 14:14:16 +0000 (14:14 +0000)]
(quotearg_buffer): Use `7' as the mask, not `3'.
From Bruno Haible.

25 years ago*** empty log message ***
Jim Meyering [Fri, 11 Dec 1998 14:13:40 +0000 (14:13 +0000)]
*** empty log message ***

25 years agoAdd a test for the quotearg_buffer bug.
Jim Meyering [Fri, 11 Dec 1998 14:13:29 +0000 (14:13 +0000)]
Add a test for the quotearg_buffer bug.

25 years ago*** empty log message ***
Jim Meyering [Fri, 11 Dec 1998 13:47:28 +0000 (13:47 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Fri, 11 Dec 1998 13:39:42 +0000 (13:39 +0000)]
*** empty log message ***

25 years ago(main): Arrange to exit unsuccessfully when stime fails.
Jim Meyering [Fri, 11 Dec 1998 13:37:52 +0000 (13:37 +0000)]
(main): Arrange to exit unsuccessfully when stime fails.
From Andreas Schwab.

25 years agoimport version 1.006
Jim Meyering [Fri, 11 Dec 1998 13:34:23 +0000 (13:34 +0000)]
import version 1.006

25 years ago.
Jim Meyering [Mon, 7 Dec 1998 06:26:12 +0000 (06:26 +0000)]
.

25 years ago(dir_name): Rename from dirname.
Jim Meyering [Mon, 7 Dec 1998 06:25:54 +0000 (06:25 +0000)]
(dir_name): Rename from dirname.
Make argument `const'.  Include "dirname.h"

25 years ago(noinst_HEADERS): Add dirname.h.
Jim Meyering [Mon, 7 Dec 1998 06:25:29 +0000 (06:25 +0000)]
(noinst_HEADERS): Add dirname.h.

25 years ago.
Jim Meyering [Mon, 7 Dec 1998 06:24:28 +0000 (06:24 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 06:21:12 +0000 (06:21 +0000)]
*** empty log message ***

25 years agoUse dir_name, not dirname. Include dirname.h.
Jim Meyering [Mon, 7 Dec 1998 06:20:50 +0000 (06:20 +0000)]
Use dir_name, not dirname.  Include dirname.h.

25 years ago.
Jim Meyering [Mon, 7 Dec 1998 05:54:49 +0000 (05:54 +0000)]
.

25 years ago*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 05:54:29 +0000 (05:54 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 05:18:06 +0000 (05:18 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 05:14:42 +0000 (05:14 +0000)]
*** empty log message ***

25 years ago(rpmatch) [!ENABLE_NLS]: Hard-code tests to use `^[yY]' and `^[nN]'.
Jim Meyering [Mon, 7 Dec 1998 05:14:07 +0000 (05:14 +0000)]
(rpmatch) [!ENABLE_NLS]: Hard-code tests to use `^[yY]' and `^[nN]'.
From Karl Heuer.

25 years ago*** empty log message ***
Jim Meyering [Mon, 7 Dec 1998 05:12:48 +0000 (05:12 +0000)]
*** empty log message ***

25 years agodeclare base_name
Jim Meyering [Mon, 7 Dec 1998 04:35:20 +0000 (04:35 +0000)]
declare base_name