diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2008-02-29 23:31:42 +0000 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2008-02-29 23:31:42 +0000 |
commit | da956ae76fa08924bb6c1bcd7323ef0566a0194b (patch) | |
tree | 226ad2fe0b046efe5ba31e23fdc48b88d91ffcf8 /src/bin/initdb/initdb.c | |
parent | c6f401573f1c439f018849131ac18f8199f7085c (diff) |
Don't call AddUserToDacl on Cygwin
Diffstat (limited to 'src/bin/initdb/initdb.c')
-rw-r--r-- | src/bin/initdb/initdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index b34b22d5ccb..abdb4d3f259 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -42,7 +42,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * Portions taken from FreeBSD. * - * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.152.2.1 2008/02/29 15:31:40 mha Exp $ + * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.152.2.2 2008/02/29 23:31:42 adunstan Exp $ * *------------------------------------------------------------------------- */ @@ -2349,7 +2349,9 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION * processInfo) return 0; } +#ifndef __CYGWIN__ AddUserToDacl(processInfo->hProcess); +#endif return ResumeThread(processInfo->hThread); } |