Front page | perl.perl5.porters |
Postings from July 2001
[ID 20010702.006] config.h comments for HAS_POLL incorrect
Thread Next
From:
David Dyck
Date:
July 2, 2001 14:58
Subject:
[ID 20010702.006] config.h comments for HAS_POLL incorrect
Message ID:
200107022158.OAA01587@dd.tc.fluke.com
This is a bug report for perl from dcd@tc.fluke.com,
generated with the help of perlbug 1.33 running under perl v5.7.1.
-----------------------------------------------------------------
[Please enter your report here]
config.h states
"You may safely include <poll.h> when this symbol is defined"
when HAS_POLL is defined
/* HAS_POLL:
* This symbol, if defined, indicates that the poll routine is
* available to poll active file descriptors. You may safely
* include <poll.h> when this symbol is defined.
*/
#define HAS_POLL /**/
My old libc5 system didn't have /usr/include/poll.h but
configure still created HAS_POLL
later in config.h the variable I_POLL was not defined
/* I_POLL:
* This symbol, if defined, indicates that <poll.h> exists and
* should be included.
*/
/*#define I_POLL / **/
and one can see that "ext/IO/poll.h" doesn't try to include <poll.h>
unless both HAS_POLL and I_POLL are defined.
Perhaps the comment could be changed to read
... You may safely include <poll.h> when this symbol && I_POLL is defined.
I_POLL is defined elsewhere in config.h ...
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
Site configuration information for perl v5.7.1:
Configured by dcd at Mon Jul 2 11:03:41 PDT 2001.
Summary of my perl5 (revision 5.0 version 7 subversion 17) configuration:
Platform:
osname=linux, osvers=2.4.5-ac22, archname=i686-linux
uname='linux dd 2.4.5-ac22 #2 fri jun 29 14:39:29 pdt 2001 i686 '
config_args='-Dinstallusrbinperl -Uversiononly -Dusedevel -Doptimize=-O3 -g -de -Dcf_email=dcd@tc.fluke.com'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3 -g',
cppflags='-Wall -DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='egcs-2.91.66.1 19990314/Linux (egcs-1.1.2 release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
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'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldbm -ldb -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/lib/libc.so.5.4.44, 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:
DEVEL11058
---
@INC for perl v5.7.1:
/usr/local/lib/perl5/5.7.1/i686-linux
/usr/local/lib/perl5/5.7.1
/usr/local/lib/perl5/site_perl/5.7.1/i686-linux
/usr/local/lib/perl5/site_perl/5.7.1
/usr/local/lib/perl5/site_perl/5.6.1/i686-linux
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
.
---
Environment for perl v5.7.1:
HOME=/home/dcd
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/dcd/bin:/sbin:/usr/local/bin:/bin:/usr/bin:/usr/X11/bin:/usr/games:/usr/local/samba:/home/hobbes/tools/scripts:/home/hobbes/tools/linux:/usr0/hobbes/tools/scripts:/usr0/dcd/bin:/apps/general/bin:/usr/public
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[ID 20010702.006] config.h comments for HAS_POLL incorrect
by David Dyck