From: Tom Lane Date: Sat, 29 May 1999 03:58:43 +0000 (+0000) Subject: Missing semicolons in non-HAS_TEST_AND_SET code paths :-( X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=484ff18c1cc497d04ff6fabd775de1e33ae86900;p=users%2Fbernd%2Fpostgres.git Missing semicolons in non-HAS_TEST_AND_SET code paths :-( --- 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;