Jim Meyering [Tue, 20 Jul 1999 17:06:50 +0000 (17:06 +0000)]
(AC_REPLACE_FUNCS): Add memmove.
Jim Meyering [Sun, 18 Jul 1999 11:21:58 +0000 (11:21 +0000)]
.
Jim Meyering [Thu, 15 Jul 1999 16:16:24 +0000 (16:16 +0000)]
(noinst_HEADERS): Add getpagesize.h.
Jim Meyering [Thu, 15 Jul 1999 09:31:44 +0000 (09:31 +0000)]
.
Jim Meyering [Thu, 15 Jul 1999 09:31:34 +0000 (09:31 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 09:11:24 +0000 (09:11 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Jul 1999 09:11:13 +0000 (09:11 +0000)]
(AC_CHECK_FUNCS): Check for getpagesize.
Jim Meyering [Thu, 15 Jul 1999 07:50:06 +0000 (07:50 +0000)]
(get_fs_usage) [STATFS_TRUNCATES_BLOCK_COUNTS]:
Work around SunOS botch also when block size is different from 1k.
Jim Meyering [Sat, 10 Jul 1999 16:40:33 +0000 (16:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 10 Jul 1999 16:40:16 +0000 (16:40 +0000)]
cpp indent and split a long line
Jim Meyering [Sat, 10 Jul 1999 16:36:56 +0000 (16:36 +0000)]
use a space, not TAB after #define
Jim Meyering [Sat, 10 Jul 1999 16:36:11 +0000 (16:36 +0000)]
cpp indent
Jim Meyering [Sat, 10 Jul 1999 07:17:02 +0000 (07:17 +0000)]
.
Jim Meyering [Sun, 4 Jul 1999 10:40:04 +0000 (10:40 +0000)]
[!defined strtoumax]: Declare strtoumax.
Jim Meyering [Sun, 4 Jul 1999 10:38:37 +0000 (10:38 +0000)]
.
Jim Meyering [Sun, 4 Jul 1999 10:31:01 +0000 (10:31 +0000)]
(readline): Leave room for an extra byte
after the newline; comm needs this for memcoll.
Jim Meyering [Sun, 4 Jul 1999 10:08:56 +0000 (10:08 +0000)]
[struct linebuffer] (size): Declare to be of type size_t, not long.
[struct linebuffer] (length): Likewise.
Jim Meyering [Sun, 4 Jul 1999 10:06:42 +0000 (10:06 +0000)]
(readline): Append trailing newline to line.
Jim Meyering [Sun, 4 Jul 1999 09:37:57 +0000 (09:37 +0000)]
.
Jim Meyering [Sun, 4 Jul 1999 08:47:49 +0000 (08:47 +0000)]
(enum human_inexact_style): New enum.
(human_readable_inexact): New decl.
Jim Meyering [Sun, 4 Jul 1999 08:47:28 +0000 (08:47 +0000)]
(human_readable): New function.
(human_readable_inexact): Renamed from human_readable, with new arg
INEXACT_STYLE. Add support for ceiling and floor.
Jim Meyering [Sun, 4 Jul 1999 08:34:31 +0000 (08:34 +0000)]
(__strtol): Remove decl; it doesn't work if __strtol
expands to a macro, which occurs in HP-UX 10.20 with strtoumax.
(strtol, strtoul): New decls (for pre-ANSI hosts), to replace
the above decl.
Jim Meyering [Sun, 23 May 1999 21:06:36 +0000 (21:06 +0000)]
.
Jim Meyering [Sun, 23 May 1999 20:44:48 +0000 (20:44 +0000)]
.
Jim Meyering [Sun, 23 May 1999 20:40:59 +0000 (20:40 +0000)]
(libfu_a_SOURCES): Add same.c.
(noinst_HEADERS): Add same.h.
Jim Meyering [Sun, 23 May 1999 19:43:10 +0000 (19:43 +0000)]
*** empty log message ***
Jim Meyering [Sun, 23 May 1999 19:42:59 +0000 (19:42 +0000)]
New file (function extracted from ln.c).
Jim Meyering [Sat, 22 May 1999 22:02:00 +0000 (22:02 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 May 1999 22:00:42 +0000 (22:00 +0000)]
(AC_REPLACE_FUNCS): Add memchr.
Jim Meyering [Sat, 22 May 1999 04:24:10 +0000 (04:24 +0000)]
.
Jim Meyering [Fri, 21 May 1999 20:47:18 +0000 (20:47 +0000)]
remove trailing newline
Jim Meyering [Thu, 20 May 1999 20:12:17 +0000 (20:12 +0000)]
.
Jim Meyering [Thu, 20 May 1999 20:12:12 +0000 (20:12 +0000)]
[AC_SEARCH_LIBS]: Quote name in undefine.
Add a colon after each `then' in case $4 is empty.
Jim Meyering [Thu, 20 May 1999 03:49:25 +0000 (03:49 +0000)]
add the comment to go with last change
Jim Meyering [Thu, 20 May 1999 03:47:24 +0000 (03:47 +0000)]
(get_date): Let mktime deduce tm_isdst if we
have an absolute timestamp, or if the relative timestamp
mentions days, months, or years.
Jim Meyering [Mon, 17 May 1999 13:03:46 +0000 (13:03 +0000)]
(human_readable): Allow from_block_size to be zero.
Jim Meyering [Sun, 16 May 1999 16:54:01 +0000 (16:54 +0000)]
.
Jim Meyering [Sun, 16 May 1999 15:48:43 +0000 (15:48 +0000)]
.
Jim Meyering [Sun, 16 May 1999 15:48:11 +0000 (15:48 +0000)]
New file to override autoconf's AC_SEARCH_LIBS.
Jim Meyering [Sat, 15 May 1999 05:46:45 +0000 (05:46 +0000)]
.
Jim Meyering [Sat, 15 May 1999 04:50:26 +0000 (04:50 +0000)]
(getugroups): Don't dereference a null pointer when
running `id USER' for some USER that is listed on the RHS in /etc/group.
From Sander van Malssen.
Add some curly braces, use STREQ, reverse the sense of a test
and use `continue' to save a level of nesting.
Jim Meyering [Fri, 14 May 1999 17:11:03 +0000 (17:11 +0000)]
(version_etc): Put version info and author names
on the first two lines respectively rather than putting the three
lines of copyright info between them.
Jim Meyering [Thu, 13 May 1999 20:48:44 +0000 (20:48 +0000)]
Include <string.h> or <strings.h> for strlen prototype.
Jim Meyering [Thu, 13 May 1999 20:44:45 +0000 (20:44 +0000)]
[__GLIBC__ >= 2]: #if-out prototypes.
Jim Meyering [Wed, 12 May 1999 02:10:38 +0000 (02:10 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 May 1999 16:30:03 +0000 (16:30 +0000)]
*** empty log message ***
Jim Meyering [Tue, 11 May 1999 16:29:33 +0000 (16:29 +0000)]
Fix typos in config.h comments.
Jim Meyering [Mon, 10 May 1999 05:18:30 +0000 (05:18 +0000)]
Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
Jim Meyering [Mon, 10 May 1999 05:17:38 +0000 (05:17 +0000)]
Require 2.14.1, since we use newly-renamed AC_FUNC_MKTIME.
Jim Meyering [Mon, 10 May 1999 04:24:49 +0000 (04:24 +0000)]
Update from libc.
Jim Meyering [Sun, 9 May 1999 15:04:17 +0000 (15:04 +0000)]
.
Jim Meyering [Fri, 7 May 1999 18:52:35 +0000 (18:52 +0000)]
.
Jim Meyering [Thu, 6 May 1999 02:10:34 +0000 (02:10 +0000)]
(make_dir): When reporting a mkdir failure and the
target cannot be `stat'ed, use the errno from the failed mkdir call,
not the one from the stat call. Before this change, running
`mkdir -p /no-dir/no-dir' as an unprivileged user would wrongly
elicit `No such file or directory' instead of `Permission denied'.
Jim Meyering [Wed, 5 May 1999 13:34:18 +0000 (13:34 +0000)]
(read_utmp): Use the new definitions.
Jim Meyering [Wed, 5 May 1999 13:34:02 +0000 (13:34 +0000)]
Add definitions to help read utmpx on systems with utmpname.
(UTMP_NAME_FUNCTION): Define.
(SET_UTMP_ENT): Likewise.
(GET_UTMP_ENT): Likewise.
(END_UTMP_ENT): Likewise.
Jim Meyering [Wed, 5 May 1999 13:21:29 +0000 (13:21 +0000)]
(TYPE_SIGNED, TYPE_MAXIMUM, TYPE_MINIMUM): Define.
(ULONG_LONG_MAX, LONG_LONG_MAX, LONG_LONG_MIN): Define if not defined.
Based on a patch from Kaveh Ghazi.
Jim Meyering [Wed, 5 May 1999 03:05:11 +0000 (03:05 +0000)]
Include makepath.h libintl.h, not after it.
Otherwise, we'd get the wrong definition of PARAMS from libintl.h.
(The method of defining PARAMS in libintl.h doesn't check PROTOTYPES,
which is necessary on Irix4 since cc doesn't define __STDC__.)
From Kaveh Ghazi.
Jim Meyering [Tue, 4 May 1999 21:13:54 +0000 (21:13 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 May 1999 21:13:47 +0000 (21:13 +0000)]
(AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
not CPPFLAGS, so that linking works correctly in IRIX.
Jim Meyering [Mon, 3 May 1999 02:46:54 +0000 (02:46 +0000)]
.
Jim Meyering [Mon, 3 May 1999 02:38:50 +0000 (02:38 +0000)]
(read_utmp): Ignore the return value from utmpname.
Jim Meyering [Sat, 1 May 1999 04:13:56 +0000 (04:13 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 May 1999 04:13:45 +0000 (04:13 +0000)]
(AC_REPLACE_FUNCS): Add dup2.
Jim Meyering [Mon, 26 Apr 1999 13:25:08 +0000 (13:25 +0000)]
(utime_null): Don't pass 0666 to open; it's not needed and isn't
guaranteed to be portable.
Jim Meyering [Mon, 26 Apr 1999 13:22:23 +0000 (13:22 +0000)]
(S_IRWXU, S_IRWXG, S_IRWXO): Define if not defined.
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
Jim Meyering [Mon, 26 Apr 1999 13:19:37 +0000 (13:19 +0000)]
(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
modechange.h now includes sys/types.h.
Include xstrtol.h.
(isodigit, oatoi): Remove.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP,
S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRWXU, S_IRWXG,
S_IRWXO): Define if not defined.
(CHMOD_MODE_BITS): New macro.
(mode_compile): Convert from octal with xstrtoul, not our own routine.
Jim Meyering [Mon, 26 Apr 1999 13:13:59 +0000 (13:13 +0000)]
Include <config.h>, <sys/types.h> for mode_t.
(struct mode_change): Members affected and value are now mode_t instead
of unsigned short.
Jim Meyering [Mon, 26 Apr 1999 13:13:36 +0000 (13:13 +0000)]
<config.h>, <sys/types.h>: Include for mode_t.
(mode_string): Now takes mode_t.
Jim Meyering [Mon, 26 Apr 1999 13:13:00 +0000 (13:13 +0000)]
(make_path): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRWXU): Define if not defined.
Jim Meyering [Mon, 26 Apr 1999 13:10:11 +0000 (13:10 +0000)]
(setst, ftypelet, mode_string): Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
(S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH): Define if not defined.
<config.h>, <sys/types.h>: Include for mode_t.
(mode_string): Now takes mode_t.
Jim Meyering [Sun, 25 Apr 1999 19:20:18 +0000 (19:20 +0000)]
<inttypes.h>: Include it here instead.
<config.h>: Include it here too.
Jim Meyering [Sun, 25 Apr 1999 19:18:55 +0000 (19:18 +0000)]
Don't include inttypes.h here.
Jim Meyering [Sat, 24 Apr 1999 12:57:43 +0000 (12:57 +0000)]
.
Jim Meyering [Thu, 22 Apr 1999 14:35:59 +0000 (14:35 +0000)]
Guard strong_alias and weak_alias with #ifdef _LIBC.
Jim Meyering [Wed, 21 Apr 1999 23:17:13 +0000 (23:17 +0000)]
.
Jim Meyering [Wed, 21 Apr 1999 04:30:22 +0000 (04:30 +0000)]
.
Jim Meyering [Wed, 21 Apr 1999 04:30:22 +0000 (04:30 +0000)]
.
Jim Meyering [Wed, 21 Apr 1999 04:28:36 +0000 (04:28 +0000)]
Remove the temporary strtoumax replacement;
we now have a true replacement in strtoumax.c.
(__strtol): Always define to strtoumax.
(<stdlib.h>): No need to include.
(PARAMS): Remove.
(my_strtoumax): Move this to strtoumax.c,
rename it to strtoumax, and simplify.
Jim Meyering [Wed, 21 Apr 1999 04:27:24 +0000 (04:27 +0000)]
Update to glibc 2.1.1 version.
Jim Meyering [Wed, 21 Apr 1999 04:24:39 +0000 (04:24 +0000)]
.
Jim Meyering [Wed, 21 Apr 1999 04:22:15 +0000 (04:22 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:21:50 +0000 (04:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:21:44 +0000 (04:21 +0000)]
(jm_CHECK_ALL_TYPES): Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
Jim Meyering [Wed, 21 Apr 1999 04:14:59 +0000 (04:14 +0000)]
(AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
Jim Meyering [Wed, 21 Apr 1999 04:04:20 +0000 (04:04 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 04:04:04 +0000 (04:04 +0000)]
(jm_AC_TYPE_UINTMAX_T): Move unsigned long
long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
Jim Meyering [Wed, 21 Apr 1999 04:00:38 +0000 (04:00 +0000)]
Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
Replace xstroull if necessary.
Jim Meyering [Wed, 21 Apr 1999 03:58:57 +0000 (03:58 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 02:29:50 +0000 (02:29 +0000)]
.
Jim Meyering [Wed, 21 Apr 1999 02:21:57 +0000 (02:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 21 Apr 1999 02:21:47 +0000 (02:21 +0000)]
Port to AIX and HP-UX. Support cross-compilation.
Jim Meyering [Tue, 20 Apr 1999 13:24:14 +0000 (13:24 +0000)]
(my_strtoumax): Fix typo in computing
whether overflow occurred. Improve overflow-detection to use
only one conditional branch total, rather than 2N+1
conditional branches for an N-digit number.
Jim Meyering [Mon, 19 Apr 1999 04:20:57 +0000 (04:20 +0000)]
.
Jim Meyering [Mon, 19 Apr 1999 02:54:48 +0000 (02:54 +0000)]
Require jm_AC_PREREQ_XSTRTOUMAX.
Jim Meyering [Mon, 19 Apr 1999 02:53:36 +0000 (02:53 +0000)]
*** empty log message ***
Jim Meyering [Mon, 19 Apr 1999 02:42:58 +0000 (02:42 +0000)]
.
Jim Meyering [Mon, 19 Apr 1999 00:20:36 +0000 (00:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 18 Apr 1999 23:18:32 +0000 (23:18 +0000)]
Include xstrtol.h, not xstrtoul.h, since xstrtol.h now defines all the
xstrto... functions.
Jim Meyering [Sun, 18 Apr 1999 23:17:30 +0000 (23:17 +0000)]
<stdlib.h>: Include if HAVE_STDLIB_H, since bison 1.27 invokes "free".
(LookupWord, yylex): Don't pass negative char to ctype macros.
Jim Meyering [Sun, 18 Apr 1999 23:17:05 +0000 (23:17 +0000)]
(xalloc_fail): Pass xalloc_msg_memory_exhausted through gettext.