Jim Meyering [Sat, 17 Nov 2001 13:51:34 +0000 (13:51 +0000)]
Remove explicit declarations of xmalloc and xrealloc,
Instead, include "xalloc.h".
Jim Meyering [Sat, 17 Nov 2001 13:50:40 +0000 (13:50 +0000)]
Include unlocked-io.h after all system headers.
Remove explicit declarations of xmalloc, xrealloc,
and xstrdup. Instead, include "xalloc.h".
Jim Meyering [Sat, 17 Nov 2001 13:45:34 +0000 (13:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 13:31:37 +0000 (13:31 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 13:29:42 +0000 (13:29 +0000)]
Include unlocked-io.h.
Jim Meyering [Sat, 17 Nov 2001 12:21:27 +0000 (12:21 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 12:21:00 +0000 (12:21 +0000)]
Remove `unsigned' attribute from type of global `prefix'.
(copy_rest): Cast to (unsigned char *) before dereferencing.
(get_prefix): Likewise.
Jim Meyering [Sat, 17 Nov 2001 11:31:21 +0000 (11:31 +0000)]
.
Jim Meyering [Sat, 17 Nov 2001 11:09:24 +0000 (11:09 +0000)]
.
Jim Meyering [Sat, 17 Nov 2001 11:08:49 +0000 (11:08 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 11:04:00 +0000 (11:04 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 10:59:07 +0000 (10:59 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 10:59:01 +0000 (10:59 +0000)]
#undef mkstemp.
Include config.h.
(rpl_mkstemp): Rename from mkstemp.
Protoize.
Jim Meyering [Sat, 17 Nov 2001 08:54:26 +0000 (08:54 +0000)]
(UTILS_FUNC_MKSTEMP): New file and macro.
Prompted by a report from Bob Proulx.
Jim Meyering [Sat, 17 Nov 2001 08:18:48 +0000 (08:18 +0000)]
(jm_MACROS): Don't test for mkstemp here.
Instead, require UTILS_FUNC_MKSTEMP.
Jim Meyering [Sat, 17 Nov 2001 07:25:14 +0000 (07:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 07:13:18 +0000 (07:13 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 07:13:12 +0000 (07:13 +0000)]
(jm_WINSIZE_IN_PTEM): Do not define
WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
Jim Meyering [Fri, 16 Nov 2001 09:20:31 +0000 (09:20 +0000)]
*** empty log message ***
Jim Meyering [Fri, 16 Nov 2001 09:20:25 +0000 (09:20 +0000)]
[HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
(physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to
determine the amount of total physical memory, use pstat_getstatic.
HPUX-11 doesn't define _SC_PHYS_PAGES.
(physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]:
If sysconf couldn't be used to determine the amount of available
physical memory, use both pstat_getstatic and pstat_getdynamic.
Based on a patch from Bob Proulx.
Jim Meyering [Wed, 14 Nov 2001 11:53:06 +0000 (11:53 +0000)]
*** empty log message ***
Jim Meyering [Wed, 14 Nov 2001 11:52:59 +0000 (11:52 +0000)]
(file_lines): Remove unnecessary cast.
(tail_lines): Could have called file_lines even though the first
lseek failed. Fix that.
Jim Meyering [Wed, 14 Nov 2001 10:51:53 +0000 (10:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 14 Nov 2001 10:30:42 +0000 (10:30 +0000)]
*** empty log message ***
Jim Meyering [Wed, 14 Nov 2001 10:19:11 +0000 (10:19 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Nov 2001 23:36:57 +0000 (23:36 +0000)]
split a line that was too long
Jim Meyering [Tue, 13 Nov 2001 23:32:18 +0000 (23:32 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Nov 2001 23:32:12 +0000 (23:32 +0000)]
(file_lines): Add a parameter, start_pos.
Work properly even when the read pointer is not at beginning of file.
(tail_lines): Call file_lines for any regular file, as long as lseek
can be used to seek to its end, not just when the initial read pointer
is at beginning of file.
Jim Meyering [Tue, 13 Nov 2001 10:23:44 +0000 (10:23 +0000)]
(tail_lines): Move declaration of local `length' into scope where it's used.
(tail_file): Likewise for local `stats'.
Jim Meyering [Tue, 13 Nov 2001 10:21:12 +0000 (10:21 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Nov 2001 10:20:48 +0000 (10:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Nov 2001 10:20:02 +0000 (10:20 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Nov 2001 10:19:39 +0000 (10:19 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Nov 2001 10:19:09 +0000 (10:19 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Nov 2001 10:14:12 +0000 (10:14 +0000)]
`tail /proc/ksyms' would segfault on Linux.
(tail_lines): Use status of lseek (...SEEK_END) call
in deciding whether to call file_lines or pipe_lines.
From Herbert Xu.
Jim Meyering [Mon, 12 Nov 2001 13:06:16 +0000 (13:06 +0000)]
clean up
Jim Meyering [Mon, 12 Nov 2001 12:44:01 +0000 (12:44 +0000)]
use rm, not $RM
Jim Meyering [Mon, 12 Nov 2001 12:41:40 +0000 (12:41 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 20:05:33 +0000 (20:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 20:04:57 +0000 (20:04 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 16:05:20 +0000 (16:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 16:04:43 +0000 (16:04 +0000)]
(usage): Split --help output into smaller pieces.
Jim Meyering [Sun, 11 Nov 2001 15:42:07 +0000 (15:42 +0000)]
(struct tspec): Declare function pointer with prototype.
Jim Meyering [Sun, 11 Nov 2001 15:40:39 +0000 (15:40 +0000)]
(main): Declare function pointer with prototype.
Jim Meyering [Sun, 11 Nov 2001 15:38:00 +0000 (15:38 +0000)]
(usage): Fix typo in last change to usage.
Jim Meyering [Sun, 11 Nov 2001 15:35:37 +0000 (15:35 +0000)]
(count_items): Mark parameter as unused.
Jim Meyering [Sun, 11 Nov 2001 15:24:53 +0000 (15:24 +0000)]
(struct_month_cmp): Guard definition with the same
cpp directive that guards the use.
Jim Meyering [Sun, 11 Nov 2001 15:08:48 +0000 (15:08 +0000)]
(xwrite): Remove assertion that size_t N >= 0.
Jim Meyering [Sun, 11 Nov 2001 15:08:02 +0000 (15:08 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 15:02:40 +0000 (15:02 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 15:02:23 +0000 (15:02 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 15:00:53 +0000 (15:00 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 15:00:38 +0000 (15:00 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 14:55:20 +0000 (14:55 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 14:48:45 +0000 (14:48 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 14:47:28 +0000 (14:47 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 14:46:13 +0000 (14:46 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 14:40:01 +0000 (14:40 +0000)]
(main, usage): Split --help output into smaller pieces.
Jim Meyering [Sun, 11 Nov 2001 14:36:08 +0000 (14:36 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 14:35:39 +0000 (14:35 +0000)]
(struct COLUMN) [print_func]: Declare as a protype.
(struct COLUMN) [char_func]: Declare as a protype.
Jim Meyering [Sun, 11 Nov 2001 14:34:28 +0000 (14:34 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 14:24:54 +0000 (14:24 +0000)]
(parse_old_offset): Declare to be static.
Jim Meyering [Sun, 11 Nov 2001 14:24:34 +0000 (14:24 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 14:20:56 +0000 (14:20 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 14:18:46 +0000 (14:18 +0000)]
(usage): Split --help output into smaller pieces.
Jim Meyering [Sun, 11 Nov 2001 14:13:55 +0000 (14:13 +0000)]
(make_blank): Declare to be static.
(prfield): Declare local to be of type size_t, not int.
Jim Meyering [Sun, 11 Nov 2001 14:12:49 +0000 (14:12 +0000)]
(make_blank): Declare to be static.
Jim Meyering [Sun, 11 Nov 2001 14:12:27 +0000 (14:12 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 13:56:07 +0000 (13:56 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 13:52:50 +0000 (13:52 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 13:41:19 +0000 (13:41 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 13:38:28 +0000 (13:38 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 13:38:18 +0000 (13:38 +0000)]
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Jim Meyering [Sun, 11 Nov 2001 13:17:58 +0000 (13:17 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 13:17:49 +0000 (13:17 +0000)]
(alloca) [__GNUC__]: Define only if not already defined.
Jim Meyering [Sun, 11 Nov 2001 10:55:41 +0000 (10:55 +0000)]
(jm_PREREQ_PHYSMEM): don't check for bp-sym.h
Jim Meyering [Sun, 11 Nov 2001 10:09:48 +0000 (10:09 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 10:09:21 +0000 (10:09 +0000)]
*** empty log message ***
Jim Meyering [Sun, 11 Nov 2001 10:07:07 +0000 (10:07 +0000)]
(jm_MACROS): Remove code to set POW_LIBM.
Now, that's done as part of AC_FUNC_STRTOD.
Jim Meyering [Sat, 10 Nov 2001 21:18:48 +0000 (21:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 10 Nov 2001 21:18:34 +0000 (21:18 +0000)]
(jm_PREREQ_PHYSMEM): New function.
(jm_PREREQ): Use it.
Jim Meyering [Sat, 10 Nov 2001 14:23:42 +0000 (14:23 +0000)]
*** empty log message ***
Jim Meyering [Sat, 10 Nov 2001 14:22:46 +0000 (14:22 +0000)]
(proc_text): Use `puts' to output a string of spaces, not printf.
Jim Meyering [Sat, 10 Nov 2001 08:59:24 +0000 (08:59 +0000)]
tweak locale-related somments for sort
Jim Meyering [Sat, 10 Nov 2001 08:58:09 +0000 (08:58 +0000)]
tweak locale-related somments for sort
Jim Meyering [Sat, 10 Nov 2001 08:46:09 +0000 (08:46 +0000)]
.
Jim Meyering [Sat, 10 Nov 2001 08:46:05 +0000 (08:46 +0000)]
(usage): Document %u.
Jim Meyering [Sat, 10 Nov 2001 08:45:38 +0000 (08:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 10 Nov 2001 08:44:34 +0000 (08:44 +0000)]
(Date directives): Document %u.
Jim Meyering [Fri, 9 Nov 2001 08:43:37 +0000 (08:43 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Nov 2001 23:24:04 +0000 (23:24 +0000)]
.
Jim Meyering [Thu, 8 Nov 2001 23:22:06 +0000 (23:22 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Nov 2001 23:20:09 +0000 (23:20 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Nov 2001 23:20:01 +0000 (23:20 +0000)]
Require autoconf-2.52f.
(AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
Use these AC_-prefixed names, not the AM_-prefixed ones.
Jim Meyering [Thu, 8 Nov 2001 23:17:52 +0000 (23:17 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Nov 2001 23:17:41 +0000 (23:17 +0000)]
(jm_AFS): Quote the body. Patch by Akim Demaille.
Jim Meyering [Thu, 8 Nov 2001 09:29:42 +0000 (09:29 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Nov 2001 09:28:13 +0000 (09:28 +0000)]
(paste invocation): Give examples.
Thanks to Dan Jacobson for suggesting the examples.
Jim Meyering [Tue, 6 Nov 2001 07:36:12 +0000 (07:36 +0000)]
*** empty log message ***
Jim Meyering [Tue, 6 Nov 2001 07:36:06 +0000 (07:36 +0000)]
Remove duplicate entry for .png.