Paul Eggert
df066e2695
(dd_LDADD, shred_LDADD): Add $(LIB_GETHRXTIME).
...
(nanosec_libs): Add $(LIB_XNANOSLEEP). Needed for newer GNU/Linux
hosts with clock_gettime.
2005-02-22 07:10:07 +00:00
Paul Eggert
dcf1114082
(gl_PREREQ): Require gl_XNANOSLEEP.
2005-02-22 07:09:37 +00:00
Paul Eggert
55c154ed7d
(gl_PREREQ_GETHRXTIME): Require gl_CLOCK_TIME,
...
gl_USE_SYSTEM_EXTENSIONS. Check whether CLOCK_MONOTONIC is
defined, and set LIB_GETHRXTIME accordingly. This is needed
for newer GNU/Linux systems that have clock_gettime, so that they
link in the appropriate library for it when needed.
2005-02-22 07:09:13 +00:00
Paul Eggert
ba8ad9a1e6
(libfetish_a_SOURCES): Remove xnanosleep.c,
...
xnanosleep.h; now done by ../m4/xnanosleep.m4 automatically.
2005-02-22 07:08:43 +00:00
Paul Eggert
0e1b33afd3
Initial revision.
2005-02-22 07:06:47 +00:00
Paul Eggert
7244117ba2
Regenerate.
2005-02-21 08:26:21 +00:00
Paul Eggert
10ca18d561
Describe recent changes to use realtime clocks if available,
...
when appropriate; also, gettime now returns void.
2005-02-21 08:20:15 +00:00
Paul Eggert
3178b01865
(time): Remove obsolete decl.
...
(main): Gettime now returns void.
2005-02-21 08:17:00 +00:00
Paul Eggert
2ec39c3ada
Include gethrxtime.h.
...
(isaac_seed): Use gethrxtime rather than a mishmash.
2005-02-21 08:15:45 +00:00
Paul Eggert
70c98ff92d
(time): Remove obsolete decl.
...
(get_current_time): gettimeofday always returns 0, so don't
check its result.
2005-02-21 08:15:10 +00:00
Paul Eggert
c339d6843e
Include gethrxtime.h, xtime.h.
...
(start_time): Now of type xtime_t, not struct timespec.
(print_stats, main): Use gethrxtime rather than gettime.
2005-02-21 08:14:40 +00:00
Paul Eggert
1b29344371
(main): gettime now returns void.
2005-02-21 08:14:13 +00:00
Paul Eggert
7fd8ef9cc1
(dd_LDADD, shred_LDADD, nanosec_libs):
...
Remove $(LIB_CLOCK_GETTIME). These functions now use
gethrxtime instead.
2005-02-21 08:13:12 +00:00
Paul Eggert
e26599af0b
(gl_PREREQ): Require gl_GETHRXTIME.
...
Require gl_STRIPSLASH and gl_LINEBUFFER.
2005-02-21 08:12:37 +00:00
Paul Eggert
d7da695796
(gl_MACROS): Don't check for gethrtime.
2005-02-21 08:11:54 +00:00
Paul Eggert
2d229b0a9e
(gl_GETTIME): Check for nanotime.
2005-02-21 08:11:19 +00:00
Paul Eggert
13aa6d899c
Include xtime.h and gethrxtime.h, not xalloc.h.
...
(timespec_subtract): Remove.
(NANOSLEEP_BUG_WORKAROUND): New constant.
(xnanosleep): Use gethrxtime rather than gettime; this simplifies
things considerably. Use it only on GNU/Linux hosts, since the
workaround shouldn't be needed elsewhere.
2005-02-21 08:10:47 +00:00
Paul Eggert
14d0416864
(gettime): Return void, since it always
...
succeeds now. All uses changed.
2005-02-21 08:10:11 +00:00
Paul Eggert
dfefe8e5de
(gettime) Return void, since it always
...
succeeds now. All uses changed.
[HAVE_NANOTIME]: Prefer nanotime.
Assume gettimeofday succeeds, as POSIX requires.
Assime time () succeeds, since other code already does.
2005-02-21 08:09:30 +00:00
Paul Eggert
fa5269cf6f
(get_date): gettime now returns void, not int.
2005-02-21 08:08:38 +00:00
Paul Eggert
2df160349e
dd now uses a real-time clock if available, for transfer statistics.
2005-02-21 08:07:28 +00:00
Paul Eggert
9df4b1d7e4
Initial revision.
2005-02-21 08:05:49 +00:00
Paul Eggert
80cc962bd5
Don't assume that the current host supports 64-bit integers.
2005-02-21 07:22:49 +00:00
Paul Eggert
17103c0976
Don't assume that the current host supports integers wider than 32
...
bits. Fix comment typo.
2005-02-21 07:12:37 +00:00
Paul Eggert
e0cc736489
(enum RCH_status): Remove trailing comma,
...
as it's not valid in standard C89.
2005-02-21 06:57:45 +00:00
Jim Meyering
696a24b227
*** empty log message ***
2005-02-20 16:33:43 +00:00
Jim Meyering
2b972d584b
*** empty log message ***
2005-02-20 16:33:11 +00:00
Jim Meyering
84c616fa90
(xgethostname): Check for ENOMEM, which is
...
returned by OSX/Darwin if the specified buffer is not large
enough for the hostname.
2005-02-20 16:33:03 +00:00
Jim Meyering
c922e787b4
update from gnulib
2005-02-20 14:10:28 +00:00
Jim Meyering
7849e2b8e0
*** empty log message ***
2005-02-20 12:25:52 +00:00
Jim Meyering
0acdf67e2d
(libfetish_a_SOURCES): Remove linebuffer.[ch] and stripslash.c.
2005-02-20 12:25:43 +00:00
Jim Meyering
173bc2ea67
*** empty log message ***
2005-02-20 12:24:52 +00:00
Jim Meyering
f78bf85485
*** empty log message ***
2005-02-20 12:23:33 +00:00
Jim Meyering
384e3830bc
.
2005-02-17 20:28:22 +00:00
Jim Meyering
b32308597f
*** empty log message ***
2005-02-15 12:33:35 +00:00
Jim Meyering
bc9a87005f
*** empty log message ***
2005-02-15 12:29:47 +00:00
Jim Meyering
4e49c3974f
regenerate
2005-02-15 12:29:22 +00:00
Jim Meyering
3695d0212a
(human_fstype): Add case/definition for S_MAGIC_JFS
...
so that file systems of type `jfs' are recognized as such.
2005-02-15 12:23:40 +00:00
Jim Meyering
b353489b18
regen for XFS
2005-02-15 09:01:34 +00:00
Jim Meyering
265fe832fe
*** empty log message ***
2005-02-15 08:58:05 +00:00
Jim Meyering
9fea5777f3
(human_fstype): Add case/definition for S_MAGIC_XFS
...
so that file systems of type `xfs' are recognized as such.
2005-02-15 08:57:59 +00:00
Jim Meyering
df3411b4c3
*** empty log message ***
2005-02-15 08:56:43 +00:00
Jim Meyering
8edee9d8e5
*** empty log message ***
2005-02-15 08:20:55 +00:00
Jim Meyering
83f00235d7
(NZERO) [NZERO == 0]: Undefine and define to 20,
...
to work around the invalid definition from Darwin 7.7.0.
2005-02-15 08:20:49 +00:00
Jim Meyering
ad8ad412a5
*** empty log message ***
2005-02-15 08:18:26 +00:00
Paul Eggert
b6a2e5d39a
Add James Lemley.
2005-02-14 18:15:41 +00:00
Paul Eggert
058e9af0e3
* src/sort.c (mergefps): Use binary search rather than linear.
2005-02-14 18:04:43 +00:00
Paul Eggert
47a3ba5c45
(mergefps): Use binary search rather than linear one
...
when comparing new line to lines already in main memory.
2005-02-14 18:04:22 +00:00
Jim Meyering
017b3436b8
.
2005-02-13 08:15:24 +00:00
Jim Meyering
eda701b536
(gl_INTTOSTR): Use AC_LIBSOURCES to list the required source files.
2005-02-11 20:27:16 +00:00