[openbeosnetteam] Re: fixed DNS resolver bug
- From: "Philippe Houdoin" <philippe.houdoin@xxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Mon, 13 Oct 2003 22:25:00 GMT
> > I haven't tried it, but do we need the h_errno definition in
> > netdb.h at
> > all?
>
> Actually not. :)
> I can remove it later.
>
> Another solution could be to leave the h_errno declaration in netdb.h
> and remove the macro. I think Linux, NetBSD and FreeBSD do it this way.
> Does this mean the value can be changed by the app, too?
> I thought only libnet.so should be allowed to change h_errno.
R5's net_server libnet.so export it:
$ nm libnet.so | grep h_errno
0000a530 T _h_errnop
0002fb5c B h_errno
So, that accessible to any app.
I doubtfully that any app ever use that possibility, however.
- Philippe
--
Fortune Cookie Says:
"Now the Lord God planted a garden East of Whittier in a place called
Yorba Linda, and out of the ground he made to grow orange trees that
were good for food and the fruits thereof he labeled SUNKIST ..."
-- "The Begatting of a President"
- References:
- [openbeosnetteam] Re: fixed DNS resolver bug
- From: Waldemar Kornewald
Other related posts:
- » [openbeosnetteam] fixed DNS resolver bug
- » [openbeosnetteam] Re: fixed DNS resolver bug
- » [openbeosnetteam] Re: fixed DNS resolver bug
- » [openbeosnetteam] Re: fixed DNS resolver bug
- » [openbeosnetteam] Re: fixed DNS resolver bug
- [openbeosnetteam] Re: fixed DNS resolver bug
- From: Waldemar Kornewald