Juha Niskanen
b34d7bf56d
libc/netdb: support multiple DNS nameservers when not using resolv.conf
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-04-27 19:52:24 +08:00
Xiang Xiao
07c3b16462
libc/netdb: Replace get_errno with errno
...
and fix the typo error
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I51e2e4dbdb46fea89f4e18a41d99b943b03cedab
2020-03-30 09:47:28 -06:00
Gregory Nutt
266849549a
libs/libc/netdb/lib_dnsaddserver.c: Fix wrong fopen() mode.
...
dns_add_nameserver(): As reported by Surya Prakash Verma, call to
fopen() used nonexistent file open mode "at"; changed this to "r"
per Surya's analysis. See Surya's email to dev@ on 12 Mar 2020,
archived here: https://lists.apache.org/thread.html/rbbbee93f79dd8f4224969bb03bf093d8c96421380a1d955167a2f661%40%3Cdev.nuttx.apache.org%3E
2020-03-14 01:19:11 +01:00
Xiang Xiao
e26fa54252
libs/libc/netdb: Support the nameserver change notification then we can pass dns info from server to client in usrsock case.
2019-03-19 10:02:10 -06:00
Juha Niskanen
3e7281e699
libs/libc/netdb: Support multiple IP addresses per hostname
2018-11-23 07:09:47 -06:00
Gregory Nutt
cf99fb40c9
This commit moves all of the libraries under a common directory called libs/. This most certainly break libcxx and uClibc++ for now.
...
Squashed commit of the following:
libs/libxx: Fix some confusing in naming. If the directory is called libxx, then the library must be libxx.a (unless perhaps LIBCXX is selected).
libs/: Fix paths in moved library directories.
libs: Brute force move of libc, libnx, and libxx to libs. Cannot yet build it in that configuration.
2018-05-29 13:21:26 -06:00