More cleanup.
This commit is contained in:
parent
256ee0d5f3
commit
390c148557
@ -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)
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user