Skip to content

Commit dfefad7

Browse files
committed
Missing semicolons in non-HAS_TEST_AND_SET code paths :-(
1 parent 1bdd7c6 commit dfefad7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/storage/buffer/bufmgr.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.52 1999/05/25 16:10:58 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.53 1999/05/29 03:58:43 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2028,8 +2028,8 @@ LockBuffer(Buffer buffer, int mode)
20282028
S_LOCK(&(buf->cntx_lock));
20292029
#else
20302030
IpcSemaphoreUnlock(WaitCLSemId, 0, IpcExclusiveLock);
2031-
s_lock_sleep(i++)
2032-
IpcSemaphoreLock(WaitCLSemId, 0, IpcExclusiveLock);
2031+
s_lock_sleep(i++);
2032+
IpcSemaphoreLock(WaitCLSemId, 0, IpcExclusiveLock);
20332033
#endif
20342034
}
20352035
(buf->r_locks)++;
@@ -2054,8 +2054,8 @@ LockBuffer(Buffer buffer, int mode)
20542054
S_LOCK(&(buf->cntx_lock));
20552055
#else
20562056
IpcSemaphoreUnlock(WaitCLSemId, 0, IpcExclusiveLock);
2057-
s_lock_sleep(i++)
2058-
IpcSemaphoreLock(WaitCLSemId, 0, IpcExclusiveLock);
2057+
s_lock_sleep(i++);
2058+
IpcSemaphoreLock(WaitCLSemId, 0, IpcExclusiveLock);
20592059
#endif
20602060
}
20612061
buf->w_lock = true;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy