summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/src/commit.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1999-09-10 05:21:29 +0000
committertholo <tholo@openbsd.org>1999-09-10 05:21:29 +0000
commit66869a9e01fc26e99ebbd94c38eb41d1f36c75d3 (patch)
treec7a16054b5800966adb6cadd7a408cc42b8f0666 /gnu/usr.bin/cvs/src/commit.c
parentLatest version from Cyclic; skipped files (diff)
downloadwireguard-openbsd-66869a9e01fc26e99ebbd94c38eb41d1f36c75d3.tar.xz
wireguard-openbsd-66869a9e01fc26e99ebbd94c38eb41d1f36c75d3.zip
Integrate local changes
Diffstat (limited to 'gnu/usr.bin/cvs/src/commit.c')
-rw-r--r--gnu/usr.bin/cvs/src/commit.c5
1 files changed, 3 insertions, 2 deletions
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 */
}
}