Jim Meyering [Wed, 12 Nov 1997 16:28:06 +0000 (16:28 +0000)]
[!HAVE_MEMPCPY] (mempcpy): Define.
(batch_convert): Use mempcpy rather than stpcpy.
Jim Meyering [Wed, 12 Nov 1997 16:18:23 +0000 (16:18 +0000)]
(path_concat): Use mempcpy, not stpcpy.
Jim Meyering [Wed, 12 Nov 1997 16:11:17 +0000 (16:11 +0000)]
return memcpy result directly
Jim Meyering [Mon, 10 Nov 1997 14:40:40 +0000 (14:40 +0000)]
.
Jim Meyering [Mon, 10 Nov 1997 14:39:14 +0000 (14:39 +0000)]
.
Jim Meyering [Mon, 10 Nov 1997 04:11:57 +0000 (04:11 +0000)]
.
Jim Meyering [Mon, 10 Nov 1997 03:53:45 +0000 (03:53 +0000)]
*** empty log message ***
Jim Meyering [Mon, 10 Nov 1997 03:52:47 +0000 (03:52 +0000)]
(jm_STRFTIME_PREREQS): Check for localtime_r.
(jm_FUNC_GNU_STRFTIME): Use new macro.
(jm_FUNC_STRFTIME): New macro. Likewise.
Jim Meyering [Mon, 10 Nov 1997 03:52:33 +0000 (03:52 +0000)]
(jm_FUNC_MKTIME): Check for localtime_r.
Jim Meyering [Mon, 10 Nov 1997 03:31:27 +0000 (03:31 +0000)]
*** empty log message ***
Jim Meyering [Sun, 9 Nov 1997 19:06:53 +0000 (19:06 +0000)]
add -*-Makefile-*- to first line
Jim Meyering [Sun, 9 Nov 1997 19:06:31 +0000 (19:06 +0000)]
add -*-Makefile-*- to first line
Jim Meyering [Sat, 8 Nov 1997 21:10:39 +0000 (21:10 +0000)]
.
Jim Meyering [Sat, 8 Nov 1997 21:04:13 +0000 (21:04 +0000)]
.
Jim Meyering [Sat, 8 Nov 1997 21:02:34 +0000 (21:02 +0000)]
(EXTRA_DIST): Add lfs.m4.
Jim Meyering [Sat, 8 Nov 1997 21:02:01 +0000 (21:02 +0000)]
(fseeko): Define a stub if ! HAVE_FSEEKO.
(skip): Use fseeko if available. Don't use lseek; it causes
the stdio stream to become out of sync with respect to the
underyling file descriptor.
From Paul Eggert.
Jim Meyering [Sat, 8 Nov 1997 20:42:52 +0000 (20:42 +0000)]
.
Jim Meyering [Sat, 8 Nov 1997 20:38:23 +0000 (20:38 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Nov 1997 04:47:17 +0000 (04:47 +0000)]
(keycompare): call alloca(0) after each iteration
Jim Meyering [Sat, 8 Nov 1997 04:46:30 +0000 (04:46 +0000)]
.
Jim Meyering [Sat, 8 Nov 1997 03:00:52 +0000 (03:00 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Nov 1997 03:00:20 +0000 (03:00 +0000)]
Fix typo in comment.
Add header check for string.h.
Jim Meyering [Sat, 8 Nov 1997 02:59:16 +0000 (02:59 +0000)]
use 2 mempcpy instead of two memcpy calls
Jim Meyering [Sat, 8 Nov 1997 02:56:10 +0000 (02:56 +0000)]
cleanup
use abort for framework errors
Jim Meyering [Fri, 7 Nov 1997 18:19:50 +0000 (18:19 +0000)]
.
Jim Meyering [Fri, 7 Nov 1997 17:19:00 +0000 (17:19 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Nov 1997 17:18:15 +0000 (17:18 +0000)]
.
Jim Meyering [Thu, 6 Nov 1997 14:37:34 +0000 (14:37 +0000)]
(getmonth): Remove HAVE_ALLOCA #ifdefs.
We always have alloca.
(keycompare): Don't use variable size arrays (it's a gcc-extension).
Rewrite code that increments new lengths when not `ignoring'.
Jim Meyering [Mon, 3 Nov 1997 15:19:20 +0000 (15:19 +0000)]
make sure autoconf tests have been run
Jim Meyering [Mon, 3 Nov 1997 15:18:09 +0000 (15:18 +0000)]
Add insurance: tell xmalloc.c we've done the test.
Jim Meyering [Mon, 3 Nov 1997 05:46:09 +0000 (05:46 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 05:43:56 +0000 (05:43 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 05:39:43 +0000 (05:39 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 05:38:28 +0000 (05:38 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 05:25:44 +0000 (05:25 +0000)]
(xalloc_fail): Renamed from fixup_null_alloc.
(xcalloc): #ifdef-out unused function.
(xrealloc): Remove code to work around deficient versions of realloc.
Now we have an autoconf-enabled replacement version.
(xmalloc): Remove code to work around deficient versions of malloc.
Now we have an autoconf-enabled replacement version.
Jim Meyering [Mon, 3 Nov 1997 05:20:41 +0000 (05:20 +0000)]
be stricter: check for both P == 0 and N == 0.
Jim Meyering [Mon, 3 Nov 1997 05:20:09 +0000 (05:20 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 05:19:56 +0000 (05:19 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 05:08:36 +0000 (05:08 +0000)]
(main): New option, --max-line-length (-L).
(wc, write_counts): Implement it.
From Bruno Haible.
Jim Meyering [Mon, 3 Nov 1997 04:52:50 +0000 (04:52 +0000)]
.
Jim Meyering [Mon, 3 Nov 1997 04:51:54 +0000 (04:51 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 04:50:11 +0000 (04:50 +0000)]
don't use touch
Jim Meyering [Mon, 3 Nov 1997 04:40:37 +0000 (04:40 +0000)]
revert last change
Jim Meyering [Mon, 3 Nov 1997 04:40:07 +0000 (04:40 +0000)]
create 100 at a time
Jim Meyering [Mon, 3 Nov 1997 04:22:57 +0000 (04:22 +0000)]
Put cycle-detecting code inside an
#ifdef ENABLE_CYCLE_CHECK, for systems lacking d_ino.
[D_INO_IN_DIRENT]: Define ENABLE_CYCLE_CHECK.
(ASSIGN_STRDUPA): Clean up.
(right_justify): Use memcpy return value directly.
Suggestions from Ulrich Drepper.
(remove_cwd_entries) [! defined HAVE_WORKING_READDIR]: Impose overhead
of working around non-POSIX readdir implementation only on systems
that need it.
(remove_cwd_entries): Temporarily save a copy of each entry name in
an obstack rather than on the stack via alloca, then free it in the
likely event that we don't save the entry in the hash table.
Jim Meyering [Sun, 2 Nov 1997 14:38:49 +0000 (14:38 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Nov 1997 14:28:13 +0000 (14:28 +0000)]
.
Jim Meyering [Sun, 2 Nov 1997 14:28:10 +0000 (14:28 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Nov 1997 14:25:46 +0000 (14:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Nov 1997 14:24:16 +0000 (14:24 +0000)]
.
Jim Meyering [Sun, 2 Nov 1997 14:21:59 +0000 (14:21 +0000)]
*** empty log message ***
Jim Meyering [Tue, 28 Oct 1997 00:55:11 +0000 (00:55 +0000)]
Guard cycle-detecting code inside #ifdef ENABLE_CYCLE_CHECK.
[D_INO_IN_DIRENT]: Define ENABLE_CYCLE_CHECK.
Jim Meyering [Mon, 27 Oct 1997 05:00:47 +0000 (05:00 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Oct 1997 04:59:35 +0000 (04:59 +0000)]
*** empty log message ***
Jim Meyering [Mon, 27 Oct 1997 04:59:25 +0000 (04:59 +0000)]
add comment
Jim Meyering [Mon, 27 Oct 1997 04:58:22 +0000 (04:58 +0000)]
Convert to upper case before comparing.
This makes join -i work with sort -f.
Jim Meyering [Mon, 27 Oct 1997 03:22:01 +0000 (03:22 +0000)]
fix typo in comment
Jim Meyering [Sun, 26 Oct 1997 15:07:47 +0000 (15:07 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 15:07:01 +0000 (15:07 +0000)]
Add A, _, a tests using -f.
Jim Meyering [Sun, 26 Oct 1997 04:51:38 +0000 (04:51 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 04:50:59 +0000 (04:50 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 04:50:23 +0000 (04:50 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 04:50:05 +0000 (04:50 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Oct 1997 04:42:02 +0000 (04:42 +0000)]
(NLS_STRNCMP) [!ENABLE_NLS]: s/strcmp/strncmp/
Jim Meyering [Sun, 26 Oct 1997 04:39:53 +0000 (04:39 +0000)]
(xalloc_fail_func): Initialize to 0, not NULL.
Jim Meyering [Sun, 26 Oct 1997 04:26:09 +0000 (04:26 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 03:58:27 +0000 (03:58 +0000)]
(EXTRA_DIST): Add malloc.c.
Jim Meyering [Sun, 26 Oct 1997 03:57:43 +0000 (03:57 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 03:53:07 +0000 (03:53 +0000)]
(EXTRA_DIST): Add malloc.m4.
Jim Meyering [Sun, 26 Oct 1997 03:52:27 +0000 (03:52 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 03:15:47 +0000 (03:15 +0000)]
(EXTRA_DIST): Add realloc.c.
Jim Meyering [Sun, 26 Oct 1997 02:48:44 +0000 (02:48 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 02:48:15 +0000 (02:48 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 02:47:19 +0000 (02:47 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 02:46:35 +0000 (02:46 +0000)]
.
Jim Meyering [Sun, 26 Oct 1997 02:20:32 +0000 (02:20 +0000)]
(noinst_HEADERS): Add xalloc.h.
Jim Meyering [Sat, 25 Oct 1997 22:04:11 +0000 (22:04 +0000)]
.
Jim Meyering [Sat, 25 Oct 1997 22:03:55 +0000 (22:03 +0000)]
Remove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 22:03:20 +0000 (22:03 +0000)]
Remove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 22:01:13 +0000 (22:01 +0000)]
Include xalloc.h.
Remove dcls of xmalloc, xcalloc and xrealloc.
Jim Meyering [Sat, 25 Oct 1997 21:52:24 +0000 (21:52 +0000)]
.
Jim Meyering [Sat, 25 Oct 1997 21:52:09 +0000 (21:52 +0000)]
s/xmalloc_exit_failure/xalloc_exit_failure
Jim Meyering [Sat, 25 Oct 1997 21:51:21 +0000 (21:51 +0000)]
Include xalloc.h.
Change VOID to void.
(xalloc_exit_failure): Renamed extern.
(xalloc_msg_memory_exhausted): New extern.
(xalloc_fail_func): New extern.
(fixup_null_alloc): Use new variables.
Jim Meyering [Sat, 25 Oct 1997 21:49:45 +0000 (21:49 +0000)]
.
Jim Meyering [Sat, 25 Oct 1997 04:45:58 +0000 (04:45 +0000)]
.
Jim Meyering [Sat, 25 Oct 1997 04:45:43 +0000 (04:45 +0000)]
Remove old-style xmalloc and xrealloc decls.
Jim Meyering [Sat, 25 Oct 1997 04:44:00 +0000 (04:44 +0000)]
Remove old-style xmalloc and xrealloc decls.
(add_tabstop): Cast first arg of xrealloc to char*.
Jim Meyering [Sat, 25 Oct 1997 04:43:10 +0000 (04:43 +0000)]
Include xalloc.h.
(xmalloc): Remove function.
(xrealloc): Remove function.
(main): Set xalloc_fail_func to cleanup.
Set xmalloc_exit_failure SORT_FAILURE.
Jim Meyering [Sat, 25 Oct 1997 04:42:15 +0000 (04:42 +0000)]
Remove old-style xmalloc and xrealloc decls.
(paste_parallel): Cast first arg of xrealloc to char*.
Jim Meyering [Sat, 25 Oct 1997 04:41:18 +0000 (04:41 +0000)]
Remove old-style xmalloc and xrealloc decls.
(decode_format_string): Cast first arg of xrealloc to char*.
Jim Meyering [Sat, 25 Oct 1997 04:40:28 +0000 (04:40 +0000)]
Remove old-style xmalloc and xrealloc decls.
(add_tabstop): Cast first arg of xrealloc to char*.
Jim Meyering [Sat, 25 Oct 1997 04:38:58 +0000 (04:38 +0000)]
Include xalloc.h.
(xmalloc): Remove function.
(xrealloc): Remove function.
(main): Set xalloc_fail_func to cleanup.
Jim Meyering [Sat, 25 Oct 1997 04:37:57 +0000 (04:37 +0000)]
(ADD_RANGE_PAIR): Cast first arg of xrealloc to char*.
(getstr): Cast xmalloc return value to char*.
(xmalloc): Remove decl.
(xrealloc): Remove decl.
Jim Meyering [Fri, 24 Oct 1997 13:17:16 +0000 (13:17 +0000)]
Use unsigned int, not just unsigned.
Jim Meyering [Fri, 24 Oct 1997 13:06:56 +0000 (13:06 +0000)]
*** empty log message ***
Jim Meyering [Fri, 24 Oct 1997 04:29:41 +0000 (04:29 +0000)]
.
Jim Meyering [Fri, 24 Oct 1997 02:13:01 +0000 (02:13 +0000)]
*** empty log message ***
Jim Meyering [Fri, 24 Oct 1997 02:06:52 +0000 (02:06 +0000)]
quote AC_HEADER_STDC in AC_REQUIRE.
Jim Meyering [Fri, 24 Oct 1997 01:45:56 +0000 (01:45 +0000)]
don't use lower and upper temporaries
Jim Meyering [Fri, 24 Oct 1997 01:44:35 +0000 (01:44 +0000)]
.