aboutsummaryrefslogtreecommitdiff
path: root/nss/getXXbyYY_r.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-18 17:31:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-18 17:31:43 +0000
commitae81730fad7e41f2eb348c62a778d10136073791 (patch)
tree825de015782dbc71c0ef0c87a1e35ade8393dae5 /nss/getXXbyYY_r.c
parent30f22ab12d9b04b42bfcca4fe732a55a41a5f11f (diff)
downloadglibc-ae81730fad7e41f2eb348c62a778d10136073791.tar
glibc-ae81730fad7e41f2eb348c62a778d10136073791.tar.gz
glibc-ae81730fad7e41f2eb348c62a778d10136073791.tar.bz2
glibc-ae81730fad7e41f2eb348c62a778d10136073791.zip
Update.
1999-07-18 Ulrich Drepper <drepper@cygnus.com> * inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address and return an error in this case. * nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if available.
Diffstat (limited to 'nss/getXXbyYY_r.c')
-rw-r--r--nss/getXXbyYY_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c
index a54ae67bb7..a9ce90128d 100644
--- a/nss/getXXbyYY_r.c
+++ b/nss/getXXbyYY_r.c
@@ -49,6 +49,10 @@
|* NEED__RES - the global _res variable might be used so we *|
|* will have to initialize it if necessary *|
|* *|
+|* PREPROCESS - code run before anything else *|
+|* *|
+|* POSTPROCESS - code run after the lookup *|
+|* *|
\*******************************************************************/
/* To make the real sources a bit prettier. */
@@ -115,6 +119,10 @@ INTERNAL (REENTRANT_NAME) (ADD_PARAMS, LOOKUP_TYPE *resbuf, char *buffer,
int nscd_status;
#endif
+#ifdef PREPROCESS
+ PREPROCESS;
+#endif
+
#ifdef HANDLE_DIGITS_DOTS
/* We have to test for the use of IPv6 which can only be done by
examining `_res'. */