develooper Front page | perl.perl5.porters | Postings from April 2000

[ID 20000425.001] perlfunc.pod getpw* patch

From:
gellyfish
Date:
April 25, 2000 02:25
Subject:
[ID 20000425.001] perlfunc.pod getpw* patch
Message ID:
200004250927.KAA09249@orpheus.gellyfish.com
This is a bug report for perl from gellyfish@gellyfish.com,
generated with the help of perlbug 1.28 running under perl v5.6.0.


-----------------------------------------------------------------
The description of the getpw* functions in perlfunc.pod does not
reflect the actual implementation as regards the shadow password.

This is a suggested patch for the document :


1899,1900c1899,1902
< shadow versions if you're running under privilege.  Those that
< incorrectly implement a separate library call are not supported.
---
> shadow versions if you're running under privilege or if there exists
> the shadow(3) functions as found in System V ( this includes Solaris
> and Linux.)  Those systems which implement a proprietary shadow password
> facility are unlikely to be supported.


/J\
-----------------------------------------------------------------
---
Flags:
    category=docs
    severity=low
---
Site configuration information for perl v5.6.0:

Configured by gellyfish at Fri Mar 31 13:01:58 BST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.2.12-20, archname=i686-linux
    uname='linux orpheus 2.2.12-20 #1 mon sep 27 10:40:35 edt 1999 i686 unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    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, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
    libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.6.0:
    /usr/lib/perl5/5.6.0/i686-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/i686-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl/5.005
    /usr/lib/perl5/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/home/gellyfish
    LANG=en_US
    LANGUAGE (unset)
    LC_ALL=en_US
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/informix/bin:/usr/local/Acrobat4/bin:/usr/local/informix/bin:/usr/local/Acrobat4/bin:/usr/local/bin:/bin:/usr/bin::/usr/X11R6/bin:/home/gellyfish/bin:/usr/X11R6/bin:/home/gellyfish/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash



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