Jim Meyering [Thu, 6 Jan 2000 21:31:48 +0000 (21:31 +0000)]
Sync with the GNU C Library.
Jim Meyering [Thu, 6 Jan 2000 21:01:06 +0000 (21:01 +0000)]
Add #pragma STDC FENV_ACCESS ON if C99.
Jim Meyering [Thu, 6 Jan 2000 18:25:03 +0000 (18:25 +0000)]
Sync tm_diff with the GNU C Library.
(TM_YEAR_BASE): Renamed from TM_YEAR_ORIGIN. All uses changed.
(tm_diff): Renamed from difftm. All uses changed.
Replace body with that taken from GNU C Library 2.1.3pre1.
(get_date): Prefer tm_gmtoff to tm_diff if available.
Jim Meyering [Thu, 6 Jan 2000 18:24:51 +0000 (18:24 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Jan 2000 17:13:39 +0000 (17:13 +0000)]
.
Jim Meyering [Thu, 6 Jan 2000 16:01:57 +0000 (16:01 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Jan 2000 16:01:43 +0000 (16:01 +0000)]
Tell the user just before sleeping for 7 seconds.
Jim Meyering [Thu, 6 Jan 2000 15:59:06 +0000 (15:59 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Jan 2000 15:58:55 +0000 (15:58 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Jan 2000 15:58:47 +0000 (15:58 +0000)]
(TESTS): Remove fflush. It didn't
test the losing behavior, and left a stray tail process to boot.
Jim Meyering [Thu, 6 Jan 2000 08:35:45 +0000 (08:35 +0000)]
add blank line
Jim Meyering [Thu, 6 Jan 2000 08:35:21 +0000 (08:35 +0000)]
(apply_suffix): Comment.
Jim Meyering [Thu, 6 Jan 2000 08:29:10 +0000 (08:29 +0000)]
fix typo in comment
Jim Meyering [Thu, 6 Jan 2000 08:28:39 +0000 (08:28 +0000)]
Minor code cleanup.
(clock_get_realtime): Return argument, for convenience.
(main): Use this to simplify main sleep loop.
Jim Meyering [Wed, 5 Jan 2000 14:08:05 +0000 (14:08 +0000)]
*** empty log message ***
Jim Meyering [Wed, 5 Jan 2000 12:19:48 +0000 (12:19 +0000)]
*** empty log message ***
Jim Meyering [Wed, 5 Jan 2000 12:19:04 +0000 (12:19 +0000)]
.
Jim Meyering [Wed, 5 Jan 2000 12:17:59 +0000 (12:17 +0000)]
Include nanosleep.h.
(AUTHORS): Add Paul Eggert.
Jim Meyering [Wed, 5 Jan 2000 12:17:19 +0000 (12:17 +0000)]
Add #pragma STDC FENV_ACCESS ON if C99.
(<fenv.h>): Include if available.
(main): Always round floating-point interval calculations upwards,
as we must sleep for at least the specified time.
Do the right thing with NaNs.
Jim Meyering [Wed, 5 Jan 2000 12:06:39 +0000 (12:06 +0000)]
whoops. fix typos
Jim Meyering [Wed, 5 Jan 2000 12:03:53 +0000 (12:03 +0000)]
Include nanosleep.h.
Don't include time.h or sys/time.h here.
Jim Meyering [Wed, 5 Jan 2000 12:03:06 +0000 (12:03 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 Jan 2000 22:54:54 +0000 (22:54 +0000)]
(savedir): Don't store past the end of an array if
name_size is zero and the directory is empty.
Jim Meyering [Tue, 4 Jan 2000 17:18:15 +0000 (17:18 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 Jan 2000 17:18:05 +0000 (17:18 +0000)]
Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
Jim Meyering [Tue, 4 Jan 2000 17:16:48 +0000 (17:16 +0000)]
bump serial #
Jim Meyering [Tue, 4 Jan 2000 17:16:34 +0000 (17:16 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 Jan 2000 17:16:26 +0000 (17:16 +0000)]
(jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from jm_STRUCT_DIRENT_D_TYPE.
Jim Meyering [Tue, 4 Jan 2000 17:15:32 +0000 (17:15 +0000)]
(jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from jm_STRUCT_DIRENT_D_INO.
Jim Meyering [Tue, 4 Jan 2000 17:13:58 +0000 (17:13 +0000)]
(jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from jm_STRUCT_UTIMBUF.
Jim Meyering [Tue, 4 Jan 2000 17:12:45 +0000 (17:12 +0000)]
(jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
Jim Meyering [Tue, 4 Jan 2000 17:12:12 +0000 (17:12 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 Jan 2000 15:11:03 +0000 (15:11 +0000)]
.
Jim Meyering [Tue, 4 Jan 2000 13:20:15 +0000 (13:20 +0000)]
(PREV_VERSION): Tweak so it handles e.g., 2.0a -> 2.0.
(alpha): Create xdelta diffs.
Jim Meyering [Tue, 4 Jan 2000 12:24:49 +0000 (12:24 +0000)]
(PREV_VERSION): Tweak so it handles e.g., 2.0a -> 2.0.
Jim Meyering [Mon, 3 Jan 2000 19:59:04 +0000 (19:59 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Jan 2000 19:58:56 +0000 (19:58 +0000)]
tweak comment
Jim Meyering [Mon, 3 Jan 2000 19:58:09 +0000 (19:58 +0000)]
(jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
(for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
Jim Meyering [Sun, 2 Jan 2000 16:00:44 +0000 (16:00 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 15:59:32 +0000 (15:59 +0000)]
.
Jim Meyering [Sun, 2 Jan 2000 15:57:02 +0000 (15:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 09:59:01 +0000 (09:59 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 09:58:53 +0000 (09:58 +0000)]
Escape `$' in $3 of dnl comment. I no longer remember if this is necessary.
Jim Meyering [Sun, 2 Jan 2000 09:53:03 +0000 (09:53 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 09:52:32 +0000 (09:52 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 09:50:15 +0000 (09:50 +0000)]
sleep accepts arbitrary floating point numbers.
Jim Meyering [Sun, 2 Jan 2000 09:31:15 +0000 (09:31 +0000)]
update usage
Jim Meyering [Sun, 2 Jan 2000 09:13:17 +0000 (09:13 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 09:12:55 +0000 (09:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 09:11:55 +0000 (09:11 +0000)]
.
Jim Meyering [Sun, 2 Jan 2000 08:57:49 +0000 (08:57 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 08:53:30 +0000 (08:53 +0000)]
Remove non-POSIX warning about trailing-slashed symlink-to-directory.
Jim Meyering [Sun, 2 Jan 2000 08:51:39 +0000 (08:51 +0000)]
New option: --strip-trailing-slashes.
Jim Meyering [Sun, 2 Jan 2000 08:45:43 +0000 (08:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 07:41:02 +0000 (07:41 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Jan 2000 07:40:24 +0000 (07:40 +0000)]
(#pragma alloca): Add if _AIX is defined.
(path-concat.h): Include.
(show_point): If HAVE_REALPATH or HAVE_RESOLVEPATH is defined,
find the real absolute path for PATH, and use that to find the
mount point.
(show_point): Prefer non-dummy entries in shortcuts, too.
Disable bogus mount dirs instead of restatting them each time.
Jim Meyering [Sun, 2 Jan 2000 07:09:54 +0000 (07:09 +0000)]
(my_strftime): Some old compilers object to
'\a', so don't bother optimizing for it.
Jim Meyering [Sat, 1 Jan 2000 20:00:28 +0000 (20:00 +0000)]
*** empty log message ***
Jim Meyering [Sat, 1 Jan 2000 19:56:56 +0000 (19:56 +0000)]
.
Jim Meyering [Sat, 1 Jan 2000 09:43:40 +0000 (09:43 +0000)]
*** empty log message ***
Jim Meyering [Thu, 30 Dec 1999 09:09:38 +0000 (09:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 30 Dec 1999 09:09:03 +0000 (09:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 30 Dec 1999 09:07:31 +0000 (09:07 +0000)]
*** empty log message ***
Jim Meyering [Thu, 30 Dec 1999 09:07:13 +0000 (09:07 +0000)]
(remove_parents, main): Don't pass errno to error
when printing "removing directory" message. Failure of rmdir is
handled elsewhere.
Jim Meyering [Mon, 27 Dec 1999 16:31:56 +0000 (16:31 +0000)]
.
Jim Meyering [Mon, 27 Dec 1999 16:30:45 +0000 (16:30 +0000)]
.
Jim Meyering [Mon, 27 Dec 1999 16:30:20 +0000 (16:30 +0000)]
minor var. renamings
Jim Meyering [Mon, 27 Dec 1999 15:57:26 +0000 (15:57 +0000)]
tweak --help
Jim Meyering [Mon, 27 Dec 1999 14:17:39 +0000 (14:17 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Dec 1999 10:19:40 +0000 (10:19 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Dec 1999 10:16:18 +0000 (10:16 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Dec 1999 10:03:46 +0000 (10:03 +0000)]
*** empty log message ***
Jim Meyering [Sun, 26 Dec 1999 10:02:31 +0000 (10:02 +0000)]
(jm_FUNC_NANOSLEEP): New file/macro.
Jim Meyering [Sun, 26 Dec 1999 09:40:16 +0000 (09:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 25 Dec 1999 22:15:23 +0000 (22:15 +0000)]
*** empty log message ***
Jim Meyering [Sat, 25 Dec 1999 20:00:21 +0000 (20:00 +0000)]
Use < rather than >.
(main): Normalize ts_stop.
Jim Meyering [Thu, 23 Dec 1999 15:28:02 +0000 (15:28 +0000)]
.
Jim Meyering [Thu, 23 Dec 1999 15:09:17 +0000 (15:09 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 14:34:38 +0000 (14:34 +0000)]
(USE_CLOCK_GETTIME): Define.
[USE_CLOCK_GETTIME]: Include sys/time.h.
(timespec_subtract): New function.
(clock_get_realtime): New function.
(sighandler): Remove function.
(main): Reimplement again, using nanosleep and clock_gettime.
Jim Meyering [Thu, 23 Dec 1999 14:25:17 +0000 (14:25 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 11:56:32 +0000 (11:56 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 11:55:58 +0000 (11:55 +0000)]
Check for clock_gettime (moved from fileutils/configure.in)
Check for gettimeofday.
Jim Meyering [Thu, 23 Dec 1999 11:54:36 +0000 (11:54 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 09:56:01 +0000 (09:56 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 09:51:50 +0000 (09:51 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 09:50:31 +0000 (09:50 +0000)]
.
Jim Meyering [Thu, 23 Dec 1999 09:49:59 +0000 (09:49 +0000)]
.
Jim Meyering [Thu, 23 Dec 1999 09:34:57 +0000 (09:34 +0000)]
*** empty log message ***
Jim Meyering [Thu, 23 Dec 1999 09:34:48 +0000 (09:34 +0000)]
(usage): Correct typos.
List new --target-directory=... usage.
Reported by Göran Uddeborg
Jim Meyering [Thu, 23 Dec 1999 09:34:25 +0000 (09:34 +0000)]
(usage): List new --target-directory=... usage.
Jim Meyering [Wed, 22 Dec 1999 20:49:19 +0000 (20:49 +0000)]
rewrite expression (equivalently) at request of Paul Eggert
Jim Meyering [Wed, 22 Dec 1999 16:51:48 +0000 (16:51 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 16:32:24 +0000 (16:32 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 16:32:07 +0000 (16:32 +0000)]
(ceil_percent): Remove.
(show_dev): Avoid overflow problems when calculating percent.
Do not display negative percents.
Jim Meyering [Wed, 22 Dec 1999 14:30:45 +0000 (14:30 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 14:30:23 +0000 (14:30 +0000)]
Use $file, not $tmp/file. Exit 77 if run as root.
Jim Meyering [Wed, 22 Dec 1999 11:18:06 +0000 (11:18 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 11:15:26 +0000 (11:15 +0000)]
*** empty log message ***
Jim Meyering [Wed, 22 Dec 1999 11:15:15 +0000 (11:15 +0000)]
(regress-1): New test for the above.
Jim Meyering [Wed, 22 Dec 1999 11:14:30 +0000 (11:14 +0000)]
*** empty log message ***