Skip to content
Snippets Groups Projects
Commit 6c61bd68 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Minor change.

Rev: src/modules/files/efuns.c:1.40
parent ec2d62bb
No related branches found
No related tags found
No related merge requests found
......@@ -546,10 +546,11 @@ void f_fork(INT32 args)
do_set_close_on_exec();
pop_n_elems(args);
#if defined(HAVE_FORK1) && defined(_REENTRANT)
push_int(res=fork1());
res = fork1();
#else
push_int(res=fork());
res = fork();
#endif
push_int(res);
if(!res && res!=-1)
{
call_callback(&fork_child_callback, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment