nss_files: Fix re-reading of long lines [BZ #18991]
commit916124ed841745b7a1e0fbc43f9909340b47d373
authorFlorian Weimer <fweimer@redhat.com>
Fri, 6 Jul 2018 12:23:15 +0000 (6 14:23 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 6 Jul 2018 15:52:54 +0000 (6 17:52 +0200)
treec523c3829788b33588fdbc1953d889e8fa258ee7
parent3f5e3f5d066dcffb80af48ae2cf35a01a85a8f10
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.
ChangeLog
nss/Makefile
nss/nss_files/files-XXX.c
nss/tst-nss-files-hosts-getent.c [new file with mode: 0644]