about summary refs log tree commit diff
path: root/socket
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 /socket
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 'socket')
-rw-r--r--socket/Makefile2
-rw-r--r--socket/accept.c2
-rw-r--r--socket/accept4.c2
-rw-r--r--socket/bind.c2
-rw-r--r--socket/bits/socket2.h2
-rw-r--r--socket/connect.c2
-rw-r--r--socket/getpeername.c2
-rw-r--r--socket/getsockname.c2
-rw-r--r--socket/getsockopt.c2
-rw-r--r--socket/isfdtype.c2
-rw-r--r--socket/listen.c2
-rw-r--r--socket/opensock.c2
-rw-r--r--socket/recv.c2
-rw-r--r--socket/recvfrom.c2
-rw-r--r--socket/recvmmsg.c2
-rw-r--r--socket/recvmsg.c2
-rw-r--r--socket/sa_len.c2
-rw-r--r--socket/send.c2
-rw-r--r--socket/sendmmsg.c2
-rw-r--r--socket/sendmsg.c2
-rw-r--r--socket/sendto.c2
-rw-r--r--socket/setsockopt.c2
-rw-r--r--socket/shutdown.c2
-rw-r--r--socket/sockatmark.c2
-rw-r--r--socket/socket.c2
-rw-r--r--socket/socketpair.c2
-rw-r--r--socket/sys/socket.h2
-rw-r--r--socket/sys/un.h2
-rw-r--r--socket/tst-accept4.c2
29 files changed, 29 insertions, 29 deletions
diff --git a/socket/Makefile b/socket/Makefile
index cac527221c..75ac20e7c0 100644
--- a/socket/Makefile
+++ b/socket/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 socket portion of the library.
diff --git a/socket/accept.c b/socket/accept.c
index b7eb550d4c..ae9d92b328 100644
--- a/socket/accept.c
+++ b/socket/accept.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 <sys/socket.h>
diff --git a/socket/accept4.c b/socket/accept4.c
index f66b7a0374..0552cfcbcc 100644
--- a/socket/accept4.c
+++ b/socket/accept4.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 <sys/socket.h>
diff --git a/socket/bind.c b/socket/bind.c
index 8d26b4f465..f40f2586f3 100644
--- a/socket/bind.c
+++ b/socket/bind.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 <sys/socket.h>
diff --git a/socket/bits/socket2.h b/socket/bits/socket2.h
index a609592b5e..5075467d6e 100644
--- a/socket/bits/socket2.h
+++ b/socket/bits/socket2.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 _SYS_SOCKET_H
 # error "Never include <bits/socket2.h> directly; use <sys/socket.h> instead."
diff --git a/socket/connect.c b/socket/connect.c
index bdc7fde265..312eecc2f6 100644
--- a/socket/connect.c
+++ b/socket/connect.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 <sys/socket.h>
diff --git a/socket/getpeername.c b/socket/getpeername.c
index 48fb8e2578..3e4e979258 100644
--- a/socket/getpeername.c
+++ b/socket/getpeername.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 <sys/socket.h>
diff --git a/socket/getsockname.c b/socket/getsockname.c
index c0614ee62e..464a5d6a80 100644
--- a/socket/getsockname.c
+++ b/socket/getsockname.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 <sys/socket.h>
diff --git a/socket/getsockopt.c b/socket/getsockopt.c
index 788f8e3291..e717d1d575 100644
--- a/socket/getsockopt.c
+++ b/socket/getsockopt.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 <sys/socket.h>
diff --git a/socket/isfdtype.c b/socket/isfdtype.c
index 1d69238c6b..51d08f74c6 100644
--- a/socket/isfdtype.c
+++ b/socket/isfdtype.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 <sys/stat.h>
diff --git a/socket/listen.c b/socket/listen.c
index 5febea9412..93b8f3e212 100644
--- a/socket/listen.c
+++ b/socket/listen.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 <sys/socket.h>
diff --git a/socket/opensock.c b/socket/opensock.c
index 5a0259a7eb..eff064c2b8 100644
--- a/socket/opensock.c
+++ b/socket/opensock.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 <stdio.h>
 #include <sys/socket.h>
diff --git a/socket/recv.c b/socket/recv.c
index e38703ab43..4c2a992a53 100644
--- a/socket/recv.c
+++ b/socket/recv.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 <sys/socket.h>
diff --git a/socket/recvfrom.c b/socket/recvfrom.c
index e157b7a126..4ec00a310e 100644
--- a/socket/recvfrom.c
+++ b/socket/recvfrom.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 <sys/socket.h>
diff --git a/socket/recvmmsg.c b/socket/recvmmsg.c
index 6a0fa40478..a9d437ce4e 100644
--- a/socket/recvmmsg.c
+++ b/socket/recvmmsg.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 <sys/socket.h>
diff --git a/socket/recvmsg.c b/socket/recvmsg.c
index 987b7024ec..f0afe03064 100644
--- a/socket/recvmsg.c
+++ b/socket/recvmsg.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 <sys/socket.h>
diff --git a/socket/sa_len.c b/socket/sa_len.c
index dc3696ba79..62cec8d2d0 100644
--- a/socket/sa_len.c
+++ b/socket/sa_len.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/socket.h>
 
diff --git a/socket/send.c b/socket/send.c
index bf5c4b148b..38d863c8f7 100644
--- a/socket/send.c
+++ b/socket/send.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 <sys/socket.h>
diff --git a/socket/sendmmsg.c b/socket/sendmmsg.c
index e9171d3c84..c56adc36c8 100644
--- a/socket/sendmmsg.c
+++ b/socket/sendmmsg.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 <sys/socket.h>
diff --git a/socket/sendmsg.c b/socket/sendmsg.c
index 822e8719fb..ed1c7cc720 100644
--- a/socket/sendmsg.c
+++ b/socket/sendmsg.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 <sys/socket.h>
diff --git a/socket/sendto.c b/socket/sendto.c
index dbaebf5cdf..18bee4074f 100644
--- a/socket/sendto.c
+++ b/socket/sendto.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 <sys/socket.h>
diff --git a/socket/setsockopt.c b/socket/setsockopt.c
index 2231d1016f..6556a62404 100644
--- a/socket/setsockopt.c
+++ b/socket/setsockopt.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 <sys/socket.h>
diff --git a/socket/shutdown.c b/socket/shutdown.c
index db3e2c21fc..982f14d56e 100644
--- a/socket/shutdown.c
+++ b/socket/shutdown.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 <sys/socket.h>
diff --git a/socket/sockatmark.c b/socket/sockatmark.c
index d6a13c84d5..12302d5659 100644
--- a/socket/sockatmark.c
+++ b/socket/sockatmark.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 <sys/socket.h>
diff --git a/socket/socket.c b/socket/socket.c
index 1ac5b7fbb3..4b01d93c6d 100644
--- a/socket/socket.c
+++ b/socket/socket.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 <sys/socket.h>
diff --git a/socket/socketpair.c b/socket/socketpair.c
index 53c1c100dc..48c9e1d09a 100644
--- a/socket/socketpair.c
+++ b/socket/socketpair.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 <sys/socket.h>
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 6f242d088b..3d51cb4c46 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.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	_SYS_SOCKET_H
 #define	_SYS_SOCKET_H	1
diff --git a/socket/sys/un.h b/socket/sys/un.h
index 12683607ce..b1b1837e2e 100644
--- a/socket/sys/un.h
+++ b/socket/sys/un.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	_SYS_UN_H
 #define	_SYS_UN_H	1
diff --git a/socket/tst-accept4.c b/socket/tst-accept4.c
index 30a2ba101f..e9a426d476 100644
--- a/socket/tst-accept4.c
+++ b/socket/tst-accept4.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 <arpa/inet.h>
 #include <errno.h>