Jim Meyering [Tue, 12 Mar 1996 04:14:47 +0000 (04:14 +0000)]
.
Jim Meyering [Tue, 12 Mar 1996 04:02:07 +0000 (04:02 +0000)]
[_]: Don't define this away.
Jim Meyering [Tue, 12 Mar 1996 04:01:04 +0000 (04:01 +0000)]
.
Jim Meyering [Tue, 12 Mar 1996 03:58:25 +0000 (03:58 +0000)]
(max_backup_version): Declare file_name_length to be of type size_t.
Jim Meyering [Tue, 12 Mar 1996 03:35:21 +0000 (03:35 +0000)]
.
Jim Meyering [Tue, 12 Mar 1996 03:29:57 +0000 (03:29 +0000)]
.
Jim Meyering [Tue, 12 Mar 1996 03:08:30 +0000 (03:08 +0000)]
(main): Initialize for internationalized message support: call setlocale,
bindtextdomain, and textdomain.
Jim Meyering [Tue, 12 Mar 1996 03:06:47 +0000 (03:06 +0000)]
Add definitions and includes for NLS.
Jim Meyering [Mon, 11 Mar 1996 22:07:30 +0000 (22:07 +0000)]
.
Jim Meyering [Mon, 11 Mar 1996 22:07:21 +0000 (22:07 +0000)]
(write_bytes): Renamed from xfwrite.
Remove SIZE parameter. It was always 1.
Update all callers.
Rename NELEM parameter to N_BYTES and change its type to size_t.
Jim Meyering [Sun, 10 Mar 1996 05:00:20 +0000 (05:00 +0000)]
Merge changes from FSF.
Jim Meyering [Sat, 9 Mar 1996 20:26:12 +0000 (20:26 +0000)]
.
Jim Meyering [Sat, 9 Mar 1996 20:25:29 +0000 (20:25 +0000)]
(star_digits_closebracket): Declare formal param, IDX, and local I to
be of type size_t (rather than int) to avoid warnings from gcc -Wall.
Jim Meyering [Sat, 9 Mar 1996 20:24:01 +0000 (20:24 +0000)]
(memcasecmp): Declare local I to be unsigned to avoid warning from gcc -Wall.
Jim Meyering [Sat, 9 Mar 1996 20:19:13 +0000 (20:19 +0000)]
(main): Initialize for internationalized message support: call setlocale,
bindtextdomain, and textdomain.
Jim Meyering [Sat, 9 Mar 1996 20:17:53 +0000 (20:17 +0000)]
.
Jim Meyering [Sat, 9 Mar 1996 17:53:59 +0000 (17:53 +0000)]
Use /usr/bin/perl.
Remove unused $test.
Jim Meyering [Sat, 9 Mar 1996 17:53:18 +0000 (17:53 +0000)]
Change some more " to '.
Jim Meyering [Sat, 9 Mar 1996 17:50:59 +0000 (17:50 +0000)]
Fix for perl5 (there were % inside double-quoted strings).
Change a lot of "" to ''.
Jim Meyering [Sat, 9 Mar 1996 04:59:22 +0000 (04:59 +0000)]
(copy): Comment change to avoid overwriting source with backup.
Jim Meyering [Fri, 8 Mar 1996 02:26:21 +0000 (02:26 +0000)]
.
Jim Meyering [Fri, 8 Mar 1996 02:25:40 +0000 (02:25 +0000)]
(main): Tell read_filesystem_list that it should determine file system type
when the user specifies --print-type or -T. From Michael Rendell
<michael@cs.mun.ca>
Jim Meyering [Thu, 7 Mar 1996 03:41:22 +0000 (03:41 +0000)]
(print_entry): Use STRUCT_UTMP, not `struct utmp'.
Jim Meyering [Thu, 7 Mar 1996 03:41:11 +0000 (03:41 +0000)]
.
Jim Meyering [Wed, 6 Mar 1996 05:13:10 +0000 (05:13 +0000)]
.
Jim Meyering [Wed, 6 Mar 1996 05:10:30 +0000 (05:10 +0000)]
.
Jim Meyering [Wed, 6 Mar 1996 05:04:05 +0000 (05:04 +0000)]
(usage): Reorder --time and --help so --help is the latter (just
before --version) to be consistent with other usage functions.
Jim Meyering [Wed, 6 Mar 1996 04:57:01 +0000 (04:57 +0000)]
(RelativeMonth): Add 1900 to the year so that relative date specs
that push the year through the end of the century work. For example,
`date -d "01/01/1998 3 years" +%Y' now prints 2001.
From Peter Dalgaard (pd@kubism.ku.dk).
Jim Meyering [Wed, 6 Mar 1996 04:50:26 +0000 (04:50 +0000)]
.
Jim Meyering [Tue, 5 Mar 1996 05:47:09 +0000 (05:47 +0000)]
.
Jim Meyering [Tue, 5 Mar 1996 05:47:04 +0000 (05:47 +0000)]
(main): Exit after processing --version.
Jim Meyering [Sat, 2 Mar 1996 05:46:23 +0000 (05:46 +0000)]
.
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>.
Jim Meyering [Sat, 2 Mar 1996 03:42:56 +0000 (03:42 +0000)]
Document sort -z. From eichin@cygnus.com.
Jim Meyering [Sat, 2 Mar 1996 03:00:54 +0000 (03:00 +0000)]
.
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.
Jim Meyering [Thu, 29 Feb 1996 05:19:24 +0000 (05:19 +0000)]
.
Jim Meyering [Thu, 29 Feb 1996 05:10:23 +0000 (05:10 +0000)]
.
Jim Meyering [Thu, 29 Feb 1996 05:09:45 +0000 (05:09 +0000)]
.
Jim Meyering [Thu, 29 Feb 1996 05:09:32 +0000 (05:09 +0000)]
.
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.
Jim Meyering [Thu, 29 Feb 1996 03:08:29 +0000 (03:08 +0000)]
.
Jim Meyering [Thu, 29 Feb 1996 03:06:42 +0000 (03:06 +0000)]
.
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.
Jim Meyering [Thu, 29 Feb 1996 02:55:04 +0000 (02:55 +0000)]
.
Jim Meyering [Thu, 29 Feb 1996 02:53:42 +0000 (02:53 +0000)]
.
Jim Meyering [Thu, 29 Feb 1996 02:53:37 +0000 (02:53 +0000)]
(eval6): Cast strlen to int to avoid warning from gcc -Wall.
Jim Meyering [Thu, 29 Feb 1996 02:33:57 +0000 (02:33 +0000)]
.
Jim Meyering [Thu, 29 Feb 1996 02:27:43 +0000 (02:27 +0000)]
.
Jim Meyering [Thu, 29 Feb 1996 02:14:16 +0000 (02:14 +0000)]
Use @sc{} around POSIX and POSIX.2.
Jim Meyering [Wed, 28 Feb 1996 05:14:04 +0000 (05:14 +0000)]
.
Jim Meyering [Wed, 28 Feb 1996 05:11:50 +0000 (05:11 +0000)]
.
Jim Meyering [Wed, 28 Feb 1996 05:10:05 +0000 (05:10 +0000)]
Adapt for automake-0.30.
(noinst_HEADERS): Rename from HEADERS.
Jim Meyering [Wed, 28 Feb 1996 05:05:21 +0000 (05:05 +0000)]
.
Jim Meyering [Tue, 27 Feb 1996 03:57:49 +0000 (03:57 +0000)]
Revert last change. Comment didn't add anything.
Jim Meyering [Tue, 27 Feb 1996 03:33:23 +0000 (03:33 +0000)]
Elaborate comment.
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.
Jim Meyering [Tue, 27 Feb 1996 03:24:07 +0000 (03:24 +0000)]
.
Jim Meyering [Mon, 26 Feb 1996 04:20:07 +0000 (04:20 +0000)]
.
Jim Meyering [Sun, 25 Feb 1996 12:55:48 +0000 (12:55 +0000)]
.
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.
Jim Meyering [Sat, 24 Feb 1996 18:30:46 +0000 (18:30 +0000)]
Unprotoize.
Jim Meyering [Sat, 24 Feb 1996 18:29:11 +0000 (18:29 +0000)]
.
Jim Meyering [Sat, 24 Feb 1996 18:27:11 +0000 (18:27 +0000)]
__P-protect forward declarations.
(main): Protoize function definition.
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.
Jim Meyering [Fri, 23 Feb 1996 16:29:43 +0000 (16:29 +0000)]
.
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.
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.
Jim Meyering [Fri, 23 Feb 1996 16:12:01 +0000 (16:12 +0000)]
(print_entry): Use strchr, not index.
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.
Jim Meyering [Fri, 23 Feb 1996 14:40:13 +0000 (14:40 +0000)]
.
Jim Meyering [Fri, 23 Feb 1996 14:37:47 +0000 (14:37 +0000)]
.
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).
Jim Meyering [Thu, 22 Feb 1996 00:57:24 +0000 (00:57 +0000)]
.
Jim Meyering [Thu, 22 Feb 1996 00:56:40 +0000 (00:56 +0000)]
.
Jim Meyering [Wed, 21 Feb 1996 19:53:35 +0000 (19:53 +0000)]
.
Jim Meyering [Tue, 20 Feb 1996 02:33:14 +0000 (02:33 +0000)]
.
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>.
Jim Meyering [Sun, 18 Feb 1996 18:07:36 +0000 (18:07 +0000)]
.
Jim Meyering [Sun, 18 Feb 1996 17:58:01 +0000 (17:58 +0000)]
(join): Describe new --ignore-case (-i) option.
Jim Meyering [Sun, 18 Feb 1996 04:11:40 +0000 (04:11 +0000)]
.
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>.
Jim Meyering [Sat, 17 Feb 1996 03:45:17 +0000 (03:45 +0000)]
.
Jim Meyering [Sat, 17 Feb 1996 03:42:26 +0000 (03:42 +0000)]
Mark a few error strings for translation.
From Franc,ois Pinard.
Jim Meyering [Fri, 16 Feb 1996 05:16:46 +0000 (05:16 +0000)]
.
Jim Meyering [Fri, 16 Feb 1996 05:15:26 +0000 (05:15 +0000)]
.
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>.
Jim Meyering [Fri, 16 Feb 1996 03:30:58 +0000 (03:30 +0000)]
.
Jim Meyering [Wed, 14 Feb 1996 05:49:26 +0000 (05:49 +0000)]
.
Jim Meyering [Wed, 14 Feb 1996 05:48:48 +0000 (05:48 +0000)]
(main): When failing because there were `too many arguments,' say so.
Jim Meyering [Tue, 13 Feb 1996 05:37:09 +0000 (05:37 +0000)]
.
Jim Meyering [Tue, 13 Feb 1996 05:31:19 +0000 (05:31 +0000)]
.
Jim Meyering [Tue, 13 Feb 1996 05:30:27 +0000 (05:30 +0000)]
.
Jim Meyering [Tue, 13 Feb 1996 05:28:38 +0000 (05:28 +0000)]
Be careful to always return something.
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).
Jim Meyering [Tue, 13 Feb 1996 05:24:05 +0000 (05:24 +0000)]
.
Jim Meyering [Tue, 13 Feb 1996 05:23:35 +0000 (05:23 +0000)]
.
Jim Meyering [Tue, 13 Feb 1996 05:22:15 +0000 (05:22 +0000)]
.
Jim Meyering [Tue, 13 Feb 1996 05:21:44 +0000 (05:21 +0000)]
(info_TEXINFOS): Renamed from TEXINFOS.
Jim Meyering [Tue, 13 Feb 1996 05:21:12 +0000 (05:21 +0000)]
(CONFIG_HEADER): Don't define. Automake now does it.