From 484ff18c1cc497d04ff6fabd775de1e33ae86900 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 29 May 1999 03:58:43 +0000 Subject: [PATCH] Missing semicolons in non-HAS_TEST_AND_SET code paths :-( --- src/backend/storage/buffer/bufmgr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c index 03c7ffd61b..7c7f1ecfe4 100644 --- a/src/backend/storage/buffer/bufmgr.c +++ b/src/backend/storage/buffer/bufmgr.c @@ -2028,8 +2028,8 @@ LockBuffer(Buffer buffer, int mode) S_LOCK(&(buf->cntx_lock)); #else IpcSemaphoreUnlock(WaitCLSemId, 0, IpcExclusiveLock); - s_lock_sleep(i++) - IpcSemaphoreLock(WaitCLSemId, 0, IpcExclusiveLock); + s_lock_sleep(i++); + IpcSemaphoreLock(WaitCLSemId, 0, IpcExclusiveLock); #endif } (buf->r_locks)++; @@ -2054,8 +2054,8 @@ LockBuffer(Buffer buffer, int mode) S_LOCK(&(buf->cntx_lock)); #else IpcSemaphoreUnlock(WaitCLSemId, 0, IpcExclusiveLock); - s_lock_sleep(i++) - IpcSemaphoreLock(WaitCLSemId, 0, IpcExclusiveLock); + s_lock_sleep(i++); + IpcSemaphoreLock(WaitCLSemId, 0, IpcExclusiveLock); #endif } buf->w_lock = true; -- 2.39.5