From 66869a9e01fc26e99ebbd94c38eb41d1f36c75d3 Mon Sep 17 00:00:00 2001 From: tholo Date: Fri, 10 Sep 1999 05:21:29 +0000 Subject: Integrate local changes --- gnu/usr.bin/cvs/src/commit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/cvs/src/commit.c') diff --git a/gnu/usr.bin/cvs/src/commit.c b/gnu/usr.bin/cvs/src/commit.c index 61e25de9e2e..c4cbd24f18e 100644 --- a/gnu/usr.bin/cvs/src/commit.c +++ b/gnu/usr.bin/cvs/src/commit.c @@ -676,9 +676,10 @@ commit (argc, argv) { time_t now; - (void) time (&now); - if (now == last_register_time) + for (;;) { + (void) time (&now); + if (now != last_register_time) break; sleep (1); /* to avoid time-stamp races */ } } -- cgit v1.2.3-59-g8ed1b