Re: OpenBSD-specific Perl problem

2005-06-30 Thread Todd C. Miller
> I bet accept() is getting EINTR. Try checking for that and restarting > the loop in that case. Here's the relevant bits from perlipc(1) Restartable system calls On systems that supported it, older versions of Perl used the SA_RESTART flag when installing %SIG han-

Re: OpenBSD-specific Perl problem

2005-06-30 Thread Todd C. Miller
In message <[EMAIL PROTECTED]> so spake Dan Brosemer (odin): > I've been trying to make a forking daemon in Perl with little success. The > whole daemon terminates as soon as the first child terminates. > > This exact same code performs as I'd expect (ie perfectly) on other > platforms (

Re: OpenBSD-specific Perl problem

2005-06-29 Thread jimmy
Quoting Dan Brosemer <[EMAIL PROTECTED]>: > I've been trying to make a forking daemon in Perl with little success. The > whole daemon terminates as soon as the first child terminates. > > This exact same code performs as I'd expect (ie perfectly) on other > platforms (even including win32/ActiveP

OpenBSD-specific Perl problem

2005-06-29 Thread Dan Brosemer
I've been trying to make a forking daemon in Perl with little success. The whole daemon terminates as soon as the first child terminates. This exact same code performs as I'd expect (ie perfectly) on other platforms (even including win32/ActivePerl) and so I'm wondering what it is about my OpenBS