8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 12:03:02 +01:00

Don't call vfork recursively on MacOSX

This commit is contained in:
paulbeach 2008-02-12 10:59:44 +00:00
parent 9103630deb
commit c182d673be

View File

@ -2465,9 +2465,10 @@ static void service_fork(TEXT* service_path, Service* service)
break;
case 0:
#ifndef DARWIN
if (vfork() > 0)
_exit(FINI_OK);
#endif
close(pair1[0]);
close(pair2[1]);
if (pair2[0] != 0) {