Jim Meyering [Thu, 2 Mar 2000 09:04:06 +0000 (09:04 +0000)]
(getlogin, ttyname, geteuid): Declare them here, if needed.
Jim Meyering [Thu, 2 Mar 2000 07:38:57 +0000 (07:38 +0000)]
.
Jim Meyering [Thu, 2 Mar 2000 07:30:36 +0000 (07:30 +0000)]
(show_point): Ignore shortcuts based on path
prefixes that are loop file system mount points, since they
yield undesirable output.
Jim Meyering [Wed, 1 Mar 2000 13:26:04 +0000 (13:26 +0000)]
(DEFS): Add -DLIBDIR=...
(libfetish_a_SOURCES): Add localcharset.c and unicodeio.c.
(noinst_HEADERS): Add unicodeio.h.
(all-local, install-exec-local, charset.alias): New targets.
Jim Meyering [Wed, 1 Mar 2000 13:23:53 +0000 (13:23 +0000)]
*** empty log message ***
Jim Meyering [Wed, 1 Mar 2000 13:23:47 +0000 (13:23 +0000)]
*** empty log message ***
Jim Meyering [Wed, 1 Mar 2000 13:23:41 +0000 (13:23 +0000)]
New file from Bruno.
Jim Meyering [Wed, 1 Mar 2000 13:22:57 +0000 (13:22 +0000)]
New file from Bruno.
filter through cppi
Jim Meyering [Wed, 1 Mar 2000 13:22:35 +0000 (13:22 +0000)]
New file from Bruno.
One portability tweak:
guard inclusion of stddef.h.
Jim Meyering [Wed, 1 Mar 2000 13:21:23 +0000 (13:21 +0000)]
Guard some #includes with `#if HAVE_...'.
Jim Meyering [Wed, 1 Mar 2000 13:11:05 +0000 (13:11 +0000)]
new file, from Bruno
Jim Meyering [Wed, 1 Mar 2000 12:53:37 +0000 (12:53 +0000)]
Describe eq-wid-2 failure conditions.
Jim Meyering [Wed, 1 Mar 2000 12:51:07 +0000 (12:51 +0000)]
.
Jim Meyering [Wed, 1 Mar 2000 12:50:28 +0000 (12:50 +0000)]
*** empty log message ***
Jim Meyering [Wed, 1 Mar 2000 12:49:12 +0000 (12:49 +0000)]
.
Jim Meyering [Wed, 1 Mar 2000 12:31:16 +0000 (12:31 +0000)]
(get_width_format): Fix portability problem with `-0' vs. `0'.
Jim Meyering [Wed, 1 Mar 2000 12:29:00 +0000 (12:29 +0000)]
.
Jim Meyering [Wed, 1 Mar 2000 12:27:54 +0000 (12:27 +0000)]
.
Jim Meyering [Tue, 29 Feb 2000 15:22:16 +0000 (15:22 +0000)]
(decode_switches): Remove `e' from getopt_long's list of
option characters. Reported by John Summerfield.
Jim Meyering [Tue, 29 Feb 2000 07:32:27 +0000 (07:32 +0000)]
*** empty log message ***
Jim Meyering [Tue, 29 Feb 2000 07:32:23 +0000 (07:32 +0000)]
(make_blank): Add an explicit cast to `unsigned char *'
to placate HPUX's C compiler. Reported by Bob Proulx.
Jim Meyering [Tue, 29 Feb 2000 06:34:25 +0000 (06:34 +0000)]
split a long line
Jim Meyering [Mon, 28 Feb 2000 20:45:33 +0000 (20:45 +0000)]
*** empty log message ***
Jim Meyering [Mon, 28 Feb 2000 20:45:28 +0000 (20:45 +0000)]
(ALERT_CHAR): New macro.
(quotearg_buffer_restyled): Use it.
Jim Meyering [Mon, 28 Feb 2000 07:23:06 +0000 (07:23 +0000)]
*** empty log message ***
Jim Meyering [Mon, 28 Feb 2000 07:23:00 +0000 (07:23 +0000)]
Use ginstall, not install.
Jim Meyering [Sun, 27 Feb 2000 19:05:50 +0000 (19:05 +0000)]
.
Jim Meyering [Sun, 27 Feb 2000 18:53:50 +0000 (18:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 18:50:31 +0000 (18:50 +0000)]
Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.
Jim Meyering [Sun, 27 Feb 2000 18:49:10 +0000 (18:49 +0000)]
Fix typo in decl of strtoul: s/long long/long/.
Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.
Jim Meyering [Sun, 27 Feb 2000 18:45:29 +0000 (18:45 +0000)]
Fix typo in decl of strtoul: s/long long/long/.
Jim Meyering [Sun, 27 Feb 2000 18:04:10 +0000 (18:04 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 18:04:00 +0000 (18:04 +0000)]
Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H', not `#if STDC_HEADERS'.
Declare malloc if needed.
Jim Meyering [Sun, 27 Feb 2000 17:54:25 +0000 (17:54 +0000)]
use double quotes, not single quotes around syntax-error-evoking string
Jim Meyering [Sun, 27 Feb 2000 17:53:36 +0000 (17:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 17:53:31 +0000 (17:53 +0000)]
Add getenv to the list.
Jim Meyering [Sun, 27 Feb 2000 17:42:26 +0000 (17:42 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 17:41:20 +0000 (17:41 +0000)]
Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
now that autoconf always defines the HAVE_DECL_ symbols.
Arrange for cpp to fail if the configure-time
declaration check was not run.
Jim Meyering [Sun, 27 Feb 2000 17:40:53 +0000 (17:40 +0000)]
Arrange for cpp to fail if the configure-time
declaration check was not run.
Jim Meyering [Sun, 27 Feb 2000 17:40:24 +0000 (17:40 +0000)]
Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
now that autoconf always defines the HAVE_DECL_ symbols.
Arrange for cpp to fail if the configure-time
declaration check was not run.
Jim Meyering [Sun, 27 Feb 2000 17:39:52 +0000 (17:39 +0000)]
Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
now that autoconf always defines the HAVE_DECL_ symbols.
Arrange for cpp to fail if the configure-time
declaration check was not run.
Jim Meyering [Sun, 27 Feb 2000 17:26:39 +0000 (17:26 +0000)]
Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL...'
now that autoconf always defines the HAVE_DECL_ symbols.
Jim Meyering [Sun, 27 Feb 2000 15:43:43 +0000 (15:43 +0000)]
.
Jim Meyering [Sun, 27 Feb 2000 15:06:19 +0000 (15:06 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 15:01:34 +0000 (15:01 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 15:01:21 +0000 (15:01 +0000)]
(install_file_to_path): Always use install_file_in_file.
Based on a patch from Adam Klein via Michael Stone.
Jim Meyering [Sun, 27 Feb 2000 15:00:31 +0000 (15:00 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 14:52:45 +0000 (14:52 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 14:39:48 +0000 (14:39 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 14:39:19 +0000 (14:39 +0000)]
(TESTS): Add create-leading.
Jim Meyering [Sun, 27 Feb 2000 14:35:07 +0000 (14:35 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 14:27:13 +0000 (14:27 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 13:58:12 +0000 (13:58 +0000)]
Put cedilla on `c' in author's name.
Jim Meyering [Sun, 27 Feb 2000 13:18:24 +0000 (13:18 +0000)]
(TESTS_ENVIRONMENT): Add PATH. Remove cruft.
Jim Meyering [Sun, 27 Feb 2000 13:17:12 +0000 (13:17 +0000)]
Clean up.
Jim Meyering [Sun, 27 Feb 2000 11:29:13 +0000 (11:29 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 11:28:47 +0000 (11:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 11:27:38 +0000 (11:27 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 11:26:07 +0000 (11:26 +0000)]
.
Jim Meyering [Sun, 27 Feb 2000 11:23:22 +0000 (11:23 +0000)]
.
Jim Meyering [Sun, 27 Feb 2000 11:23:11 +0000 (11:23 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 11:19:40 +0000 (11:19 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 11:13:16 +0000 (11:13 +0000)]
(parse_user_spec): If there is no `:' but there is a `.',
then first look up the entire `.'-containing string as a login name.
Jim Meyering [Sat, 26 Feb 2000 22:19:54 +0000 (22:19 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Feb 2000 21:34:58 +0000 (21:34 +0000)]
.
Jim Meyering [Sat, 26 Feb 2000 21:34:41 +0000 (21:34 +0000)]
Don't make the success of the test depend on the
order in which directory entries are processed.
Reported by Andreas Schwab.
Jim Meyering [Sat, 26 Feb 2000 21:28:10 +0000 (21:28 +0000)]
whoops. Add commas in parenthesized list of functions in call
to AC_CHECK_DECLS.
Jim Meyering [Wed, 23 Feb 2000 15:24:57 +0000 (15:24 +0000)]
*** empty log message ***
Jim Meyering [Wed, 23 Feb 2000 15:24:51 +0000 (15:24 +0000)]
Now that we have the new AC_CHECK_DECLS, use it in place of my hack.
Jim Meyering [Tue, 22 Feb 2000 20:16:07 +0000 (20:16 +0000)]
Handle two-digit years with leading zeros correctly.
(textint): New typedef.
(parser_control): Member year changed from int to textint.
All uses changed.
(YYSTYPE): Removed; replaced by %union with int and textint members.
(tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN,
tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER,
tYEAR_UNIT, tZONE, o_merid): Now of type <intval>.
(tSNUMBER, tUNUMBER): Now of type <textintval>.
(date, number, to_year): Use width of number in digits, not its value,
to determine whether it's a 2-digit year, or a 2-digit time.
(yylex): Store number of digits of numeric tokens.
Reported by John Kendall.
(parser_control): Changed from struct parser_control to typedef (for
consistency). All uses changed.
(tID): Removed; not used.
(yylex): Return '?' for unknown identifiers, rather than (unused) tID.
Jim Meyering [Tue, 22 Feb 2000 20:14:57 +0000 (20:14 +0000)]
*** empty log message ***
Jim Meyering [Tue, 22 Feb 2000 20:14:37 +0000 (20:14 +0000)]
*** empty log message ***
Jim Meyering [Tue, 22 Feb 2000 20:13:38 +0000 (20:13 +0000)]
fix typo
Jim Meyering [Tue, 22 Feb 2000 20:12:08 +0000 (20:12 +0000)]
(datevtime-1): New test.
Jim Meyering [Tue, 15 Feb 2000 21:04:09 +0000 (21:04 +0000)]
*** empty log message ***
Jim Meyering [Tue, 15 Feb 2000 13:18:05 +0000 (13:18 +0000)]
*** empty log message ***
Jim Meyering [Tue, 15 Feb 2000 13:17:36 +0000 (13:17 +0000)]
(pop_dir): New function.
(count_entry): Factor out common code (pop_dir), and call the new
function instead.
Move declaration of global, `stat_buf' into this function.
(du_files): Don't stat `.' or call save_cwd, since count_entry
never returns with a changed working directory.
Jim Meyering [Tue, 15 Feb 2000 13:08:08 +0000 (13:08 +0000)]
*** empty log message ***
Jim Meyering [Tue, 15 Feb 2000 13:06:07 +0000 (13:06 +0000)]
merge fileutils, textutils, sh-utils
Jim Meyering [Tue, 15 Feb 2000 07:58:20 +0000 (07:58 +0000)]
*** empty log message ***
Jim Meyering [Mon, 14 Feb 2000 23:27:25 +0000 (23:27 +0000)]
.
Jim Meyering [Mon, 14 Feb 2000 20:15:32 +0000 (20:15 +0000)]
adapted from changes to grep getpagesize.h
by Martin P.J. Zinser <zinser@decus.de>.
Jim Meyering [Sun, 13 Feb 2000 09:07:08 +0000 (09:07 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Feb 2000 08:47:09 +0000 (08:47 +0000)]
.
Jim Meyering [Sun, 13 Feb 2000 08:24:10 +0000 (08:24 +0000)]
*** empty log message ***
Jim Meyering [Sun, 13 Feb 2000 08:23:58 +0000 (08:23 +0000)]
(run_tests): Discard stderr.
Reverse diff args, so `expected' is last, as in mk-script.
Jim Meyering [Sat, 12 Feb 2000 17:08:06 +0000 (17:08 +0000)]
.
Jim Meyering [Sat, 12 Feb 2000 17:07:21 +0000 (17:07 +0000)]
.
Jim Meyering [Sat, 12 Feb 2000 17:06:52 +0000 (17:06 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Feb 2000 17:06:04 +0000 (17:06 +0000)]
(run_tests): Invoke `diff' when differences are found.
Jim Meyering [Sat, 12 Feb 2000 10:42:19 +0000 (10:42 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Feb 2000 10:41:48 +0000 (10:41 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Feb 2000 10:41:37 +0000 (10:41 +0000)]
<libintl.h>: Include.
(_ and N_): Define.
(parse_user_spec): Mark translatable strings.
Jim Meyering [Sat, 12 Feb 2000 10:11:54 +0000 (10:11 +0000)]
add FIXME comments for use of atoi
Jim Meyering [Sat, 12 Feb 2000 10:10:40 +0000 (10:10 +0000)]
(ISDIGIT): Define it.
(isdigit): Remove definition.
(is_number): Use ISDIGIT, not isdigit.
Jim Meyering [Sat, 12 Feb 2000 08:58:36 +0000 (08:58 +0000)]
*** empty log message ***
Jim Meyering [Sat, 12 Feb 2000 08:57:50 +0000 (08:57 +0000)]
(usage): Mention only `:', and not `.' as the separator.
Jim Meyering [Fri, 11 Feb 2000 10:08:28 +0000 (10:08 +0000)]
(main): Count the stat'able arguments.
Print the header line only if there is at least one valid argument.
Reported by Andy Longton <alongton@metamark.com>
Jim Meyering [Fri, 11 Feb 2000 10:08:00 +0000 (10:08 +0000)]
*** empty log message ***
Jim Meyering [Thu, 10 Feb 2000 17:45:12 +0000 (17:45 +0000)]
Invoke `diff' when differences are found.