OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df555e
)
libc/inet: mark other odd /etc/conf/ spot
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sat, 23 Jan 2010 20:29:19 +0000
(21:29 +0100)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sat, 23 Jan 2010 20:29:19 +0000
(21:29 +0100)
and wrap it in FALLBACK_TO_CONFIG_RESOLVCONF too. -24b
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/inet/resolv.c
patch
|
blob
|
history
diff --git
a/libc/inet/resolv.c
b/libc/inet/resolv.c
index
abb84df
..
4087f8d
100644
(file)
--- a/
libc/inet/resolv.c
+++ b/
libc/inet/resolv.c
@@
-1539,7
+1539,9
@@
FILE * __open_etc_hosts(void)
{
FILE * fp;
if ((fp = fopen("/etc/hosts", "r")) == NULL) {
+#ifdef FALLBACK_TO_CONFIG_RESOLVCONF
fp = fopen("/etc/config/hosts", "r");
+#endif
}
return fp;
}