Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in perlfunc.pod #8303

Closed
p5pRT opened this issue Jan 31, 2006 · 4 comments
Closed

Typo in perlfunc.pod #8303

p5pRT opened this issue Jan 31, 2006 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Jan 31, 2006

Migrated from rt.perl.org#38380 (status was 'resolved')

Searchable as RT38380$

@p5pRT
Copy link
Author

p5pRT commented Jan 31, 2006

From p.boven@sara.nl

Created by p.boven@sara.nl

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)​:

Inline Patch
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.
Perl Info

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

@p5pRT
Copy link
Author

p5pRT commented Jan 31, 2006

From @nwc10

On Tue, Jan 31, 2006 at 05​:22​:28AM -0800, p. boven @​ sara. nl wrote​:

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)​:

Thanks, applied (change 27022)

Nicholas Clark

@p5pRT
Copy link
Author

p5pRT commented Jan 31, 2006

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jan 31, 2006

@nwc10 - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant