1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-01 05:02:03 +03:00

Fix nesting of #ifdefs in netgroupcache.c

This commit is contained in:
Ulrich Drepper
2011-10-17 10:30:03 -04:00
parent 49a43d80ec
commit 97c066e65a
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2011-10-17 Ulrich Drepper <drepper@gmail.com>
* nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2011-10-17 Andreas Schwab <schwab@redhat.com> 2011-10-17 Andreas Schwab <schwab@redhat.com>
* misc/sys/cdefs.h: Fix last change. * misc/sys/cdefs.h: Fix last change.

View File

@@ -406,10 +406,10 @@ addgetnetgrentX (struct database_dyn *db, int fd, request_header *req,
# endif # endif
} }
else else
#endif
{ {
# ifndef __ASSUME_SENDFILE #if defined HAVE_SENDFILE && !defined __ASSUME_SENDFILE
use_write: use_write:
# endif
#endif #endif
writeall (fd, &dataset->resp, dataset->head.recsize); writeall (fd, &dataset->resp, dataset->head.recsize);
} }