Subject: Re: File::Tail is broken on NetBSD -current FFS
To: Charlie Allom <charlie@eatyourpets.com>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 05/04/2002 21:08:36
It _seems_ like that code uses select() on the descriptor. However,
select() on NetBSD (and I believe all *BSD*) returns
immediatelly for regular files. The semantics for regular files
might be different on Linux or Solaris.

Yes, obviously the author never tried the module on BSD, otherwise
he'd fix it to not depend on this particular feature of select().

Jaromir


Charlie Allom wrote:
-- Start of PGP signed section.
> On Sat, May 04, 2002 at 11:16:00AM -0700, Greywolf wrote:
> > Hey, Yeled,
> > 
> > Looks like you (unfortunately*) need to toss in a sleep (5), or even a
> > sleep (1) into the while(){} loop.
> 
> Thanks,
> 
> any idea why it would work on Solaris/Linux though?
> 
>   C.
> -- 
>  charlie@eatyourpets.com
>  http://eatyourpets.com/yeled/pgp.txt
>  FC8B 8727 8E82 5242 358C  8FC0 AA26 43C2 14AA 7941
-- End of PGP section, PGP failed!


-- 
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-