libio: Implement internal function __libc_readline_unlocked

Message ID 6a5f6405-c7f7-56ce-6256-653773a8728c@redhat.com
State Committed
Headers

Commit Message

Florian Weimer July 10, 2018, 9:13 a.m. UTC
  On 07/06/2018 08:28 PM, Jonathan Nieder wrote:
> optional: could put 2018 here, since this will have been first
> published as part of glibc in 2018.

Thanks for review.  I fixed that in a follow-up commit, it should have 
been 2018.  I forgot how old these patches were.

Florian
  

Patch

Subject: [PATCH COMMITTED] Fix copyright years in recent commits
To: libc-alpha@sourceware.org

2018-07-10  Florian Weimer  <fweimer@redhat.com>

	* libio/readline.c: Fix copyright year.
	* libio/tst-readline.c Likewise.
	* nss/tst-nss-files-hosts-getent.c: Likewise.

diff --git a/libio/readline.c b/libio/readline.c
index 3638459176..3372ba2999 100644
--- a/libio/readline.c
+++ b/libio/readline.c
@@ -1,5 +1,5 @@ 
 /* fgets with ERANGE error reporting and size_t buffer length.
-   Copyright (C) 2017 Free Software Foundation, Inc.
+   Copyright (C) 2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
diff --git a/libio/tst-readline.c b/libio/tst-readline.c
index 60c58c650a..9322ef68da 100644
--- a/libio/tst-readline.c
+++ b/libio/tst-readline.c
@@ -1,5 +1,5 @@ 
 /* Test the __libc_readline_unlocked function.
-   Copyright (C) 2017 Free Software Foundation, Inc.
+   Copyright (C) 2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
diff --git a/nss/tst-nss-files-hosts-getent.c b/nss/tst-nss-files-hosts-getent.c
index d7514e8e38..3f5baced32 100644
--- a/nss/tst-nss-files-hosts-getent.c
+++ b/nss/tst-nss-files-hosts-getent.c
@@ -1,5 +1,5 @@ 
 /* Enumerate /etc/hosts with a long line (bug 18991).
-   Copyright (C) 2017 Free Software Foundation, Inc.
+   Copyright (C) 2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or