platform/upstream/coreutils.git
28 years ago(WINDOWS_SETFILEMODE_BINARY): New macro.
Jim Meyering [Sat, 2 Mar 1996 05:45:45 +0000 (05:45 +0000)]
(WINDOWS_SETFILEMODE_BINARY): New macro.
(skip) [_WIN32 && _O_BINARY]: Use it.
(read_char): Likewise.
(read_block): Likewise.
Based on changes by Gary Newman <gnewman@shore.net>.

28 years agoDocument sort -z. From eichin@cygnus.com.
Jim Meyering [Sat, 2 Mar 1996 03:42:56 +0000 (03:42 +0000)]
Document sort -z.  From eichin@cygnus.com.

28 years ago.
Jim Meyering [Sat, 2 Mar 1996 03:00:54 +0000 (03:00 +0000)]
.

28 years ago(docolon): Don't use deceptively-named RE_SYNTAX_POSIX_BASIC -- it recognizes
Jim Meyering [Sat, 2 Mar 1996 02:45:20 +0000 (02:45 +0000)]
(docolon): Don't use deceptively-named RE_SYNTAX_POSIX_BASIC -- it recognizes
non-BRE \?, \+, and \|.  Instead, use RE_SYNTAX_POSIX_MINIMAL_BASIC.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 05:19:24 +0000 (05:19 +0000)]
.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 05:10:23 +0000 (05:10 +0000)]
.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 05:09:45 +0000 (05:09 +0000)]
.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 05:09:32 +0000 (05:09 +0000)]
.

28 years agoGeneral cleanup. Use xstrtoul, not atoi.
Jim Meyering [Thu, 29 Feb 1996 05:07:34 +0000 (05:07 +0000)]
General cleanup.  Use xstrtoul, not atoi.
Change output format.  Allow inputs as large as ULONG_MAX.
Allow more than one command line argument.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 03:08:29 +0000 (03:08 +0000)]
.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 03:06:42 +0000 (03:06 +0000)]
.

28 years ago(wrapf) [!__STDC__]: Indent by one space the first line of the pre-ANSI
Jim Meyering [Thu, 29 Feb 1996 03:06:10 +0000 (03:06 +0000)]
(wrapf) [!__STDC__]: Indent by one space the first line of the pre-ANSI
function definition so ansi2knr doesn't munge it.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 02:55:04 +0000 (02:55 +0000)]
.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 02:53:42 +0000 (02:53 +0000)]
.

28 years ago(eval6): Cast strlen to int to avoid warning from gcc -Wall.
Jim Meyering [Thu, 29 Feb 1996 02:53:37 +0000 (02:53 +0000)]
(eval6): Cast strlen to int to avoid warning from gcc -Wall.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 02:33:57 +0000 (02:33 +0000)]
.

28 years ago.
Jim Meyering [Thu, 29 Feb 1996 02:27:43 +0000 (02:27 +0000)]
.

28 years agoUse @sc{} around POSIX and POSIX.2.
Jim Meyering [Thu, 29 Feb 1996 02:14:16 +0000 (02:14 +0000)]
Use @sc{} around POSIX and POSIX.2.

28 years ago.
Jim Meyering [Wed, 28 Feb 1996 05:14:04 +0000 (05:14 +0000)]
.

28 years ago.
Jim Meyering [Wed, 28 Feb 1996 05:11:50 +0000 (05:11 +0000)]
.

28 years agoAdapt for automake-0.30.
Jim Meyering [Wed, 28 Feb 1996 05:10:05 +0000 (05:10 +0000)]
Adapt for automake-0.30.
(noinst_HEADERS): Rename from HEADERS.

28 years ago.
Jim Meyering [Wed, 28 Feb 1996 05:05:21 +0000 (05:05 +0000)]
.

28 years agoRevert last change. Comment didn't add anything.
Jim Meyering [Tue, 27 Feb 1996 03:57:49 +0000 (03:57 +0000)]
Revert last change.  Comment didn't add anything.

28 years agoElaborate comment.
Jim Meyering [Tue, 27 Feb 1996 03:33:23 +0000 (03:33 +0000)]
Elaborate comment.

28 years ago(copy): Remove bogus (now that we're using full_write) increment of w_partial.
Jim Meyering [Tue, 27 Feb 1996 03:24:31 +0000 (03:24 +0000)]
(copy): Remove bogus (now that we're using full_write) increment of w_partial.
Change sense of the tests (though they're equivalent) that check
the value returned by full_write. making it clearer where errno
is valid.  full_write always writes the full amount or fails.

28 years ago.
Jim Meyering [Tue, 27 Feb 1996 03:24:07 +0000 (03:24 +0000)]
.

28 years ago.
Jim Meyering [Mon, 26 Feb 1996 04:20:07 +0000 (04:20 +0000)]
.

28 years ago.
Jim Meyering [Sun, 25 Feb 1996 12:55:48 +0000 (12:55 +0000)]
.

28 years ago(batch_convert): Put `' around filename in error in case it's empty.
Jim Meyering [Sun, 25 Feb 1996 05:31:26 +0000 (05:31 +0000)]
(batch_convert): Put `' around filename in error in case it's empty.

28 years agoUnprotoize.
Jim Meyering [Sat, 24 Feb 1996 18:30:46 +0000 (18:30 +0000)]
Unprotoize.

28 years ago.
Jim Meyering [Sat, 24 Feb 1996 18:29:11 +0000 (18:29 +0000)]
.

28 years ago__P-protect forward declarations.
Jim Meyering [Sat, 24 Feb 1996 18:27:11 +0000 (18:27 +0000)]
__P-protect forward declarations.
(main): Protoize function definition.

28 years ago(cmpf): Indent macro uses so ansi2knr doesn't mistake them
Jim Meyering [Sat, 24 Feb 1996 18:25:29 +0000 (18:25 +0000)]
(cmpf): Indent macro uses so ansi2knr doesn't mistake them
for function dcls and munge them.
(arithf): Likewise.
(arithdivf): Likewise.

28 years ago.
Jim Meyering [Fri, 23 Feb 1996 16:29:43 +0000 (16:29 +0000)]
.

28 years ago[HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for definition of AF_INET
Jim Meyering [Fri, 23 Feb 1996 16:14:27 +0000 (16:14 +0000)]
[HAVE_SYS_SOCKET_H]: Include <sys/socket.h> for definition of AF_INET
on at least SunOS 4.

28 years ago(docolon): Set re_syntax_options to RE_SYNTAX_POSIX_BASIC
Jim Meyering [Fri, 23 Feb 1996 16:13:53 +0000 (16:13 +0000)]
(docolon): Set re_syntax_options to RE_SYNTAX_POSIX_BASIC
so expr's pattern matching uses BASIC (not GNU-extended) REs.
Reported by Jim Kingdon.

28 years ago(print_entry): Use strchr, not index.
Jim Meyering [Fri, 23 Feb 1996 16:12:01 +0000 (16:12 +0000)]
(print_entry): Use strchr, not index.

28 years ago(batch_convert): Declare BUFLEN local to be of type size_t, not int.
Jim Meyering [Fri, 23 Feb 1996 16:11:14 +0000 (16:11 +0000)]
(batch_convert): Declare BUFLEN local to be of type size_t, not int.

28 years ago.
Jim Meyering [Fri, 23 Feb 1996 14:40:13 +0000 (14:40 +0000)]
.

28 years ago.
Jim Meyering [Fri, 23 Feb 1996 14:37:47 +0000 (14:37 +0000)]
.

28 years ago(xfields) [without -t]: Ignore leading blanks.
Jim Meyering [Thu, 22 Feb 1996 00:58:12 +0000 (00:58 +0000)]
(xfields) [without -t]: Ignore leading blanks.
From David Dyck (dcd@tc.fluke.COM).

28 years ago.
Jim Meyering [Thu, 22 Feb 1996 00:57:24 +0000 (00:57 +0000)]
.

28 years ago.
Jim Meyering [Thu, 22 Feb 1996 00:56:40 +0000 (00:56 +0000)]
.

28 years ago.
Jim Meyering [Wed, 21 Feb 1996 19:53:35 +0000 (19:53 +0000)]
.

28 years ago.
Jim Meyering [Tue, 20 Feb 1996 02:33:14 +0000 (02:33 +0000)]
.

28 years ago[TOLOWER]: Define.
Jim Meyering [Sun, 18 Feb 1996 18:08:01 +0000 (18:08 +0000)]
[TOLOWER]: Define.
(usage): Briefly describe new --ignore-case (-i) option.
(memcasecmp): New function.
(main): Set IGNORE_CASE for -i.
(keycmp): Compare with memcasecmp if IGNORE_CASE is set.
Suggestion and an initial patch from Alberto Accomazzi
<alberto@cfa0.harvard.edu>.

28 years ago.
Jim Meyering [Sun, 18 Feb 1996 18:07:36 +0000 (18:07 +0000)]
.

28 years ago(join): Describe new --ignore-case (-i) option.
Jim Meyering [Sun, 18 Feb 1996 17:58:01 +0000 (17:58 +0000)]
(join): Describe new --ignore-case (-i) option.

28 years ago.
Jim Meyering [Sun, 18 Feb 1996 04:11:40 +0000 (04:11 +0000)]
.

28 years agoAdd -z option. Change all occurrences of '\n' to `eolchar'.
Jim Meyering [Sun, 18 Feb 1996 00:55:08 +0000 (00:55 +0000)]
Add -z option.  Change all occurrences of '\n' to `eolchar'.
(usage): Describe it.
(main): Set eolchar to 0 for -z.
From Mark W. Eichin <eichin@cygnus.com>.

28 years ago.
Jim Meyering [Sat, 17 Feb 1996 03:45:17 +0000 (03:45 +0000)]
.

28 years agoMark a few error strings for translation.
Jim Meyering [Sat, 17 Feb 1996 03:42:26 +0000 (03:42 +0000)]
Mark a few error strings for translation.
From Franc,ois Pinard.

28 years ago.
Jim Meyering [Fri, 16 Feb 1996 05:16:46 +0000 (05:16 +0000)]
.

28 years ago.
Jim Meyering [Fri, 16 Feb 1996 05:15:26 +0000 (05:15 +0000)]
.

28 years ago(copy): Detect (and fail) when creating backup file would destroy source.
Jim Meyering [Fri, 16 Feb 1996 05:08:04 +0000 (05:08 +0000)]
(copy): Detect (and fail) when creating backup file would destroy source.
Reported by Martin C. Martin <mcm@cs.cmu.edu>.

28 years ago.
Jim Meyering [Fri, 16 Feb 1996 03:30:58 +0000 (03:30 +0000)]
.

28 years ago.
Jim Meyering [Wed, 14 Feb 1996 05:49:26 +0000 (05:49 +0000)]
.

28 years ago(main): When failing because there were `too many arguments,' say so.
Jim Meyering [Wed, 14 Feb 1996 05:48:48 +0000 (05:48 +0000)]
(main): When failing because there were `too many arguments,' say so.

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 05:37:09 +0000 (05:37 +0000)]
.

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 05:31:19 +0000 (05:31 +0000)]
.

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 05:30:27 +0000 (05:30 +0000)]
.

28 years agoBe careful to always return something.
Jim Meyering [Tue, 13 Feb 1996 05:28:38 +0000 (05:28 +0000)]
Be careful to always return something.

28 years ago(print_entry): If possible, canonicalize the host hame.
Jim Meyering [Tue, 13 Feb 1996 05:27:16 +0000 (05:27 +0000)]
(print_entry): If possible, canonicalize the host hame.
From Miles Bader (miles@gnu.ai.mit.edu).

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 05:24:05 +0000 (05:24 +0000)]
.

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 05:23:35 +0000 (05:23 +0000)]
.

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 05:22:15 +0000 (05:22 +0000)]
.

28 years ago(info_TEXINFOS): Renamed from TEXINFOS.
Jim Meyering [Tue, 13 Feb 1996 05:21:44 +0000 (05:21 +0000)]
(info_TEXINFOS): Renamed from TEXINFOS.

28 years ago(CONFIG_HEADER): Don't define. Automake now does it.
Jim Meyering [Tue, 13 Feb 1996 05:21:12 +0000 (05:21 +0000)]
(CONFIG_HEADER): Don't define.  Automake now does it.

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 05:17:50 +0000 (05:17 +0000)]
.

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 03:24:52 +0000 (03:24 +0000)]
.

28 years ago[.TRUE]: Undefine before defining.
Jim Meyering [Tue, 13 Feb 1996 03:12:52 +0000 (03:12 +0000)]
[.TRUE]: Undefine before defining.
[FALSE]: Undefine before defining.
From Derek Clegg (dclegg@next.com).

28 years ago.
Jim Meyering [Tue, 13 Feb 1996 03:12:38 +0000 (03:12 +0000)]
.

28 years ago(canon_host): Cast returned he->h_name to char*.
Jim Meyering [Sun, 4 Feb 1996 13:22:22 +0000 (13:22 +0000)]
(canon_host): Cast returned he->h_name to char*.

28 years ago.
Jim Meyering [Sun, 4 Feb 1996 12:47:33 +0000 (12:47 +0000)]
.

28 years ago. TEXTUTILS-1_14
Jim Meyering [Sat, 3 Feb 1996 22:20:54 +0000 (22:20 +0000)]
.

28 years ago.
Jim Meyering [Sat, 3 Feb 1996 03:24:22 +0000 (03:24 +0000)]
.

28 years ago(main): Decalare local, BS.
Jim Meyering [Thu, 1 Feb 1996 06:16:57 +0000 (06:16 +0000)]
(main): Decalare local, BS.

28 years ago.
Jim Meyering [Thu, 1 Feb 1996 06:14:18 +0000 (06:14 +0000)]
.

28 years ago__P-protect dcls.
Jim Meyering [Thu, 1 Feb 1996 06:13:54 +0000 (06:13 +0000)]
__P-protect dcls.

28 years ago.
Jim Meyering [Thu, 1 Feb 1996 06:11:41 +0000 (06:11 +0000)]
.

28 years ago.
Jim Meyering [Thu, 1 Feb 1996 06:10:10 +0000 (06:10 +0000)]
.

28 years ago(main): Accept new option, --rfc-822 (-R).
Jim Meyering [Thu, 1 Feb 1996 05:44:59 +0000 (05:44 +0000)]
(main): Accept new option, --rfc-822 (-R).
(show_date): Use RFC822-mandated strftime format.
From H. Peter Anvin (hpa@storm.net).
(usage): Add a line describing the new option.

28 years ago.
Jim Meyering [Thu, 1 Feb 1996 05:44:38 +0000 (05:44 +0000)]
.

28 years ago(add_num_tz): New function.
Jim Meyering [Thu, 1 Feb 1996 05:40:32 +0000 (05:40 +0000)]
(add_num_tz): New function.
(strftime): Handle new %z format.
From H. Peter Anvin (hpa@storm.net).
Don't use local, LENGTH, before it's defined.

28 years ago(main): New options --human-readable (-h) and --megabytes (-m).
Jim Meyering [Thu, 1 Feb 1996 05:30:14 +0000 (05:30 +0000)]
(main): New options --human-readable (-h) and --megabytes (-m).
(human_readable_1k_blocks): New function.
(print_header): Honor new options.
(show_dev): Honor new options.
Add ifdef'd-out code to avoid printing lines for mount points that
match ^/auto/.* and ^/tmp_mnt.*.  Rather than hard-coding those
two prefixes, the code should allow the user to specify a regular
expression.  From Larry McVoy (lm@sgi.com).

(human_readable_1k_blocks): Likewise
(usage): Update usage message to reflect additions.

28 years ago.
Jim Meyering [Thu, 1 Feb 1996 05:29:26 +0000 (05:29 +0000)]
.

28 years ago.
Jim Meyering [Thu, 1 Feb 1996 05:26:35 +0000 (05:26 +0000)]
.

28 years ago(dump_remainder): Flush stdout when tailing-forever on multiple files.
Jim Meyering [Thu, 1 Feb 1996 05:25:54 +0000 (05:25 +0000)]
(dump_remainder): Flush stdout when tailing-forever on multiple files.
From Carlos Canau <Carlos.Canau@relay.puug.pt>.

28 years ago.
Jim Meyering [Thu, 1 Feb 1996 05:22:08 +0000 (05:22 +0000)]
.

28 years ago.
Jim Meyering [Thu, 1 Feb 1996 04:22:48 +0000 (04:22 +0000)]
.

28 years agoRemove comma after last item in enum.
Jim Meyering [Thu, 1 Feb 1996 04:13:26 +0000 (04:13 +0000)]
Remove comma after last item in enum.
(human_readable): Fix off-by-one error that converted
1024*1024 to 1024K rather than 1G.  Describe the function.

28 years ago(skip): Change type of parameter #5 from char* to unsigned char* to match
Jim Meyering [Thu, 1 Feb 1996 03:50:06 +0000 (03:50 +0000)]
(skip): Change type of parameter #5 from char* to unsigned char* to match
type of argument.
(copy): Cast first arg in memset call to char* to avoid warnings from
SunOS's acc.
(copy_simple): Likewise.

28 years ago(getdate.c, posixtm.c): Add rules for building these.
Jim Meyering [Thu, 1 Feb 1996 03:43:49 +0000 (03:43 +0000)]
(getdate.c, posixtm.c): Add rules for building these.

28 years ago(DIST_OTHER): Add perm.texi and getdate.texi. Remove mdate-sh.
Jim Meyering [Thu, 1 Feb 1996 03:42:56 +0000 (03:42 +0000)]
(DIST_OTHER): Add perm.texi and getdate.texi.  Remove mdate-sh.

28 years ago.
Jim Meyering [Wed, 31 Jan 1996 17:01:05 +0000 (17:01 +0000)]
.

28 years ago.
Jim Meyering [Wed, 31 Jan 1996 14:53:02 +0000 (14:53 +0000)]
.

28 years ago.
Jim Meyering [Tue, 30 Jan 1996 01:27:32 +0000 (01:27 +0000)]
.

28 years ago.
Jim Meyering [Fri, 26 Jan 1996 05:25:09 +0000 (05:25 +0000)]
.

28 years ago.
Jim Meyering [Thu, 25 Jan 1996 12:00:18 +0000 (12:00 +0000)]
.

28 years agoTweak usage.
Jim Meyering [Sat, 20 Jan 1996 14:27:56 +0000 (14:27 +0000)]
Tweak usage.