about summary refs log tree commit diff
path: root/resource
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 /resource
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 'resource')
-rw-r--r--resource/Makefile2
-rw-r--r--resource/bits/types/struct_rusage.h2
-rw-r--r--resource/getpriority.c2
-rw-r--r--resource/getrlimit.c2
-rw-r--r--resource/getrlimit64.c2
-rw-r--r--resource/getrusage.c2
-rw-r--r--resource/nice.c2
-rw-r--r--resource/setpriority.c2
-rw-r--r--resource/setrlimit.c2
-rw-r--r--resource/setrlimit64.c2
-rw-r--r--resource/sys/resource.h2
-rw-r--r--resource/sys/vlimit.h2
-rw-r--r--resource/sys/vtimes.h2
-rw-r--r--resource/tst-getrlimit.c2
-rw-r--r--resource/ulimit.c2
-rw-r--r--resource/ulimit.h2
-rw-r--r--resource/vlimit.c2
-rw-r--r--resource/vtimes.c2
18 files changed, 18 insertions, 18 deletions
diff --git a/resource/Makefile b/resource/Makefile
index 43364c874b..c923493656 100644
--- a/resource/Makefile
+++ b/resource/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/>.
 
 subdir := resource
 
diff --git a/resource/bits/types/struct_rusage.h b/resource/bits/types/struct_rusage.h
index 50079b574e..fb8def5a08 100644
--- a/resource/bits/types/struct_rusage.h
+++ b/resource/bits/types/struct_rusage.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 __rusage_defined
 #define __rusage_defined 1
diff --git a/resource/getpriority.c b/resource/getpriority.c
index 21c5a9a807..9f009440aa 100644
--- a/resource/getpriority.c
+++ b/resource/getpriority.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/resource.h>
diff --git a/resource/getrlimit.c b/resource/getrlimit.c
index 0167850721..31fdbcc3ef 100644
--- a/resource/getrlimit.c
+++ b/resource/getrlimit.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/resource.h>
diff --git a/resource/getrlimit64.c b/resource/getrlimit64.c
index d6745f4ef3..a281558bc9 100644
--- a/resource/getrlimit64.c
+++ b/resource/getrlimit64.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/resource.h>
diff --git a/resource/getrusage.c b/resource/getrusage.c
index cb87360526..aea9bbb9dd 100644
--- a/resource/getrusage.c
+++ b/resource/getrusage.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 <sys/resource.h>
 #include <errno.h>
diff --git a/resource/nice.c b/resource/nice.c
index 20fbbad6a2..0d7bcf0be8 100644
--- a/resource/nice.c
+++ b/resource/nice.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/resource/setpriority.c b/resource/setpriority.c
index c05de9a900..8b1ff1b1ed 100644
--- a/resource/setpriority.c
+++ b/resource/setpriority.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/resource.h>
diff --git a/resource/setrlimit.c b/resource/setrlimit.c
index 17b479ddb5..2bb99542cf 100644
--- a/resource/setrlimit.c
+++ b/resource/setrlimit.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/resource.h>
diff --git a/resource/setrlimit64.c b/resource/setrlimit64.c
index 06acfd0428..26c607dcec 100644
--- a/resource/setrlimit64.c
+++ b/resource/setrlimit64.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/resource.h>
diff --git a/resource/sys/resource.h b/resource/sys/resource.h
index 928646b074..6913c6c164 100644
--- a/resource/sys/resource.h
+++ b/resource/sys/resource.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_RESOURCE_H
 #define	_SYS_RESOURCE_H	1
diff --git a/resource/sys/vlimit.h b/resource/sys/vlimit.h
index ff47ac4ebf..f834954a0b 100644
--- a/resource/sys/vlimit.h
+++ b/resource/sys/vlimit.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_VLIMIT_H
 #define _SYS_VLIMIT_H	1
diff --git a/resource/sys/vtimes.h b/resource/sys/vtimes.h
index 603c980c5e..da4f71fa69 100644
--- a/resource/sys/vtimes.h
+++ b/resource/sys/vtimes.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_VTIMES_H
 #define _SYS_VTIMES_H	1
diff --git a/resource/tst-getrlimit.c b/resource/tst-getrlimit.c
index dc6e2775e6..539ac02e63 100644
--- a/resource/tst-getrlimit.c
+++ b/resource/tst-getrlimit.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 <stdbool.h>
diff --git a/resource/ulimit.c b/resource/ulimit.c
index c7bbc82903..fbe520d0f8 100644
--- a/resource/ulimit.c
+++ b/resource/ulimit.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/resource.h>
diff --git a/resource/ulimit.h b/resource/ulimit.h
index 6fd6a05ed7..898fe2c27c 100644
--- a/resource/ulimit.h
+++ b/resource/ulimit.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 _ULIMIT_H
 #define _ULIMIT_H	1
diff --git a/resource/vlimit.c b/resource/vlimit.c
index 0f53261b0f..1bc09f8f62 100644
--- a/resource/vlimit.c
+++ b/resource/vlimit.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/>.  */
 
 /* This is generic in the sense that it will work with the BSD, SYSV,
    or stub versions of getrlimit.  Separate versions could be written
diff --git a/resource/vtimes.c b/resource/vtimes.c
index f7d916533f..ce7128271a 100644
--- a/resource/vtimes.c
+++ b/resource/vtimes.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 <sys/vtimes.h>