Front page | perl.perl5.porters |
Postings from January 2006
[perl #38380] Typo in perlfunc.pod
Thread Next
From:
p . boven @ sara . nl
Date:
January 31, 2006 07:03
Subject:
[perl #38380] Typo in perlfunc.pod
Message ID:
rt-3.0.11-38380-129047.11.4217468041333@perl.org
# New Ticket Created by p.boven@sara.nl
# Please include the string: [perl #38380]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38380 >
This is a bug report for perl from p.boven@sara.nl,
generated with the help of perlbug 1.35 running under perl v5.8.7.
-----------------------------------------------------------------
[Please enter your report here]
In the perlfunc.pod documentation of the 'stat' function, there
is a typo in the list of File Types. S_ISCHR does not exist, it should be
S_IFCHR. This typo is still present in the current rsynced sources of the
perl5 dev-tree.
Suggested patch (against 5.9.3):
diff -u perlfunc.pod.org perlfunc.pod
--- perlfunc.pod.org Tue Jan 31 14:15:47 2006
+++ perlfunc.pod Tue Jan 31 14:17:28 2006
@@ -5898,7 +5898,7 @@
# File types. Not necessarily all are available on your system.
- S_IFREG S_IFDIR S_IFLNK S_IFBLK S_ISCHR S_IFIFO S_IFSOCK S_IFWHT S_ENFMT
+ S_IFREG S_IFDIR S_IFLNK S_IFBLK S_IFCHR S_IFIFO S_IFSOCK S_IFWHT S_ENFMT
# The following are compatibility aliases for S_IRUSR, S_IWUSR, S_IXUSR.
P.s.: please disregard the version information below, that's not the actual
perl version we use.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=docs
severity=low
---
Site configuration information for perl v5.8.7:
Configured by thomas at Wed Jun 8 19:25:20 MEST 2005.
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-thread-multi
uname='sunos hastur 5.8 generic_117350-20 sun4u sparc sunw,sun-fire-280r '
config_args='-Dcc=cc -Dusethreads -Dcf_email=thomas@blastwave.org -Dperladmin=root@localhost -Dlocincpth=/opt/csw/include -Dloclibpth=/opt/csw/lib -Duselargefiles -Dprefix=/opt/csw -Dprivlib=/opt/csw/share/perl/5.8.7 -Darchlib=/opt/csw/lib/perl/5.8.7 -Dvendorprefix=/opt/csw -Dvendorlib=/opt/csw/share/perl/csw -Dvendorarch=/opt/csw/lib/perl/csw -Dsiteprefix=/usr -Dsitelib=/opt/csw/share/perl/site_perl -Dsitearch=/opt/csw/lib/perl/site_perl -Dman1dir=/opt/csw/share/man/man1 -Dman3dir=/opt/csw/share/man/man3 -Dsiteman1dir=/opt/csw/share/man/man1 -Dsiteman3dir=/opt/csw/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.7 -Dusesitecustomize -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef 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 ='-D_REENTRANT -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_REENTRANT -I/opt/csw/include'
ccversion='Sun C 5.5 Patch 112760-17 2005/02/15', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/lib -L/usr/ccs/lib -L/opt/forte8/SUNWspro/prod/lib -L/opt/csw/lib '
libpth=/usr/lib /usr/ccs/lib /opt/forte8/SUNWspro/prod/lib /opt/csw/lib
libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so.5.8.7
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /opt/csw/lib/perl/5.8.7/CORE'
cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib -L/opt/forte8/SUNWspro/prod/lib -L/opt/csw/lib'
Locally applied patches:
---
@INC for perl v5.8.7:
/opt/csw/lib/perl/site_perl
/opt/csw/share/perl/site_perl
/opt/csw/share/perl/site_perl
/opt/csw/lib/perl/csw
/opt/csw/share/perl/csw
/opt/csw/share/perl/csw
/opt/csw/lib/perl/5.8.7
/opt/csw/share/perl/5.8.7
.
---
Environment for perl v5.8.7:
HOME=/home/boven
LANG=C
LANGUAGE (unset)
LC_ALL=C
LC_CTYPE=C
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/sbin:/usr/sbin:/bin:/usr/local/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/openwin/share/bin:/usr/local/sbin:/opt/SUNWut/bin:/usr/sfw/bin:/opt/csw/bin:/home/boven/bin
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[perl #38380] Typo in perlfunc.pod
by p . boven @ sara . nl