Skip to content

Commit

Permalink
warn about newfangled vfork() caveats
Browse files Browse the repository at this point in the history
p4raw-id: //depot/perl@3147
  • Loading branch information
Gurusamy Sarathy committed Mar 24, 1999
1 parent ca63f0d commit 454f288
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Configure
Original file line number Diff line number Diff line change
Expand Up @@ -10156,7 +10156,16 @@ $define)
false) dflt='n';;
*) dflt='y';;
esac
rp="Some systems have problems with vfork(). Do you want to use it?"
cat <<'EOM'

Perl can only use a vfork() that doesn't suffer from strict
restrictions on calling functions or modifying global data in
the child. For example, glibc-2.1 contains such a vfork()
that is unsuitable. If your system provides a proper fork()
call, chances are that you do NOT want perl to use vfork().

EOM
rp="Do you still want to use vfork()?"
. ./myread
case "$ans" in
y|Y) ;;
Expand Down

0 comments on commit 454f288

Please sign in to comment.