From 97c066e65af5d0a52d794d7fd81d7242ee46c49c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Oct 2011 10:30:03 -0400 Subject: [PATCH] Fix nesting of #ifdefs in netgroupcache.c --- ChangeLog | 4 ++++ nscd/netgroupcache.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 32a6a5dafd..755ca1d99f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-10-17 Ulrich Drepper + + * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting. + 2011-10-17 Andreas Schwab * misc/sys/cdefs.h: Fix last change. diff --git a/nscd/netgroupcache.c b/nscd/netgroupcache.c index a406ade995..02cda13644 100644 --- a/nscd/netgroupcache.c +++ b/nscd/netgroupcache.c @@ -406,10 +406,10 @@ addgetnetgrentX (struct database_dyn *db, int fd, request_header *req, # endif } else +#endif { -# ifndef __ASSUME_SENDFILE +#if defined HAVE_SENDFILE && !defined __ASSUME_SENDFILE use_write: -# endif #endif writeall (fd, &dataset->resp, dataset->head.recsize); }