Front page | perl.perl5.porters |
Postings from July 2000
[ID 20000726.001] (gm|local)time v. docs
Thread Next
From:
jonathan
Date:
July 26, 2000 12:52
Subject:
[ID 20000726.001] (gm|local)time v. docs
Message ID:
20000726190755.BCF4DB762@trespassersw.daria.co.uk
This is a bug report for perl from jrhudson@bigfoot.com,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
[Please enter your report here]
perldoc -f gmtime reports:
$yday is the day of the year, in the range `1..365' (or `1..366' in
leap years.)
whilst the code (pp_sys, line 4091) returns:
PUSHs(sv_2mortal(newSViv(tmbuf->tm_isdst)));
man 3 gmtime
tm_yday
The number of days since January 1, in the range 0
to 365.
Either your doumentation or code (I guess the pod) needs changing.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=medium
---
Site configuration information for perl v5.6.0:
Configured by jrh at Fri Apr 21 16:45:19 BST 2000.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.16pre1, archname=i686-linux
uname='linux trespassersw 2.2.16pre1 #6 thu apr 20 21:36:51 bst 2000 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=undef
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='cc', optimize='-O2', gccversion=2.95.2 19991109 (Debian GNU/Linux)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include'
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=4
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lcrypt
libc=/lib/libc-2.1.2.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/local/lib/perl5/5.6.0/i686-linux/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib -L/opt/local/lib'
Locally applied patches:
---
@INC for perl v5.6.0:
/usr/local/lib/perl5/5.6.0/i686-linux
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.6.0:
HOME=/home/jrh
LANG=C
LANGUAGE (unset)
LC_CTYPE=en_GB
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/jrh/bin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/local/bin:/usr/X11R6/bin:/jdk/bin:/jdk/bin/jre/bin:.
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[ID 20000726.001] (gm|local)time v. docs
by jonathan