Re: win32 testers? [Re: child watch source (was: exception trap in key snooper callback)]



On Sun, Sep 7, 2008 at 12:13 PM, muppet <scott asofyet org> wrote:
On Aug 26, 2008, at 8:29 PM, Kevin Ryde wrote:
Below, with a couple of lines to hopefully skip if fork() isn't a real
fork, but I've got no way to try that.

Any win32 users willing to try out this patchset?

When the fork() function is called, $pid is assigned 0, which causes
the call to POSIX::_exit(42) to be run in test 9.t;

  if ($pid == 0) {
    # child
    require POSIX;
    POSIX::_exit(42);
  }

I don't know if this is by design.  I'm re-reading PERLWIN32 right now
to see if it says anything about how fork()ing is done on Windows.

Attached is the output of prove and perl t/9.t.  Let me know if you
need something else/different.

Thanks,

Brian

Attachment: 9.t.prove-07Sep2008-2336PDT
Description: Binary data

Attachment: 9.t.test_run-07Sep2008-2337PDT
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]