summary refs log tree commit diff
path: root/nss/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-07-06 14:23:15 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-07-06 17:52:54 +0200
commit916124ed841745b7a1e0fbc43f9909340b47d373 (patch)
treec523c3829788b33588fdbc1953d889e8fa258ee7 /nss/Makefile
parent3f5e3f5d066dcffb80af48ae2cf35a01a85a8f10 (diff)
downloadglibc-916124ed841745b7a1e0fbc43f9909340b47d373.tar.gz
glibc-916124ed841745b7a1e0fbc43f9909340b47d373.tar.xz
glibc-916124ed841745b7a1e0fbc43f9909340b47d373.zip
nss_files: Fix re-reading of long lines [BZ #18991]
Use the new __libc_readline_unlocked function to pick up
reading at the same line in case the buffer needs to be enlarged.
Diffstat (limited to 'nss/Makefile')
-rw-r--r--nss/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile
index a5cd2aacae..66fac7f5b8 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -64,6 +64,7 @@ xtests			= bug-erange
 ifeq (yes,$(build-shared))
 tests += tst-nss-files-hosts-erange
 tests += tst-nss-files-hosts-multi
+tests += tst-nss-files-hosts-getent
 endif
 
 # If we have a thread library then we can test cancellation against
@@ -169,3 +170,4 @@ endif
 
 $(objpfx)tst-nss-files-hosts-erange: $(libdl)
 $(objpfx)tst-nss-files-hosts-multi: $(libdl)
+$(objpfx)tst-nss-files-hosts-getent: $(libdl)