Jim Meyering
a71d24334e
(xlseek): New function.
...
Call it instead of lseek, in most cases, so any failure is reported.
2001-11-19 10:59:56 +00:00
Jim Meyering
0ea919d2da
*** empty log message ***
2001-11-19 10:00:17 +00:00
Jim Meyering
c2a79f9f5f
*** empty log message ***
2001-11-19 10:00:06 +00:00
Jim Meyering
1b6f16a2d0
(UTILS_FUNC_MKSTEMP): Don't bother with a temporary
...
directory. Use "conftestXXXXXX" as the template.
Suggestion from Paul Eggert.
2001-11-19 10:00:00 +00:00
Jim Meyering
05128c2c79
*** empty log message ***
2001-11-19 09:56:36 +00:00
Jim Meyering
711933ad30
Close each descriptor immediately so the test
...
doesn't mistakenly hit the max-open-files limit.
2001-11-19 09:56:29 +00:00
Jim Meyering
2ce61398ce
.
2001-11-18 17:59:36 +00:00
Jim Meyering
2e9825b4e7
*** empty log message ***
2001-11-18 10:55:55 +00:00
Jim Meyering
c89f42f5b7
*** empty log message ***
2001-11-18 10:55:26 +00:00
Jim Meyering
9c9354c36d
(jm_PREREQ_TEMPNAME): Check for declaration of getenv.
2001-11-18 10:55:18 +00:00
Jim Meyering
16aa74d9d2
[!HAVE_DECL_GETENV]: Declare getenv to avoid warning on SunOS4.
2001-11-18 10:54:42 +00:00
Jim Meyering
c59588ce72
.
2001-11-17 23:43:36 +00:00
Jim Meyering
cf6f431bce
*** empty log message ***
2001-11-17 23:05:28 +00:00
Jim Meyering
bbaec810c7
*** empty log message ***
2001-11-17 22:53:29 +00:00
Jim Meyering
b1c9ecbff6
($(srcdir)/m4/jm-glibc-io.m4): Use $(move_if_change),
...
not the literal `move-if-change'.
2001-11-17 22:53:24 +00:00
Jim Meyering
6e8beadc83
*** empty log message ***
2001-11-17 18:42:23 +00:00
Jim Meyering
79bca6482d
*** empty log message ***
2001-11-17 18:25:11 +00:00
Jim Meyering
d43f88070c
(TESTS): Add equals.
2001-11-17 18:24:54 +00:00
Jim Meyering
c1c76161dc
New test for the just-fixed bug in lib/modechange.c.
2001-11-17 18:24:38 +00:00
Jim Meyering
88d2464bd8
*** empty log message ***
2001-11-17 14:11:06 +00:00
Jim Meyering
a10a5f3a93
(tail_forever): Add a cast.
2001-11-17 14:10:52 +00:00
Jim Meyering
3e94e8645c
(TESTS): Add proc-ksyms and start-middle.
2001-11-17 13:57:08 +00:00
Jim Meyering
bd9d31c3f0
*** empty log message ***
2001-11-17 13:51:40 +00:00
Jim Meyering
13d08934ba
Remove explicit declarations of xmalloc and xrealloc,
...
Instead, include "xalloc.h".
2001-11-17 13:51:34 +00:00
Jim Meyering
b150c16ebc
Include unlocked-io.h after all system headers.
...
Remove explicit declarations of xmalloc, xrealloc,
and xstrdup. Instead, include "xalloc.h".
2001-11-17 13:50:40 +00:00
Jim Meyering
76f8ced07d
*** empty log message ***
2001-11-17 13:45:34 +00:00
Jim Meyering
fd09326a94
*** empty log message ***
2001-11-17 13:31:37 +00:00
Jim Meyering
3eb2a22131
Include unlocked-io.h.
2001-11-17 13:29:42 +00:00
Jim Meyering
1edeae648d
*** empty log message ***
2001-11-17 12:21:27 +00:00
Jim Meyering
940fd633a2
Remove unsigned' attribute from type of global prefix'.
...
(copy_rest): Cast to (unsigned char *) before dereferencing.
(get_prefix): Likewise.
2001-11-17 12:21:00 +00:00
Jim Meyering
d577c22aa6
.
2001-11-17 11:31:21 +00:00
Jim Meyering
476382ce9d
.
2001-11-17 11:09:24 +00:00
Jim Meyering
5814c8c46b
*** empty log message ***
2001-11-17 11:08:49 +00:00
Jim Meyering
4796fb9f3a
*** empty log message ***
2001-11-17 11:04:00 +00:00
Jim Meyering
fe9777a0bd
*** empty log message ***
2001-11-17 10:59:07 +00:00
Jim Meyering
649d8f321e
#undef mkstemp.
...
Include config.h.
(rpl_mkstemp): Rename from mkstemp.
Protoize.
2001-11-17 10:59:01 +00:00
Jim Meyering
6dc7d3dea2
(UTILS_FUNC_MKSTEMP): New file and macro.
...
Prompted by a report from Bob Proulx.
2001-11-17 08:54:26 +00:00
Jim Meyering
e7389b6a8f
(jm_MACROS): Don't test for mkstemp here.
...
Instead, require UTILS_FUNC_MKSTEMP.
2001-11-17 08:18:48 +00:00
Jim Meyering
2130b49220
*** empty log message ***
2001-11-17 07:25:14 +00:00
Jim Meyering
387827ac90
*** empty log message ***
2001-11-17 07:13:18 +00:00
Jim Meyering
c322ce4c4f
(jm_WINSIZE_IN_PTEM): Do not define
...
WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
2001-11-17 07:13:12 +00:00
Jim Meyering
9c8f7eb9b7
*** empty log message ***
2001-11-16 09:20:31 +00:00
Jim Meyering
e7d469d663
[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.
2001-11-16 09:20:25 +00:00
Jim Meyering
3fad422ee5
*** empty log message ***
2001-11-14 11:53:06 +00:00
Jim Meyering
8379824202
(file_lines): Remove unnecessary cast.
...
(tail_lines): Could have called file_lines even though the first
lseek failed. Fix that.
2001-11-14 11:52:59 +00:00
Jim Meyering
8b67554aec
*** empty log message ***
2001-11-14 10:51:53 +00:00
Jim Meyering
edd66bd294
*** empty log message ***
2001-11-14 10:30:42 +00:00
Jim Meyering
db29cde02a
*** empty log message ***
2001-11-14 10:19:11 +00:00
Jim Meyering
306433db58
split a line that was too long
2001-11-13 23:36:57 +00:00
Jim Meyering
a94c64bcad
*** empty log message ***
2001-11-13 23:32:18 +00:00