File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 4242 * Portions Copyright (c) 1994, Regents of the University of California
4343 * Portions taken from FreeBSD.
4444 *
45- * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.154 2008/02/29 15 :31:33 mha Exp $
45+ * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.155 2008/02/29 23 :31:20 adunstan Exp $
4646 *
4747 *-------------------------------------------------------------------------
4848 */
@@ -2346,7 +2346,9 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION * processInfo)
23462346 return 0 ;
23472347 }
23482348
2349+ #ifndef __CYGWIN__
23492350 AddUserToDacl (processInfo -> hProcess );
2351+ #endif
23502352
23512353 return ResumeThread (processInfo -> hThread );
23522354}
Original file line number Diff line number Diff line change 44 *
55 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
66 *
7- * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.95 2008/02/29 15 :31:33 mha Exp $
7+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.96 2008/02/29 23 :31:20 adunstan Exp $
88 *
99 *-------------------------------------------------------------------------
1010 */
@@ -1469,7 +1469,9 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION * processInfo)
14691469 }
14701470 }
14711471
1472+ #ifndef __CYGWIN__
14721473 AddUserToDacl (processInfo -> hProcess );
1474+ #endif
14731475
14741476 CloseHandle (restrictedToken );
14751477
You can’t perform that action at this time.
0 commit comments