Skip to content
Snippets Groups Projects
Commit 390c1485 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

More cleanup.

parent 256ee0d5
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.36 2004/08/29 05:06:44 momjian Exp $ * $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.37 2004/09/10 14:24:25 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -373,7 +373,7 @@ PGSharedMemoryDetach(void) ...@@ -373,7 +373,7 @@ PGSharedMemoryDetach(void)
if (UsedShmemSegAddr != NULL) if (UsedShmemSegAddr != NULL)
{ {
if ((shmdt(UsedShmemSegAddr) < 0) if ((shmdt(UsedShmemSegAddr) < 0)
#if (defined(EXEC_BACKEND) && defined(__CYGWIN__)) #if defined(EXEC_BACKEND) && defined(__CYGWIN__)
/* Work-around for cygipc exec bug */ /* Work-around for cygipc exec bug */
&& shmdt(NULL) < 0 && shmdt(NULL) < 0
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment