fix PL_cleanup_fork (avoid two definitions).
This commit is contained in:
parent
0ca38f0b57
commit
c9e150bab7
@ -2888,13 +2888,6 @@ PL_foreign_context_address(control_t ctx)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
X_API void
|
|
||||||
PL_cleanup_fork(void)
|
|
||||||
{
|
|
||||||
Yap_CloseStreams(FALSE);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
SWI_ctime(void)
|
SWI_ctime(void)
|
||||||
{
|
{
|
||||||
|
@ -868,7 +868,7 @@ in use by Prolog. This can't work as the table is guarded by a mutex.
|
|||||||
Now we use the FD_CLOEXEC flag in Snew();
|
Now we use the FD_CLOEXEC flag in Snew();
|
||||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
|
||||||
|
|
||||||
void
|
X_API void
|
||||||
PL_cleanup_fork(void)
|
PL_cleanup_fork(void)
|
||||||
{ stopItimer();
|
{ stopItimer();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user