summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-07-06 16:53:48 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-07-06 17:52:54 +0200
commit3f5e3f5d066dcffb80af48ae2cf35a01a85a8f10 (patch)
tree2eb99509fbdfb5f61ee40bdf634c63f092b85ae2 /ChangeLog
parent397c54c1afa531242602fe3ac7bb47eff0e909f9 (diff)
libio: Implement internal function __libc_readline_unlocked
This is a variant of fgets which fails with ERANGE if the buffer is too small, and the buffer length is given as an argument of type size_t. This function will be useful for implementing NSS file reading operations. Compared to a direct implementation using the public API, it avoids an lseek system call in case the line terminator can be found in the internal read buffer.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b8bf88772b..51e6bdcefc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2018-07-06 Florian Weimer <fweimer@redhat.com>
+
+ * include/stdio.h (__libc_readline_unlocked): Declare.
+ (__ftello64, __fseeko64): Declare aliases.
+ * libio/readline.c: New file.
+ * libio/tst-readline.c: Likewise.
+ (routines): Add readline.
+ (tests-internal): Add tst-readlime.
+ * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
+ __libc_readline_unlocked.
+ * libio/fseeko.c (__fseeko): Rename from fseeko.
+ (fseeko): Add alias.
+ [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
+ * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
+ (fseeko64): Add alias.
+ * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
+ * libio/ftello64.c (__ftello64): Rename from ftello64.
+ (ftello64): Add alias.
+
2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add