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

[ID 20000424.005] getpwent returns every _other_ entry underHP/UX 10.20

Thread Previous | Thread Next
From:
root
Date:
April 24, 2000 09:28
Subject:
[ID 20000424.005] getpwent returns every _other_ entry underHP/UX 10.20
Message ID:
iss.1919.3904761c.68865.1@mail.tju.edu

This is a bug report for perl from George.A.Theall@mail.tju.edu,
generated with the help of perlbug 1.28 running under perl v5.6.0.


-----------------------------------------------------------------

getpwent returns every _other_ entry from the password file under HP/UX
10.20. Consider the following code:

   perl -e 'while ($name = getpwent) { print $name,"\n" }'

This should print each account name defined to the system.  On Solaris and 
Red Hat linux, this works as expected with perl 5.6 and earlier versions. On
HP/UX 10.20, it also works as expected with perl 5.005 and earlier versions;
with 5.6.0, though, it prints every _other_ entry.

-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl v5.6.0:

Configured by theall1 at Sat Mar 25 13:49:04 EST 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=hpux, osvers=10.20, archname=PA-RISC1.1
    uname='hp-ux mail b.10.20 a 9000839 205802311 two-user license '
    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='-O', gccversion=
    cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    ccflags =' -D_HPUX_SOURCE -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -Ae'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    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, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl_s -lndbm -lgdbm -ldld -lm -lc -lndir -lcrypt -lsec
    libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
    cccdlflags='+z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.6.0:
    /usr/local/lib/perl5/5.6.0/PA-RISC1.1
    /usr/local/lib/perl5/5.6.0
    /usr/local/lib/perl5/site_perl/5.6.0/PA-RISC1.1
    /usr/local/lib/perl5/site_perl/5.6.0
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/bin:/etc:/usr/sbin:/usr/local/bin:/usr/bin/X11:/sbin:/usr/contrib/bin/q4lib:/usr/local/bin:/usr/sbin:/usr/local/sbin:/usr/local/etc://bin:/usr/local/mailhub/bin
    PERL_BADLANG (unset)
    SHELL=/sbin/ksh
    SHLIB_PATH (unset)

Thread Previous | 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