summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index ac42aaa3b..0ae0675d5 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -657,6 +657,7 @@ child_info_fork::handle_fork ()
void
child_info_spawn::handle_spawn ()
{
+ extern void fixup_lockf_after_exec ();
HANDLE h;
cygheap_fixup_in_child (true);
memory_init ();
@@ -689,6 +690,7 @@ child_info_spawn::handle_spawn ()
old_title = strcpy (title_buf, moreinfo->old_title);
cfree (moreinfo->old_title);
}
+ fixup_lockf_after_exec ();
}
void __stdcall