summary refs log tree commit diff
path: root/login
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-09-06 22:40:42 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-09-07 02:43:31 -0700
commit5a82c74822d3272df2f5929133680478c0cfb4bd (patch)
tree85871266212f0119b41ec966fec52e164edf41ba /login
parent1b7f04070bd94f259e2ed24d6fb76309d64fb164 (diff)
downloadglibc-5a82c74822d3272df2f5929133680478c0cfb4bd.tar.gz
glibc-5a82c74822d3272df2f5929133680478c0cfb4bd.tar.xz
glibc-5a82c74822d3272df2f5929133680478c0cfb4bd.zip
Prefer https to http for gnu.org and fsf.org URLs
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:

sed -ri '
  s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
  s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
  $(find $(git ls-files) -prune -type f \
      ! -name '*.po' \
      ! -name 'ChangeLog*' \
      ! -path COPYING ! -path COPYING.LIB \
      ! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
      ! -path manual/texinfo.tex ! -path scripts/config.guess \
      ! -path scripts/config.sub ! -path scripts/install-sh \
      ! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
      ! -path INSTALL ! -path  locale/programs/charmap-kw.h \
      ! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
      ! '(' -name configure \
            -execdir test -f configure.ac -o -f configure.in ';' ')' \
      ! '(' -name preconfigure \
            -execdir test -f preconfigure.ac ';' ')' \
      -print)

and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:

  chmod a+x sysdeps/unix/sysv/linux/riscv/configure
  # Omit irrelevant whitespace and comment-only changes,
  # perhaps from a slightly-different Autoconf version.
  git checkout -f \
    sysdeps/csky/configure \
    sysdeps/hppa/configure \
    sysdeps/riscv/configure \
    sysdeps/unix/sysv/linux/csky/configure
  # Omit changes that caused a pre-commit check to fail like this:
  # remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
  git checkout -f \
    sysdeps/powerpc/powerpc64/ppc-mcount.S \
    sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
  # Omit change that caused a pre-commit check to fail like this:
  # remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
  git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
Diffstat (limited to 'login')
-rw-r--r--login/Makefile2
-rw-r--r--login/endutxent.c2
-rw-r--r--login/forkpty.c2
-rw-r--r--login/getlogin.c2
-rw-r--r--login/getlogin_r.c2
-rw-r--r--login/getlogin_r_chk.c2
-rw-r--r--login/getpt.c2
-rw-r--r--login/getutent.c2
-rw-r--r--login/getutent_r.c2
-rw-r--r--login/getutid.c2
-rw-r--r--login/getutid_r.c2
-rw-r--r--login/getutline.c2
-rw-r--r--login/getutline_r.c2
-rw-r--r--login/getutmp.c2
-rw-r--r--login/getutmpx.c2
-rw-r--r--login/getutxent.c2
-rw-r--r--login/getutxid.c2
-rw-r--r--login/getutxline.c2
-rw-r--r--login/grantpt.c2
-rw-r--r--login/login.c2
-rw-r--r--login/logout.c2
-rw-r--r--login/logwtmp.c2
-rw-r--r--login/openpty.c2
-rw-r--r--login/programs/pt_chown.c2
-rw-r--r--login/programs/utmpdump.c2
-rw-r--r--login/ptsname.c2
-rw-r--r--login/ptsname_r_chk.c2
-rw-r--r--login/pty.h2
-rw-r--r--login/pututxline.c2
-rw-r--r--login/setlogin.c2
-rw-r--r--login/setutxent.c2
-rw-r--r--login/tst-getlogin.c2
-rw-r--r--login/tst-ptsname.c2
-rw-r--r--login/tst-pututxline-lockfail.c2
-rw-r--r--login/tst-updwtmpx.c2
-rw-r--r--login/tst-utmp.c2
-rw-r--r--login/unlockpt.c2
-rw-r--r--login/updwtmp.c2
-rw-r--r--login/updwtmpx.c2
-rw-r--r--login/utmp-private.h2
-rw-r--r--login/utmp.h2
-rw-r--r--login/utmp_file.c2
-rw-r--r--login/utmpname.c2
-rw-r--r--login/utmpxname.c2
44 files changed, 44 insertions, 44 deletions
diff --git a/login/Makefile b/login/Makefile
index 93a3c8edf2..0183db11f4 100644
--- a/login/Makefile
+++ b/login/Makefile
@@ -13,7 +13,7 @@
 
 # You should have received a copy of the GNU Lesser General Public
 # License along with the GNU C Library; if not, see
-# <http://www.gnu.org/licenses/>.
+# <https://www.gnu.org/licenses/>.
 
 #
 #	Sub-makefile for login portion of the library.
diff --git a/login/endutxent.c b/login/endutxent.c
index 4ed162d78c..881d2fe75f 100644
--- a/login/endutxent.c
+++ b/login/endutxent.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 #include <utmpx.h>
diff --git a/login/forkpty.c b/login/forkpty.c
index 695c9e9f76..4a0dee47f0 100644
--- a/login/forkpty.c
+++ b/login/forkpty.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <sys/types.h>
 #include <termios.h>
diff --git a/login/getlogin.c b/login/getlogin.c
index 0c82f38978..6ac375db0b 100644
--- a/login/getlogin.c
+++ b/login/getlogin.c
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stddef.h>
 #include <errno.h>
diff --git a/login/getlogin_r.c b/login/getlogin_r.c
index b3b6c06d0b..d26908ce2b 100644
--- a/login/getlogin_r.c
+++ b/login/getlogin_r.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <unistd.h>
diff --git a/login/getlogin_r_chk.c b/login/getlogin_r_chk.c
index 228dc759d6..bc233f2479 100644
--- a/login/getlogin_r_chk.c
+++ b/login/getlogin_r_chk.c
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <unistd.h>
 
diff --git a/login/getpt.c b/login/getpt.c
index 8a699b02d8..3f7c4358de 100644
--- a/login/getpt.c
+++ b/login/getpt.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 #include <errno.h>
diff --git a/login/getutent.c b/login/getutent.c
index df71e90c76..61e414c1fa 100644
--- a/login/getutent.c
+++ b/login/getutent.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 #include <utmp.h>
diff --git a/login/getutent_r.c b/login/getutent_r.c
index fd13be8a1e..ca2daa81da 100644
--- a/login/getutent_r.c
+++ b/login/getutent_r.c
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <libc-lock.h>
 #include <stdlib.h>
diff --git a/login/getutid.c b/login/getutid.c
index 1b4b587f32..48dd1d7bb2 100644
--- a/login/getutid.c
+++ b/login/getutid.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 #include <utmp.h>
diff --git a/login/getutid_r.c b/login/getutid_r.c
index 460d94be0c..d49d303cd5 100644
--- a/login/getutid_r.c
+++ b/login/getutid_r.c
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <libc-lock.h>
 #include <errno.h>
diff --git a/login/getutline.c b/login/getutline.c
index f57ad22f51..75a6179c47 100644
--- a/login/getutline.c
+++ b/login/getutline.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 #include <utmp.h>
diff --git a/login/getutline_r.c b/login/getutline_r.c
index f03255dbbd..8bcd5030af 100644
--- a/login/getutline_r.c
+++ b/login/getutline_r.c
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <libc-lock.h>
diff --git a/login/getutmp.c b/login/getutmp.c
index 4e3be11216..bc991457e5 100644
--- a/login/getutmp.c
+++ b/login/getutmp.c
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <string.h>
 #include <utmp.h>
diff --git a/login/getutmpx.c b/login/getutmpx.c
index da28d339ab..8683464456 100644
--- a/login/getutmpx.c
+++ b/login/getutmpx.c
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <string.h>
 #include <utmp.h>
diff --git a/login/getutxent.c b/login/getutxent.c
index 8e547a02b8..b30a3c3de5 100644
--- a/login/getutxent.c
+++ b/login/getutxent.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 #include <utmpx.h>
diff --git a/login/getutxid.c b/login/getutxid.c
index 62b1c99411..b8d88c058a 100644
--- a/login/getutxid.c
+++ b/login/getutxid.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 #include <utmpx.h>
diff --git a/login/getutxline.c b/login/getutxline.c
index ee14812dc5..58af491948 100644
--- a/login/getutxline.c
+++ b/login/getutxline.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 #include <utmpx.h>
diff --git a/login/grantpt.c b/login/grantpt.c
index a6086ce6d0..f2379dce75 100644
--- a/login/grantpt.c
+++ b/login/grantpt.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 #include <errno.h>
diff --git a/login/login.c b/login/login.c
index b7d638c692..91ac92116b 100644
--- a/login/login.c
+++ b/login/login.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <assert.h>
 #include <errno.h>
diff --git a/login/logout.c b/login/logout.c
index 5015c1af0b..d0d421cbf7 100644
--- a/login/logout.c
+++ b/login/logout.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <string.h>
diff --git a/login/logwtmp.c b/login/logwtmp.c
index 50d14976c7..654f412ecb 100644
--- a/login/logwtmp.c
+++ b/login/logwtmp.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <string.h>
 #include <sys/time.h>
diff --git a/login/openpty.c b/login/openpty.c
index 2c5529973e..1db4c2def3 100644
--- a/login/openpty.c
+++ b/login/openpty.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <fcntl.h>
diff --git a/login/programs/pt_chown.c b/login/programs/pt_chown.c
index d44e4bf6ed..5e490ee828 100644
--- a/login/programs/pt_chown.c
+++ b/login/programs/pt_chown.c
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <argp.h>
 #include <errno.h>
diff --git a/login/programs/utmpdump.c b/login/programs/utmpdump.c
index 85d8e31b43..0d07f7989f 100644
--- a/login/programs/utmpdump.c
+++ b/login/programs/utmpdump.c
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/login/ptsname.c b/login/ptsname.c
index 0149c98740..a83ece102f 100644
--- a/login/ptsname.c
+++ b/login/ptsname.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <stdlib.h>
diff --git a/login/ptsname_r_chk.c b/login/ptsname_r_chk.c
index 0cfc562a7f..5a133462aa 100644
--- a/login/ptsname_r_chk.c
+++ b/login/ptsname_r_chk.c
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 
diff --git a/login/pty.h b/login/pty.h
index cac107cc0d..59164758d8 100644
--- a/login/pty.h
+++ b/login/pty.h
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef _PTY_H
 #define _PTY_H	1
diff --git a/login/pututxline.c b/login/pututxline.c
index ee8f27a51d..161bbf69a1 100644
--- a/login/pututxline.c
+++ b/login/pututxline.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 #include <utmpx.h>
diff --git a/login/setlogin.c b/login/setlogin.c
index a31a5d03ad..0b759df95a 100644
--- a/login/setlogin.c
+++ b/login/setlogin.c
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <unistd.h>
diff --git a/login/setutxent.c b/login/setutxent.c
index 3cec3c46f5..a739633b97 100644
--- a/login/setutxent.c
+++ b/login/setutxent.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 #include <utmpx.h>
diff --git a/login/tst-getlogin.c b/login/tst-getlogin.c
index e2bfdc976a..129f416e3d 100644
--- a/login/tst-getlogin.c
+++ b/login/tst-getlogin.c
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <unistd.h>
 #include <stdio.h>
diff --git a/login/tst-ptsname.c b/login/tst-ptsname.c
index 713a2470dc..953fed94e8 100644
--- a/login/tst-ptsname.c
+++ b/login/tst-ptsname.c
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <fcntl.h>
diff --git a/login/tst-pututxline-lockfail.c b/login/tst-pututxline-lockfail.c
index 47c25dc065..7c35ce3798 100644
--- a/login/tst-pututxline-lockfail.c
+++ b/login/tst-pututxline-lockfail.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; see the file COPYING.LIB.  If
-   not, see <http://www.gnu.org/licenses/>.  */
+   not, see <https://www.gnu.org/licenses/>.  */
 
 /* pututxline upgrades the read lock on the file to a write lock.
    This test verifies that if the lock upgrade fails, the utmp
diff --git a/login/tst-updwtmpx.c b/login/tst-updwtmpx.c
index 0a4a27daeb..d7ef07e2a7 100644
--- a/login/tst-updwtmpx.c
+++ b/login/tst-updwtmpx.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; see the file COPYING.LIB.  If
-   not, see <http://www.gnu.org/licenses/>.  */
+   not, see <https://www.gnu.org/licenses/>.  */
 
 /* This program runs a series of tests.  Each one calls updwtmpx
    twice, to write two records, optionally with misalignment in the
diff --git a/login/tst-utmp.c b/login/tst-utmp.c
index 02d0c1fe8c..1e65bd38a9 100644
--- a/login/tst-utmp.c
+++ b/login/tst-utmp.c
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <error.h>
diff --git a/login/unlockpt.c b/login/unlockpt.c
index 427a7d71a1..31092fc8d1 100644
--- a/login/unlockpt.c
+++ b/login/unlockpt.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <stdlib.h>
 #include <errno.h>
diff --git a/login/updwtmp.c b/login/updwtmp.c
index 387e580828..d98ff4339a 100644
--- a/login/updwtmp.c
+++ b/login/updwtmp.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 
diff --git a/login/updwtmpx.c b/login/updwtmpx.c
index e046b73ca5..59049dd48d 100644
--- a/login/updwtmpx.c
+++ b/login/updwtmpx.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 #include <utmpx.h>
diff --git a/login/utmp-private.h b/login/utmp-private.h
index d60461d644..f4cef4233c 100644
--- a/login/utmp-private.h
+++ b/login/utmp-private.h
@@ -16,7 +16,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef _UTMP_PRIVATE_H
 #define _UTMP_PRIVATE_H	1
diff --git a/login/utmp.h b/login/utmp.h
index 168c159b7b..7906e045f6 100644
--- a/login/utmp.h
+++ b/login/utmp.h
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #ifndef	_UTMP_H
 #define	_UTMP_H	1
diff --git a/login/utmp_file.c b/login/utmp_file.c
index 2d0548f6fa..be7cc0671b 100644
--- a/login/utmp_file.c
+++ b/login/utmp_file.c
@@ -15,7 +15,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <assert.h>
 #include <errno.h>
diff --git a/login/utmpname.c b/login/utmpname.c
index 8f94b19caf..a1ae6397be 100644
--- a/login/utmpname.c
+++ b/login/utmpname.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <libc-lock.h>
 #include <stdlib.h>
diff --git a/login/utmpxname.c b/login/utmpxname.c
index 0631ca56cd..db9420a581 100644
--- a/login/utmpxname.c
+++ b/login/utmpxname.c
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <utmp.h>
 #include <utmpx.h>