develooper Front page | perl.perl5.porters | Postings from May 2010

[perl #75388] Possible typos in Perl's 5.12.1 Policy_sh.SH

Thread Next
From:
Stoned Elipot
Date:
May 28, 2010 04:23
Subject:
[perl #75388] Possible typos in Perl's 5.12.1 Policy_sh.SH
Message ID:
rt-3.6.HEAD-4976-1274988581-1491.75388-75-0@perl.org
# New Ticket Created by  Stoned Elipot 
# Please include the string:  [perl #75388]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75388 >


This is a bug report for perl from stoned.elipot@gmail.com,
generated with the help of perlbug 1.39 running under perl 5.12.1.


-----------------------------------------------------------------
[Please describe your issue here]

Hi,

Perl's 5.12.1 Policy_sh.SH script handles a bunch of
configuration variables related to installation directories.

A foor loop is used to go through them.

The loop's words list reads:
... html3dir ... siteman1dir siteman3dir sitehtml1dir sitehtml3dir ...
vendorman1dir vendorman3dir vendorhtml1dir vendorhtml3dir

But the loop's body seems to be handling, kindof respectively:

htm31dir siteman1 siteman3 sitehtml1 sitehtm31dir vendorman1 vendorman3
vendorhtml1 vendorhtm3

Also the body seems to be handling man1ext and man3ext which are
not in the loop's words list.

AFAICT pastos and typos could explain these discrepancies.

Best regards, Stoned.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=install
    severity=low
---
Site configuration information for perl 5.12.1:

Configured by seb at Thu May 27 01:03:48 UTC 2010.

Summary of my perl5 (revision 5 version 12 subversion 1) configuration:

  Platform:
    osname=netbsd, osvers=5.0.2, archname=i386-netbsd-thread-multi
    uname='netbsd runabout5 5.0.2 netbsd 5.0.2 (generic) #0: sat feb 6
17:53:27 utc 2010
builds@b7.netbsd.org:homebuildsabnetbsd-5-0-2-releasei386201002061851z-objhomebuildsabnetbsd-5-0-2-releasesrcsysarchi386compilegeneric
i386 '
    config_args='-sde -Darchname=i386-netbsd -Dcc=cc -Doptimize=-O2
-pthread -I/usr/include -Ui_malloc -Uinstallusrbinperl
-Dinstallstyle=lib/perl5 -Dprefix=/usr/pkg -Dsiteprefix=/usr/pkg
-Dvendorprefix=/usr/pkg -Dscriptdir=/usr/pkg/lib/perl5/bin
-Dsitescript=/usr/pkg/lib/perl5/site_perl/bin
-Dvendorscript=/usr/pkg/lib/perl5/vendor_perl/bin
-Dsitebin=/usr/pkg/lib/perl5/site_perl/bin
-Dvendorbin=/usr/pkg/lib/perl5/vendor_perl/bin
-Dprivlib=/usr/pkg/lib/perl5/5.12.0
-Dsitelib=/usr/pkg/lib/perl5/site_perl/5.12.0
-Dvendorlib=/usr/pkg/lib/perl5/vendor_perl/5.12.0
-Dsitelib_stem=/usr/pkg/lib/perl5/site_perl
-Dvendorlib_stem=/usr/pkg/lib/perl5/vendor_perl -Dman1ext=1
-Dman1dir=/usr/pkg/lib/perl5/man/man1
-Dsiteman1dir=/usr/pkg/lib/perl5/site_perl/man/man1
-Dvendorman1dir=/usr/pkg/lib/perl5/vendor_perl/man/man1 -Dman3ext=3
-Dman3dir=/usr/pkg/lib/perl5/man/man3
-Dsiteman3dir=/usr/pkg/lib/perl5/site_perl/man/man3
-Dvendorman3dir=/usr/pkg/lib/perl5/vendor_perl/man/man3 -Duseshrplib
-Daphostname=/bin/hostname -Dln=/bin/ln -Dsed=/usr/bin/sed
-Dsh=/bin/sh -Dissymlink=test -h -Dperl5=false -Duseithreads
-Uusemymalloc -Dlibswanted=m crypt '
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector',
    optimize='-O2 -pthread -I/usr/include',
    cppflags='-fno-strict-aliasing -pipe -fstack-protector'
    ccversion='', gccversion='4.1.3 20080704 prerelease (NetBSD nb2
20081120)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='  -fstack-protector'
    libpth=/usr/lib
    libs=-lm -lcrypt -lpthread
    perllibs=-lm -lcrypt -lpthread
    libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-R/usr/pkg/lib/perl5/5.12.0/i386-netbsd-thread-multi/CORE'
    cccdlflags='-DPIC -fPIC ', lddlflags=' --whole-archive -shared
-fstack-protector'

Locally applied patches:


---
@INC for perl 5.12.1:
    /usr/pkg/lib/perl5/site_perl/5.12.0/i386-netbsd-thread-multi
    /usr/pkg/lib/perl5/site_perl/5.12.0
    /usr/pkg/lib/perl5/vendor_perl/5.12.0/i386-netbsd-thread-multi
    /usr/pkg/lib/perl5/vendor_perl/5.12.0
    /usr/pkg/lib/perl5/5.12.0/i386-netbsd-thread-multi
    /usr/pkg/lib/perl5/5.12.0
    .

---
Environment for perl 5.12.1:
    HOME=/home/seb
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/bin:/usr/bin:/usr/pkg/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/pkg/sbin:/home/seb/bin:/home/seb/bin/hosts:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/ksh


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About