Skip to content

Commit 4b7b9a7

Browse files
committed
Fix incorrect use of shm_unlink where unlink should be used.
Per buildfarm.
1 parent 264aa14 commit 4b7b9a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/ipc/dsm_impl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ dsm_impl_mmap(dsm_op op, dsm_handle handle, uint64 request_size,
864864
save_errno = errno;
865865
close(fd);
866866
if (op == DSM_OP_CREATE)
867-
shm_unlink(name);
867+
unlink(name);
868868
errno = save_errno;
869869

870870
ereport(elevel,

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