Commit Graph

20225 Commits

Author SHA1 Message Date
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
Jim Meyering 1beb06ed13 *** empty log message *** 2005-02-11 20:27:02 +00:00
Jim Meyering 9a564239f5 Remove names of files that are now mentioned in AC_LIBSOURCES
and AC_LIBOBJ uses in inttostr.m4.

(libfetish_a_SOURCES): Remove imaxtostr.c,
offtostr.c, and umaxtostr.c.
(EXTRA_DIST): Remove inttostr.c and inttostr.h.
2005-02-11 20:26:57 +00:00
Jim Meyering 199d3f7f87 *** empty log message *** 2005-02-09 09:59:57 +00:00
Jim Meyering 0f25baf061 (gl_FUNC_GETCWD_NULL): Use AC_LIBSOURCES to list the required source files. 2005-02-09 09:59:53 +00:00
Jim Meyering 4738975f66 . 2005-02-09 09:58:07 +00:00
Jim Meyering 5eaf6e280a *** empty log message *** 2005-02-09 09:01:48 +00:00
Jim Meyering 045fbb6d7c * src/copy.c (valid_options): Add an assertion that
not both hard_link and symbolic_link are set.
2005-02-09 09:01:44 +00:00
Paul Eggert b068caba7b stat -f -c %S. 2005-02-08 21:39:23 +00:00
Paul Eggert 058d7358ed (STATFS_FRSIZE): New macro.
(print_statfs): Use it to implement %S.
(do_statfs): Change default formats to include %S.
(usage): Document %S (versus %s).
2005-02-08 21:38:53 +00:00