rtems libbsd gethostbyname did not work

Chris Johns chrisj at rtems.org
Mon Jul 4 06:56:25 UTC 2016


On 04/07/2016 16:16, Sebastian Huber wrote:
> On 04/07/16 08:06, Chris Johns wrote:
>>> Use the "default-init.h" of the libbsd as an example.
>>
>> Should LibBSD check the value before starting and print a warning if
>> too low? I am sure lots of people will have this issue.
>
> Yes, we had some e-mails due to a lack of resources in the
> configuration. Knowing the value is the hard thing. Not everyone wants
> to use unlimited objects or needs components that require rwlocks.

What is the error message generated? I have not seen it. If it is made 
more user friendly would that help?

> I
> would rather make the POSIX objects self-contained to get rid of the
> root cause of this problem or provide better diagnostics.

The checks can be removed once something has been improved.

Chris



More information about the users mailing list