Jim Meyering [Sat, 24 Jun 2000 12:05:18 +0000 (12:05 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 12:05:08 +0000 (12:05 +0000)]
Revive this file -- to try out an experimental
version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
for which strerror does return char*, but which lacks a conveniently
accessible declaration of the function.
Jim Meyering [Sat, 24 Jun 2000 12:01:29 +0000 (12:01 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 12:01:03 +0000 (12:01 +0000)]
[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
Jim Meyering [Sat, 24 Jun 2000 11:53:51 +0000 (11:53 +0000)]
Lots of minor rewording and grammar correction.
From Brian Youmans.
Jim Meyering [Sat, 24 Jun 2000 11:52:38 +0000 (11:52 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:38:05 +0000 (07:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:37:55 +0000 (07:37 +0000)]
tweak copyright
Jim Meyering [Sat, 24 Jun 2000 07:37:44 +0000 (07:37 +0000)]
(sysv_sum_file): Avoid overflowing 32-bit accumulator
on files larger than 256 MB.
Jim Meyering [Sat, 24 Jun 2000 07:36:54 +0000 (07:36 +0000)]
.
Jim Meyering [Sat, 24 Jun 2000 07:36:14 +0000 (07:36 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:18:29 +0000 (07:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:13:07 +0000 (07:13 +0000)]
*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 07:12:56 +0000 (07:12 +0000)]
*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:09:12 +0000 (21:09 +0000)]
.
Jim Meyering [Fri, 23 Jun 2000 21:06:45 +0000 (21:06 +0000)]
*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:05:50 +0000 (21:05 +0000)]
Include <wctype.h> after <wchar.h>,
for Solaris 2.5.
(mbrtowc, mbstate_t): Define substitutes if
HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT.
(iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT,
not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).
Jim Meyering [Fri, 23 Jun 2000 21:03:06 +0000 (21:03 +0000)]
*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:02:23 +0000 (21:02 +0000)]
*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:02:15 +0000 (21:02 +0000)]
(jm_PREREQ_QUOTEARG): Use AC_MBSTATE_T_OBJECT. Add check for iswprint.
Jim Meyering [Fri, 23 Jun 2000 21:00:53 +0000 (21:00 +0000)]
New file, defining AC_MBSTATE_T_OBJECT.
Jim Meyering [Fri, 23 Jun 2000 14:03:02 +0000 (14:03 +0000)]
*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 13:50:42 +0000 (13:50 +0000)]
*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 13:49:17 +0000 (13:49 +0000)]
Add missing AC_MSG_RESULT.
Reported by Bruno Haible.
Jim Meyering [Fri, 23 Jun 2000 13:43:41 +0000 (13:43 +0000)]
s/AC_MSG_CHECKING/AC_CHECKING/.
Suggestion from Bruno Haible.
Jim Meyering [Thu, 22 Jun 2000 17:10:56 +0000 (17:10 +0000)]
*** empty log message ***
Jim Meyering [Thu, 22 Jun 2000 17:10:51 +0000 (17:10 +0000)]
(main): Correct a comment.
Jim Meyering [Wed, 21 Jun 2000 20:23:21 +0000 (20:23 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 20:23:14 +0000 (20:23 +0000)]
(AC_REPLACE_FUNCS): Add getpass.
Jim Meyering [Wed, 21 Jun 2000 20:21:03 +0000 (20:21 +0000)]
ansideclify
Jim Meyering [Wed, 21 Jun 2000 20:20:27 +0000 (20:20 +0000)]
New file, from Bruno Haible. Required for BeOS.
Jim Meyering [Wed, 21 Jun 2000 20:16:10 +0000 (20:16 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 20:16:03 +0000 (20:16 +0000)]
(xgetcwd): If the required pathname length is smaller
than 1024, return a memory chunk of least possible size, instead
of size PATH_MAX + 2. In the loop, increment the size proportionally.
Use free/xmalloc instead of xrealloc to avoid copying for very long paths.
Jim Meyering [Wed, 21 Jun 2000 14:47:04 +0000 (14:47 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 13:00:54 +0000 (13:00 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 13:00:49 +0000 (13:00 +0000)]
(canon_host): Use malloc and memcpy to copy an
address, not strdup. Include <stdlib.h> and don't declare free().
Jim Meyering [Wed, 21 Jun 2000 12:56:40 +0000 (12:56 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 12:56:33 +0000 (12:56 +0000)]
(path_concat): Don't access dir[-1] if dir is the empty string.
Jim Meyering [Wed, 21 Jun 2000 09:56:42 +0000 (09:56 +0000)]
include getstr.h
Jim Meyering [Wed, 21 Jun 2000 09:21:52 +0000 (09:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:21:22 +0000 (09:21 +0000)]
(libfetish_a_SOURCES): Add getstr.c.
(noinst_HEADERS): Add getstr.h.
Jim Meyering [Wed, 21 Jun 2000 09:20:40 +0000 (09:20 +0000)]
(getstr): Remove private (and out of date) version of this function.
(cut_fields): Adjust caller to use the just-extended one in ../lib.
Jim Meyering [Wed, 21 Jun 2000 09:20:23 +0000 (09:20 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:16:21 +0000 (09:16 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:12:30 +0000 (09:12 +0000)]
(getstr): Move into a separate file.
Jim Meyering [Wed, 21 Jun 2000 09:10:32 +0000 (09:10 +0000)]
copyright date
Jim Meyering [Wed, 21 Jun 2000 09:09:57 +0000 (09:09 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:09:22 +0000 (09:09 +0000)]
New file, extracted from getline.c, with the following
changes: new parameter, delim2; both delim[12] parameters have type
`int', not `char'. The latter would lose with 8-bit delimiters.
Jim Meyering [Wed, 21 Jun 2000 09:02:48 +0000 (09:02 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:02:42 +0000 (09:02 +0000)]
New test for that.
Jim Meyering [Wed, 21 Jun 2000 07:29:03 +0000 (07:29 +0000)]
(valid_options): Don't segfault on `stty erase -'.
Jim Meyering [Wed, 21 Jun 2000 07:28:13 +0000 (07:28 +0000)]
*** empty log message ***
Jim Meyering [Tue, 20 Jun 2000 06:55:04 +0000 (06:55 +0000)]
*** empty log message ***
Jim Meyering [Tue, 20 Jun 2000 06:46:41 +0000 (06:46 +0000)]
*** empty log message ***
Jim Meyering [Tue, 20 Jun 2000 06:46:28 +0000 (06:46 +0000)]
(main): Fix off-by-argc test, so +N-style options are recognized once again.
Reported by Geoff Keunning.
Fix typo in diagnostic: s/compare/skip/.
Jim Meyering [Tue, 20 Jun 2000 06:44:21 +0000 (06:44 +0000)]
*** empty log message ***
Jim Meyering [Mon, 19 Jun 2000 09:50:25 +0000 (09:50 +0000)]
*** empty log message ***
Jim Meyering [Mon, 19 Jun 2000 09:50:20 +0000 (09:50 +0000)]
(AC_REPLACE_FUNCS): Remove mkdir.
Jim Meyering [Mon, 19 Jun 2000 09:48:46 +0000 (09:48 +0000)]
.
Jim Meyering [Mon, 19 Jun 2000 07:25:01 +0000 (07:25 +0000)]
[HAVE_NLIST_H] (NLIST_STRUCT): Define.
Jim Meyering [Mon, 19 Jun 2000 07:19:41 +0000 (07:19 +0000)]
revert last change
Jim Meyering [Mon, 19 Jun 2000 06:55:11 +0000 (06:55 +0000)]
*** empty log message ***
Jim Meyering [Mon, 19 Jun 2000 06:51:58 +0000 (06:51 +0000)]
.
Jim Meyering [Sun, 18 Jun 2000 18:17:03 +0000 (18:17 +0000)]
*** empty log message ***
Jim Meyering [Sun, 18 Jun 2000 18:16:54 +0000 (18:16 +0000)]
Include memory.h, string.h, and/or strings.h as needed.
(this snippet comes from src/system.h).
Jim Meyering [Sun, 18 Jun 2000 18:08:15 +0000 (18:08 +0000)]
*** empty log message ***
Jim Meyering [Sun, 18 Jun 2000 18:07:51 +0000 (18:07 +0000)]
(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
`checking whether...' message to be consistent with that of the
lstat test.
Jim Meyering [Sun, 18 Jun 2000 17:47:39 +0000 (17:47 +0000)]
.
Jim Meyering [Sun, 18 Jun 2000 06:17:54 +0000 (06:17 +0000)]
s/NLIST_STRUCT/HAVE_NLIST_H/. Remove big
multi-platform `#ifndef NLIST_STRUCT' block.
Jim Meyering [Sat, 17 Jun 2000 19:24:59 +0000 (19:24 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Jun 2000 19:24:39 +0000 (19:24 +0000)]
Don't fail (just exit 77) if strip doesn't work.
Add canonical trap/mkdir/cd, plus exit portability cruft.
Jim Meyering [Sat, 17 Jun 2000 18:47:21 +0000 (18:47 +0000)]
.
Jim Meyering [Sat, 17 Jun 2000 18:46:57 +0000 (18:46 +0000)]
.
Jim Meyering [Sat, 17 Jun 2000 18:46:16 +0000 (18:46 +0000)]
.
Jim Meyering [Sat, 17 Jun 2000 18:35:44 +0000 (18:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Jun 2000 18:34:33 +0000 (18:34 +0000)]
s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/
Jim Meyering [Sat, 17 Jun 2000 18:33:50 +0000 (18:33 +0000)]
(AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
from autoconf, and tweak the latter to accept an optional argument.
Jim Meyering [Sat, 17 Jun 2000 18:31:59 +0000 (18:31 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Jun 2000 18:31:51 +0000 (18:31 +0000)]
(jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
Jim Meyering [Fri, 16 Jun 2000 12:51:33 +0000 (12:51 +0000)]
*** empty log message ***
Jim Meyering [Fri, 16 Jun 2000 12:51:28 +0000 (12:51 +0000)]
(adjust_value): New function.
(human_readable_inexact): Apply rounding style even when
printing approximate values.
Jim Meyering [Fri, 16 Jun 2000 12:50:27 +0000 (12:50 +0000)]
(print_size): Round disk usage up.
Jim Meyering [Fri, 16 Jun 2000 12:49:52 +0000 (12:49 +0000)]
(print_dir, gobble_file, print_long_format, print_file_name_and_frills):
Round disk usage up.
Jim Meyering [Fri, 16 Jun 2000 12:49:20 +0000 (12:49 +0000)]
(df_readable): New arg for rounding style.
Round negative numbers correctly.
(show_dev): Round disk usage up and disk free space down.
Jim Meyering [Fri, 16 Jun 2000 12:48:22 +0000 (12:48 +0000)]
*** empty log message ***
Jim Meyering [Fri, 16 Jun 2000 12:47:36 +0000 (12:47 +0000)]
(copy_reg): Give a slightly better diagnostic.
Jim Meyering [Thu, 15 Jun 2000 19:46:54 +0000 (19:46 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 13:21:12 +0000 (13:21 +0000)]
.
Jim Meyering [Thu, 15 Jun 2000 12:50:53 +0000 (12:50 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 12:47:46 +0000 (12:47 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 12:43:28 +0000 (12:43 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 12:21:20 +0000 (12:21 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 12:21:10 +0000 (12:21 +0000)]
(human_readable_inexact): Allow an input block
size that is not a multiple of the output block size, and vice versa.
Jim Meyering [Thu, 15 Jun 2000 12:11:18 +0000 (12:11 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 12:11:14 +0000 (12:11 +0000)]
tweak comment
Jim Meyering [Thu, 15 Jun 2000 12:10:15 +0000 (12:10 +0000)]
Add tests for getdate.y fix.
Jim Meyering [Thu, 15 Jun 2000 07:58:06 +0000 (07:58 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 07:57:58 +0000 (07:57 +0000)]
(get_date): Apply relative times after time zone indicator, not before.
Jim Meyering [Wed, 14 Jun 2000 19:44:39 +0000 (19:44 +0000)]
*** empty log message ***
Jim Meyering [Wed, 14 Jun 2000 17:06:40 +0000 (17:06 +0000)]
*** empty log message ***