ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-Fork/Fork.pm
(Generate patch)

Comparing AnyEvent-Fork/Fork.pm (file contents):
Revision 1.67 by root, Thu May 12 16:54:01 2016 UTC vs.
Revision 1.68 by root, Sat May 21 07:01:58 2016 UTC

556 556
557 if ($pid eq 0) { 557 if ($pid eq 0) {
558 require AnyEvent::Fork::Serve; 558 require AnyEvent::Fork::Serve;
559 $AnyEvent::Fork::Serve::OWNER = $parent; 559 $AnyEvent::Fork::Serve::OWNER = $parent;
560 close $fh; 560 close $fh;
561 $0 = "$_[1] of $parent"; 561 $0 = "$AnyEvent::Fork::Serve::OWNER AnyEvent::Fork/exec";
562 AnyEvent::Fork::Serve::serve ($slave); 562 AnyEvent::Fork::Serve::serve ($slave);
563 exit 0; 563 exit 0;
564 } elsif (!$pid) { 564 } elsif (!$pid) {
565 die "AnyEvent::Fork::Early/Template: unable to fork template process: $!"; 565 die "AnyEvent::Fork::Early/Template: unable to fork template process: $!";
566 } 566 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines