Front page | perl.perl5.porters |
Postings from August 2016
[perl #129102] [patch] update outdated man links for strlcat andstrlcpy
From:
perlbug-followup
Date:
August 27, 2016 19:45
Subject:
[perl #129102] [patch] update outdated man links for strlcat andstrlcpy
Message ID:
rt-4.0.24-27515-1472267409-927.129102-75-0@perl.org
# New Ticket Created by
# Please include the string: [perl #129102]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=129102 >
This is a multi-part message in MIME format.
--------------1.40.perlbug
Content-Type: text/plain; format=fixed
Content-Transfer-Encoding: 8bit
This is a bug report for perl from theo@math.ethz.ch,
generated with the help of perlbug 1.40 running under perl 5.20.3.
-----------------------------------------------------------------
[Please describe your issue here]
In two comments of utils.c there are outdated links to the man
pages of strlcat(3) and strlcpy(3). OpenBSD recently migrated
these man pages to http://man.openbsd.org/strlcat.3 and
http://man.openbsd.org/strlcat.3 respectively.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
Type=Patch
PatchStatus=HasPatch
---
Site configuration information for perl 5.20.3:
Configured by root at Thu Jan 1 0:00:00 UTC 1970.
Summary of my perl5 (revision 5 version 20 subversion 3) configuration:
Platform:
osname=openbsd, osvers=6.0, archname=amd64-openbsd
uname='openbsd'
config_args='-dsE -Dopenbsd_distribution=defined -Dccflags=-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -Dmksymlinks'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector -I/usr/local/include',
optimize='-O2',
cppflags='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 20070719 ', gccosandvers='openbsd6.0'
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/lib
libs=-lpthread -lm -lc
perllibs=-lpthread -lm -lc
libc=/usr/lib/libc.so.88.0, so=so, useshrplib=true, libperl=libperl.so.17.1
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-R/usr/libdata/perl5/amd64-openbsd/5.20.3/CORE'
cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC -fstack-protector -L/usr/local/lib'
---
@INC for perl 5.20.3:
lib
/usr/local/libdata/perl5/site_perl/amd64-openbsd
/usr/libdata/perl5/site_perl/amd64-openbsd
/usr/local/libdata/perl5/site_perl
/usr/libdata/perl5/site_perl
/usr/libdata/perl5/amd64-openbsd/5.20.3
/usr/local/libdata/perl5/amd64-openbsd/5.20.3
/usr/libdata/perl5
/usr/local/libdata/perl5
---
Environment for perl 5.20.3:
HOME=/home/theo
LANG (unset)
LANGUAGE (unset)
LC_CTYPE=en_US.UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/theo/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
PERL_BADLANG (unset)
SHELL=/bin/ksh
--------------1.40.perlbug
Content-Type: text/x-patch; name="0001-Update-outdated-man-links-for-strlcpy-and-strlcat.patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-Update-outdated-man-links-for-strlcpy-and-strlcat.patch"
>From 5c4a8fcb100310b5a4b26c7fa79c3beceee2078a Mon Sep 17 00:00:00 2001
From: Theo Buehler <theo@math.ethz.ch>
Date: Sat, 27 Aug 2016 03:36:28 +0200
Subject: [PATCH] Update outdated man links for strlcpy and strlcat.
---
util.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util.c b/util.c
index 069aca3..8bc34cc 100644
--- a/util.c
+++ b/util.c
@@ -5710,7 +5710,7 @@ C<src>. If C<size> is smaller than the return, the excess was not appended.
=cut
-Description stolen from http://www.openbsd.org/cgi-bin/man.cgi?query=strlcat
+Description stolen from http://man.openbsd.org/strlcat.3
*/
#ifndef HAS_STRLCAT
Size_t
@@ -5744,7 +5744,7 @@ succeeded. If it is larger than C<size>, the excess was not copied.
=cut
-Description stolen from http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy
+Description stolen from http://man.openbsd.org/strlcpy.3
*/
#ifndef HAS_STRLCPY
Size_t
--
2.9.3
--------------1.40.perlbug--
-
[perl #129102] [patch] update outdated man links for strlcat andstrlcpy
by perlbug-followup