resolver configuration handling.
authordrepper <drepper>
Wed, 22 Aug 2007 03:12:31 +0000 (03:12 +0000)
committerdrepper <drepper>
Wed, 22 Aug 2007 03:12:31 +0000 (03:12 +0000)
nscd/res_hconf.c [new file with mode: 0644]

diff --git a/nscd/res_hconf.c b/nscd/res_hconf.c
new file mode 100644 (file)
index 0000000..14b0e30
--- /dev/null
@@ -0,0 +1,13 @@
+/* Add the include here so that we can redefine __fxprintf.  */
+#include <stdio.h>
+
+/* Rename symbols for protected names used in libc itself.  */
+#define __ioctl ioctl
+#define __socket socket
+#define __strchrnul strchrnul
+#define __strncasecmp strncasecmp
+
+#define __fxprintf(args...) /* ignore */
+
+
+#include "../resolv/res_hconf.c"