about summary refs log tree commit diff
path: root/pwd
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 /pwd
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 'pwd')
-rw-r--r--pwd/Makefile2
-rw-r--r--pwd/fgetpwent.c2
-rw-r--r--pwd/fgetpwent_r.c2
-rw-r--r--pwd/getpw.c2
-rw-r--r--pwd/getpwent.c2
-rw-r--r--pwd/getpwent_r.c2
-rw-r--r--pwd/getpwnam.c2
-rw-r--r--pwd/getpwnam_r.c2
-rw-r--r--pwd/getpwuid.c2
-rw-r--r--pwd/getpwuid_r.c2
-rw-r--r--pwd/putpwent.c2
-rw-r--r--pwd/pwd.h2
-rw-r--r--pwd/tst-getpw.c2
-rw-r--r--pwd/tst-putpwent.c2
14 files changed, 14 insertions, 14 deletions
diff --git a/pwd/Makefile b/pwd/Makefile
index f86498015b..009e716bc2 100644
--- a/pwd/Makefile
+++ b/pwd/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 pwd portion of the library.
diff --git a/pwd/fgetpwent.c b/pwd/fgetpwent.c
index 985bea659f..bc5bba142a 100644
--- a/pwd/fgetpwent.c
+++ b/pwd/fgetpwent.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 <libc-lock.h>
diff --git a/pwd/fgetpwent_r.c b/pwd/fgetpwent_r.c
index ad7d5e61e0..6c73796855 100644
--- a/pwd/fgetpwent_r.c
+++ b/pwd/fgetpwent_r.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 <ctype.h>
 #include <errno.h>
diff --git a/pwd/getpw.c b/pwd/getpw.c
index 676b9c8a0f..ac2141420d 100644
--- a/pwd/getpw.c
+++ b/pwd/getpw.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 <alloca.h>
 #include <errno.h>
diff --git a/pwd/getpwent.c b/pwd/getpwent.c
index 8cbbc3d184..1a31897256 100644
--- a/pwd/getpwent.c
+++ b/pwd/getpwent.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 <pwd.h>
 
diff --git a/pwd/getpwent_r.c b/pwd/getpwent_r.c
index 18ca5ad68d..6d88b89d4b 100644
--- a/pwd/getpwent_r.c
+++ b/pwd/getpwent_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 <pwd.h>
 
diff --git a/pwd/getpwnam.c b/pwd/getpwnam.c
index c8df181877..e0ab96b87d 100644
--- a/pwd/getpwnam.c
+++ b/pwd/getpwnam.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 <pwd.h>
 
diff --git a/pwd/getpwnam_r.c b/pwd/getpwnam_r.c
index 746535eb00..6c223a9f25 100644
--- a/pwd/getpwnam_r.c
+++ b/pwd/getpwnam_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 <pwd.h>
 
diff --git a/pwd/getpwuid.c b/pwd/getpwuid.c
index bbe95e2c35..305d9e45d0 100644
--- a/pwd/getpwuid.c
+++ b/pwd/getpwuid.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 <pwd.h>
 
diff --git a/pwd/getpwuid_r.c b/pwd/getpwuid_r.c
index a4880961aa..235f33fe23 100644
--- a/pwd/getpwuid_r.c
+++ b/pwd/getpwuid_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 <pwd.h>
 
diff --git a/pwd/putpwent.c b/pwd/putpwent.c
index f095e1be71..08fc03b4e6 100644
--- a/pwd/putpwent.c
+++ b/pwd/putpwent.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 <stdio.h>
diff --git a/pwd/pwd.h b/pwd/pwd.h
index 1002ed39b6..791c6d9044 100644
--- a/pwd/pwd.h
+++ b/pwd/pwd.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/>.  */
 
 /*
  *	POSIX Standard: 9.2.2 User Database Access	<pwd.h>
diff --git a/pwd/tst-getpw.c b/pwd/tst-getpw.c
index f7867124de..64973a83e6 100644
--- a/pwd/tst-getpw.c
+++ b/pwd/tst-getpw.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 <pwd.h>
diff --git a/pwd/tst-putpwent.c b/pwd/tst-putpwent.c
index 49700c7589..2cadfee372 100644
--- a/pwd/tst-putpwent.c
+++ b/pwd/tst-putpwent.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 <pwd.h>