Jim Meyering [Thu, 7 May 1998 17:45:10 +0000 (17:45 +0000)]
fix up compile warnings
Jim Meyering [Thu, 7 May 1998 17:43:13 +0000 (17:43 +0000)]
Don't use safe_read. Use fread instead.
Fix open and fdopen to agree that file is read/write: O_RDWR and "w+".
This is required on at least solaris5.5.1.
Jim Meyering [Thu, 7 May 1998 16:01:02 +0000 (16:01 +0000)]
add curlies
Jim Meyering [Thu, 7 May 1998 15:55:56 +0000 (15:55 +0000)]
add some curly braces
Jim Meyering [Thu, 7 May 1998 15:54:44 +0000 (15:54 +0000)]
rename variable
Jim Meyering [Thu, 7 May 1998 15:50:54 +0000 (15:50 +0000)]
(tac_stdin): Use STDIN_FILENO rather than literal `0' in fstat call.
Jim Meyering [Thu, 7 May 1998 14:32:59 +0000 (14:32 +0000)]
add tr `double' script example
Jim Meyering [Mon, 4 May 1998 00:44:37 +0000 (00:44 +0000)]
remove dcl of unused safe_read
Jim Meyering [Mon, 4 May 1998 00:28:35 +0000 (00:28 +0000)]
.
Jim Meyering [Mon, 4 May 1998 00:27:15 +0000 (00:27 +0000)]
.
Jim Meyering [Sun, 3 May 1998 23:21:42 +0000 (23:21 +0000)]
.
Jim Meyering [Sun, 3 May 1998 23:21:39 +0000 (23:21 +0000)]
*** empty log message ***
Jim Meyering [Sun, 3 May 1998 22:18:22 +0000 (22:18 +0000)]
.
Jim Meyering [Sun, 3 May 1998 22:15:39 +0000 (22:15 +0000)]
.
Jim Meyering [Sun, 3 May 1998 22:14:55 +0000 (22:14 +0000)]
.
Jim Meyering [Sun, 3 May 1998 22:14:06 +0000 (22:14 +0000)]
.
Jim Meyering [Sun, 3 May 1998 21:56:10 +0000 (21:56 +0000)]
.
Jim Meyering [Sun, 3 May 1998 21:46:06 +0000 (21:46 +0000)]
.
Jim Meyering [Sun, 3 May 1998 21:41:51 +0000 (21:41 +0000)]
Use `-I.' with each invocation of $(PERL).
perl-5.004_xx comes with a Test.pm module that'd be used otherwise.
Jim Meyering [Sun, 3 May 1998 21:05:51 +0000 (21:05 +0000)]
.
Jim Meyering [Sun, 3 May 1998 20:46:29 +0000 (20:46 +0000)]
update from gettext-0.10.35
Jim Meyering [Sun, 3 May 1998 20:37:39 +0000 (20:37 +0000)]
update from gettext-0.10.35
Jim Meyering [Sat, 2 May 1998 15:37:18 +0000 (15:37 +0000)]
.
Jim Meyering [Sat, 2 May 1998 15:36:43 +0000 (15:36 +0000)]
(check_format): Use ISDIGIT, not isdigit.
Jim Meyering [Sat, 2 May 1998 15:33:01 +0000 (15:33 +0000)]
.
Jim Meyering [Sat, 2 May 1998 15:31:13 +0000 (15:31 +0000)]
.
Jim Meyering [Sat, 2 May 1998 15:25:56 +0000 (15:25 +0000)]
.
Jim Meyering [Tue, 28 Apr 1998 13:09:47 +0000 (13:09 +0000)]
(parse_line): Use ISSPACE, not isspace.
Use unsigned char * pointers, not potentially signed ones, to avoid
sign extension.
Jim Meyering [Tue, 28 Apr 1998 12:19:53 +0000 (12:19 +0000)]
tweak from FSF
Jim Meyering [Mon, 27 Apr 1998 16:09:46 +0000 (16:09 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 05:05:47 +0000 (05:05 +0000)]
.
Jim Meyering [Mon, 27 Apr 1998 05:04:54 +0000 (05:04 +0000)]
.
Jim Meyering [Mon, 27 Apr 1998 05:04:05 +0000 (05:04 +0000)]
.
Jim Meyering [Mon, 27 Apr 1998 05:03:43 +0000 (05:03 +0000)]
.
Jim Meyering [Mon, 27 Apr 1998 05:03:09 +0000 (05:03 +0000)]
.
Jim Meyering [Mon, 27 Apr 1998 05:02:56 +0000 (05:02 +0000)]
Disable test f-1, now that it fails.
Jim Meyering [Mon, 27 Apr 1998 05:01:43 +0000 (05:01 +0000)]
.
Jim Meyering [Mon, 27 Apr 1998 05:01:19 +0000 (05:01 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 05:00:00 +0000 (05:00 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 04:57:59 +0000 (04:57 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 04:53:31 +0000 (04:53 +0000)]
add 22b
Jim Meyering [Mon, 27 Apr 1998 04:41:41 +0000 (04:41 +0000)]
.
Jim Meyering [Mon, 27 Apr 1998 04:31:45 +0000 (04:31 +0000)]
Remove definition of _GNU_SOURCE
Jim Meyering [Mon, 27 Apr 1998 04:30:30 +0000 (04:30 +0000)]
(22a): Add test.
Jim Meyering [Mon, 27 Apr 1998 04:29:36 +0000 (04:29 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Apr 1998 04:29:05 +0000 (04:29 +0000)]
(keycompare): Don't return 0 from inside the keyspec-iterating loop.
With this change, test 22a passes. Reported by Zvi Har'El.
Jim Meyering [Mon, 27 Apr 1998 03:50:17 +0000 (03:50 +0000)]
(strncoll): Remove bogus assertion.
Jim Meyering [Sun, 26 Apr 1998 20:48:58 +0000 (20:48 +0000)]
(EXTRA_DIST): Add assert.m4.
Jim Meyering [Sun, 26 Apr 1998 20:48:00 +0000 (20:48 +0000)]
.
Jim Meyering [Sun, 26 Apr 1998 20:42:16 +0000 (20:42 +0000)]
Don't define NDEBUG.
Jim Meyering [Sun, 26 Apr 1998 20:41:42 +0000 (20:41 +0000)]
Don't define NDEBUG.
Jim Meyering [Sun, 26 Apr 1998 20:38:28 +0000 (20:38 +0000)]
Do not define _GNU_SOURCE and/or NDEBUG
Jim Meyering [Sun, 26 Apr 1998 20:09:26 +0000 (20:09 +0000)]
[struct File_spec] (pretty_name): Remove member.
(pretty_name): New function.
Jim Meyering [Sun, 26 Apr 1998 19:58:57 +0000 (19:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Apr 1998 19:58:43 +0000 (19:58 +0000)]
Remove usage-like comments near beginning of file.
Jim Meyering [Sun, 26 Apr 1998 19:53:54 +0000 (19:53 +0000)]
(xwrite): New function -- converted from macro.
Jim Meyering [Sun, 26 Apr 1998 19:50:21 +0000 (19:50 +0000)]
(close_fd): New function -- converted from macro.
[struct File_spec] (n_stat_calls): New member.
[struct File_spec] (n_unchanged_stats): New member.
(max_n_unchanged_stats): New global.
Initialize new members.
Jim Meyering [Sun, 26 Apr 1998 15:28:20 +0000 (15:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Apr 1998 15:28:06 +0000 (15:28 +0000)]
(md5_check): Declare local, `md5num' as _unsigned_ char*.
(hex_digits): Declare parameter `s' as _unsigned_ char*.
(split_3): Declare parameter `u' as _unsigned_ char**.
Jim Meyering [Sun, 26 Apr 1998 05:14:50 +0000 (05:14 +0000)]
(print_nth_dir): Remove first (and always-true) part of conjunct in assertion.
Jim Meyering [Fri, 17 Apr 1998 15:37:52 +0000 (15:37 +0000)]
.
Jim Meyering [Fri, 17 Apr 1998 15:37:29 +0000 (15:37 +0000)]
(xfields): Used unsigned char* pointers to avoid
Jim Meyering [Fri, 17 Apr 1998 15:37:03 +0000 (15:37 +0000)]
(check_punctuation): Used unsigned char* pointers to avoid
Jim Meyering [Fri, 17 Apr 1998 15:30:37 +0000 (15:30 +0000)]
.
Jim Meyering [Tue, 14 Apr 1998 15:17:45 +0000 (15:17 +0000)]
*** empty log message ***
Jim Meyering [Tue, 14 Apr 1998 15:17:32 +0000 (15:17 +0000)]
Use STREQ in string equality tests, not strcmp.
Jim Meyering [Mon, 13 Apr 1998 16:29:58 +0000 (16:29 +0000)]
(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Mon, 13 Apr 1998 13:51:27 +0000 (13:51 +0000)]
.
Jim Meyering [Sun, 12 Apr 1998 19:56:25 +0000 (19:56 +0000)]
Include safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sun, 12 Apr 1998 15:16:37 +0000 (15:16 +0000)]
.
Jim Meyering [Sun, 12 Apr 1998 09:39:30 +0000 (09:39 +0000)]
(TYPE_MAXIMUM): Update from system.h.
Jim Meyering [Sun, 12 Apr 1998 09:27:45 +0000 (09:27 +0000)]
Use STREQ rather than strcmp
Jim Meyering [Sun, 12 Apr 1998 09:12:21 +0000 (09:12 +0000)]
(wc): Declare per-file counters and `linepos' to be of type uintmax_t.
Declare bytes_read to be ssize_t.
Jim Meyering [Sat, 11 Apr 1998 18:24:09 +0000 (18:24 +0000)]
Include safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sat, 11 Apr 1998 18:23:13 +0000 (18:23 +0000)]
Include safe-read.h instead of merely declaring safe_read.
Jim Meyering [Sat, 11 Apr 1998 18:21:24 +0000 (18:21 +0000)]
[HAVE_INTTYPES_H]: Include inttypes.h.
Declare counters to be of type uintmax_t.
(write_counts): Use human_readable to format potentially-long-long
numbers. Suggestion from Rogier Wolff.
Jim Meyering [Sat, 11 Apr 1998 17:53:09 +0000 (17:53 +0000)]
(noinst_HEADERS): Add safe-read.h.
Jim Meyering [Sat, 11 Apr 1998 17:52:28 +0000 (17:52 +0000)]
.
Jim Meyering [Sat, 11 Apr 1998 15:37:35 +0000 (15:37 +0000)]
split a couple long lines
Jim Meyering [Sat, 11 Apr 1998 15:35:06 +0000 (15:35 +0000)]
Add curly braces around statements in if/else/while/do/etc. that
span more than a line -- even around multiline simple statements or
single-line simple statements preceded by a comment line.
Jim Meyering [Sat, 11 Apr 1998 15:05:20 +0000 (15:05 +0000)]
.
Jim Meyering [Sat, 11 Apr 1998 15:04:39 +0000 (15:04 +0000)]
.
Jim Meyering [Sat, 11 Apr 1998 15:03:51 +0000 (15:03 +0000)]
import version 2.231
Jim Meyering [Sat, 11 Apr 1998 09:24:28 +0000 (09:24 +0000)]
*** empty log message ***
Jim Meyering [Thu, 9 Apr 1998 07:28:10 +0000 (07:28 +0000)]
indent cpp directives
Jim Meyering [Thu, 9 Apr 1998 07:22:52 +0000 (07:22 +0000)]
make there be two spaces after `.' in comments
Jim Meyering [Mon, 6 Apr 1998 08:15:29 +0000 (08:15 +0000)]
(cph_hash_insert): Rename from now-conflicting hash_insert.
Also declare to be static.
Jim Meyering [Mon, 6 Apr 1998 08:14:58 +0000 (08:14 +0000)]
(hash_insert): Remove declaration.
Jim Meyering [Mon, 6 Apr 1998 08:11:35 +0000 (08:11 +0000)]
Change names/usage of hash-related functions to work with the above.
Jim Meyering [Mon, 6 Apr 1998 08:09:36 +0000 (08:09 +0000)]
Lots of minor spec and name changes, and new comments.
From François Pinard.
Jim Meyering [Mon, 6 Apr 1998 08:09:11 +0000 (08:09 +0000)]
Lots of minor spec and name changes, and new comments.
(hash_rehash): Rewritten to be easier on the allocator.
From François Pinard.
Jim Meyering [Mon, 6 Apr 1998 00:26:54 +0000 (00:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 23:44:12 +0000 (23:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 23:43:58 +0000 (23:43 +0000)]
.
Jim Meyering [Sun, 5 Apr 1998 21:35:33 +0000 (21:35 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 21:32:26 +0000 (21:32 +0000)]
add braces to disambiguate ambiguous else
Jim Meyering [Sun, 5 Apr 1998 18:24:45 +0000 (18:24 +0000)]
.
Jim Meyering [Sun, 5 Apr 1998 18:24:18 +0000 (18:24 +0000)]
(WIDE_CHAR_SUPPORT): Define.
This now depends on HAVE_BTOWC so systems that lack btowc (like
solaris-2.5.1) don't lose.
Jim Meyering [Sun, 5 Apr 1998 18:22:30 +0000 (18:22 +0000)]
*** empty log message ***
Jim Meyering [Sun, 5 Apr 1998 18:22:11 +0000 (18:22 +0000)]
(jm_PREREQ_REGEX): New macro.
(jm_PREREQ): Use it here.