Commit Graph
6377 Commits
Author SHA1 Message Date
Jim Meyering 3d308f9549 No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.
1999-03-26 14:23:59 +00:00
Jim Meyering f42367c3e7 No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.
1999-03-26 14:22:51 +00:00
Jim Meyering 0aa9923d96 No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.
1999-03-26 14:19:02 +00:00
Jim Meyering 85b4cd220b No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME, AUTHORS): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.
1999-03-26 14:18:29 +00:00
Jim Meyering f0a21a933a reorder includes 1999-03-26 14:12:32 +00:00
Jim Meyering 42884ec0c7 (PROGRAM_NAME, AUTHORS): Define and use. 1999-03-26 14:07:12 +00:00
Jim Meyering c227e4a167 (PROGRAM_NAME, AUTHORS): Define
(long_options): Remove unused struct.
(scanargs): Remove useless loop.
(main): Use PROGRAM_NAME and AUTHORS in call to parse_long_options.
1999-03-26 14:05:40 +00:00
Jim Meyering c92de17d2f define and use AUTHORS 1999-03-26 05:17:17 +00:00
Jim Meyering c060f16ed7 No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.
1999-03-26 04:23:55 +00:00
Jim Meyering f19d194943 . 1999-03-26 04:23:01 +00:00
Jim Meyering a721b1ac67 (libfu_a_SOURCES): Add version-etc.c.
(noinst_HEADERS): Add version-etc.h.
1999-03-26 04:20:23 +00:00
Jim Meyering 2a147b2b43 (parse_long_options): Remove version-, copyright-,
and author-printing code.  Do it via version_etc.
1999-03-26 04:19:07 +00:00
Jim Meyering c004c87b6c *** empty log message *** 1999-03-26 04:17:33 +00:00
Jim Meyering eff1cee6e1 (GETOPT_HELP_CHAR): Define.
(GETOPT_VERSION_CHAR): Define.
(GETOPT_HELP_OPTION_DECL): Define.
(GETOPT_VERSION_OPTION_DECL): Define.
(case_GETOPT_HELP_CHAR): Define.
(case_GETOPT_VERSION_CHAR): Define.
1999-03-26 04:12:41 +00:00
Jim Meyering 06303195c0 No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.
1999-03-26 04:11:15 +00:00
Jim Meyering dd007634ac No longer include long-options.h.
Include version-etc.h instead.
(PROGRAM_NAME): Define.
[long_options]: Add entries for --help and --version.
Remove parse_long_options call.
(main) [getopt switch]: Add a case for each of --help and --version.
1999-03-26 04:10:55 +00:00
Jim Meyering 562f29a2a2 (recheck): Factor out a block of duplicated code.
Set f->size to 0 upon encountering a new file so we read it from
the beginning rather than from then end of the first line or
block.  Otherwise, after a log rotation, tail would omit the first
line or block of the new file.  Reported by Ed Avis.
1999-03-25 14:29:13 +00:00
Jim Meyering 11212212b0 *** empty log message *** 1999-03-25 14:23:40 +00:00
Jim Meyering 1271e5321c *** empty log message *** 1999-03-24 13:48:48 +00:00
Jim Meyering 0b80d92d60 import 1.010 1999-03-24 13:48:22 +00:00
Jim Meyering 542d10fd71 *** empty log message *** 1999-03-22 22:36:39 +00:00
Jim Meyering cec649b346 tweak usage message -- from Karl 1999-03-22 22:36:12 +00:00
Jim Meyering 04d1d85350 *** empty log message *** 1999-03-22 22:35:53 +00:00
Jim Meyering cdbee41fbf *** empty log message *** 1999-03-21 13:38:51 +00:00
Jim Meyering 153de419bc import latest 1999-03-21 01:56:57 +00:00
Jim Meyering bc3d22ae9b . 1999-03-20 23:25:35 +00:00
Jim Meyering dafd051712 . 1999-03-20 23:24:55 +00:00
Jim Meyering fde28088f4 *** empty log message *** 1999-03-20 23:24:23 +00:00
Jim Meyering c2db2a08d9 s/jm_WITH_REGEX/jm_INCLUDED_REGEX/ 1999-03-20 23:24:15 +00:00
Jim Meyering 1424b8fd50 *** empty log message *** 1999-03-20 23:23:20 +00:00
Jim Meyering df3d9f6812 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
1999-03-20 23:23:14 +00:00
Jim Meyering df570c09ee *** empty log message *** 1999-03-20 23:16:34 +00:00
Jim Meyering e2ff4b6e90 Don't modify PATH just to get GNU nice. Instead, try
to find an absolute path for GNU nice.  From Bruno Haible.
1999-03-20 23:10:02 +00:00
Jim Meyering e16c2033b4 *** empty log message *** 1999-03-20 15:01:34 +00:00
Jim Meyering 4159e9e2f6 *** empty log message *** 1999-03-20 04:36:50 +00:00
Jim Meyering a6ea4bd455 [WINSIZE_IN_PTEM]: Include sys/stream.h and sys/ptem.h.
Required by SCO ODT 2.0 systems.  Reported by William Bader.
1999-03-20 04:07:01 +00:00
Jim Meyering f9ce2cffec *** empty log message *** 1999-03-20 04:06:02 +00:00
Jim Meyering 2bf19e8467 *** empty log message *** 1999-03-20 04:02:37 +00:00
Jim Meyering 5a16e75a56 (jm_WINSIZE_IN_PTEM): New macro. 1999-03-20 04:02:23 +00:00
Jim Meyering fd6c9bbcef . 1999-03-18 15:34:12 +00:00
Jim Meyering ab589a9ada (remove_cwd_entries): Reflect changes in hash_insert.
(remove_init): Call hash_initialize with one more argument.
1999-03-18 15:33:56 +00:00
Jim Meyering 3a7f42f1a8 . 1999-03-17 21:15:46 +00:00
Jim Meyering 278e9999a9 *** empty log message *** 1999-03-17 14:18:09 +00:00
Jim Meyering 8ee5e50927 (is_prime): Return bool rather than int. 1999-03-17 14:07:34 +00:00
Jim Meyering 3ae2c2ecf0 import latest 1999-03-16 15:34:33 +00:00
Jim Meyering 5cfbca30a9 tweak comments
add curlies
use assert(0) in place of abort
1999-03-15 16:52:22 +00:00
Jim Meyering 6d97ed71b7 *** empty log message *** 1999-03-15 15:50:55 +00:00
Jim Meyering 0a1a14a095 Revamp to allow fine-tuning to control when and by how
much the table grows and shrinks.
(next_prime): Don't assert.
(hash_reset_tuning): New function.
(check_tuning): New function.
(hash_initialize): Accept and use new tuning parameter.
(hash_rehash): Rewrite, updating for tuning.
(hash_insert): Honor tuning semantics.
(hash_delete): Likewise.
From François Pinard.
1999-03-15 15:50:31 +00:00
Jim Meyering 674d2ec393 (struct hash_tuning): Define.
(struct hash_table) [tuning]: Add member.
(hash_initialize): Add `tuning' parameter.
1999-03-15 15:41:59 +00:00
Jim Meyering 96359cf648 (hash_insert): Update prototype. 1999-03-15 15:33:21 +00:00