The poll emulation is there for OSX.  If 10.4 Tiger (released this
week?) has this fixed, we can just remove it.  Getopt is there for
Windows compatibility.

Off the top of my head, Postgres is BSD licensed and runs on windows. 
They must have getopt compat function...



On Apr 1, 2005 7:10 AM, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
> getopt can be easily remeoved and command line parsing re-written, they
> are not coplex
> 
> as for emulated poll, not many unix systems are without the poll system
> call, we can remove this emulation for now and whene we have encounter
> such unix flaivor, we will see what can be done, it might have different
> name for it.
> 
> Zoran Vasiljevic wrote:
> >
> > Am 01.04.2005 um 05:02 schrieb Stephen Deasey:
> >
> >> I notice that there are two pieces of GPL-only source code in the core
> >> server distribution: the option parsing code in nsd/getopt.c, and an
> >> emulation of poll(2) using select(2) in nsd/unix.c.
> >>
> >> I think this means you cannot ship a binary under the MPL license as
> >> it contains GPL only code.  I'm sure there are BSD equivalents
> >> around...
> >>
> >
> > Do you happen to know any of alternative non-gpl implementations?
> > If not, I'd have to google arround and find one.
> > Thanks for spotting this.
> >
> > Zoran

Reply via email to