[openbeosnetteam] Re: libbind.so status
- From: Philippe Houdoin <philippe.houdoin@xxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Fri, 16 Apr 2004 11:12:10 +0200
> It is fixed now. But our select() emulation crashes when used with Vision
> (uses libnet). Vision starts three threads which call select()
> simultaneously. Then, one dies.
Oh. Okay, some thread unsafety there.
I should look into this issue, will read some Vision code in the process!
> Yes, I thought this could get it smaller, but the resolv stuff seems to
> depend on many things. I will look if I can somehow drop many things out
> again, but last time it did not work...
[...]
> The README file in BIND says: the BIND resolver library can be found in
> lib/bind, so I compiled everything from there.
> Also, BONE's libbind.so is about 300k which is the same as ours (our old
BIND
> is a tenth of this size).
Okay then. I was just suprised by the fat BIND got recently.
> They say netdb.h should only contain gethostbyname(), not its
> gethostbyname_r() version, but Mozilla wants that one to be defined, too.
This is right, POSIX tends to specify what required, but you always can expand
on it. Just try to keep it clean. Before create or import new public header(s)
under public/posix, it's better to check if it's required by POSIX 1003.1.
Until our POSIX headers provides the required definitions, we can afford to
add some extra definitions, like reentrant functions versions.
> Actually, you may be toally right about the other headers that I moved into
> our public folder.
> Nobody will use them anyway. I only looked at what BONE exports and saw all
> these headers there, so I thought for full BONE compatibility we need all
> that, too.
But BONE headers were:
- frozen at BONE 7a, not definitive
- placed under develop/headers/be/bone/*, not develop/headers/posix/*.
I'm not in front of a BONE system, but IIRC, POSIX files like sys/socket.h are
mixed with BONE specific ones.
So, we need to sort out these headers, one by one.
So far, it looks good, except for the ISC headers and some ISC-only required
headers like fd_size.h, cdef.h.
> > I may not being best placed to debate about code as I recently dropped
> > out of OBOS top 10 contributors list ;-), but, well, here my point:
>
> This is why I did it. I wanted to become #1! :))
Oh oh, I already could hear and see weird sound and huge bouncing white
balloon...
;-)
> My main aim was to get something finished. You are right that we are slowly
> becoming a mess. Although, I always had the feeling our netstack is just a
> mess, too, and that we should just get things done and when it is finished
> we can clean everything up.
You mean, cleaning after the party?!
Argh. I always hate it.
But, we don't have other alternative, you're right.
Just try keep cleaness in mind.
-Philippe
- Follow-Ups:
- [openbeosnetteam] Re: libbind.so status
- From: Waldemar Kornewald
- References:
- [openbeosnetteam] Re: libbind.so status
- From: Philippe Houdoin
- [openbeosnetteam] Re: libbind.so status
- From: Waldemar Kornewald
Other related posts:
- » [openbeosnetteam] libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- » [openbeosnetteam] Re: libbind.so status
- [openbeosnetteam] Re: libbind.so status
- From: Waldemar Kornewald
- [openbeosnetteam] Re: libbind.so status
- From: Philippe Houdoin
- [openbeosnetteam] Re: libbind.so status
- From: Waldemar Kornewald