aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index d348d9b..07cbd4d 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -655,7 +655,7 @@ child_info_spawn::get_parent_handle ()
void
child_info_spawn::handle_spawn ()
{
- extern void fixup_lockf_after_exec ();
+ extern void fixup_lockf_after_exec (bool);
HANDLE h;
if (!dynamically_loaded || get_parent_handle ())
{
@@ -706,7 +706,7 @@ child_info_spawn::handle_spawn ()
}
signal_fixup_after_exec ();
- fixup_lockf_after_exec ();
+ fixup_lockf_after_exec (type == _CH_EXEC);
}
/* Retrieve and store system directory for later use. Note that the