Menu

#367 BAD value parsing breakage

critical
closed
None
5
2015-03-07
2014-11-29
No

Parsing of BAD values fails to set the correct BAD value when parsing from the string "[BAD]". See attached tests.


perlDL shell v1.357
PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
'COPYING' in the PDL distribution. This is free software and you
are welcome to redistribute it under certain conditions, see
the same file for details.

Summary of my PDL configuration

VERSION: PDL v2.00704 (supports bad values)

$%PDL::Config = {
'POSIX_THREADS_LIBS' => undef,
'HDF_LIBS' => undef,
'WITH_MINUIT' => '1',
'HIDE_TRYLINK' => '1',
'GSL_LIBS' => undef,
'PDL_CONFIG_VERSION' => '0.005',
'POSIX_THREADS_INC' => undef,
'WITH_GD' => '0',
'PDL_BUILD_VERSION' => '2.007_04',
'USE_POGL' => '1',
'WITH_HDF' => '0',
'BADVAL_USENAN' => '0',
'FFTW_INC' => undef,
'PROJ_LIBS' => undef,
'OPTIMIZE' => undef,
'WHERE_PLPLOT_LIBS' => undef,
'WITH_IO_BROWSER' => '0',
'HTML_DOCS' => '1',
'WITH_PROJ' => '1',
'POGL_WINDOW_TYPE' => 'glut',
'WITH_3D' => '1',
'PDL_BUILD_DIR' => '/home/zaki/sw_projects/p5-PDL/pdl',
'MINUIT_LIB' => undef,
'WITH_SLATEC' => '1',
'WITH_PLPLOT' => '0',
'GSL_INC' => undef,
'WITH_POSIX_THREADS' => '1',
'HDF_INC' => undef,
'WITH_GSL' => '1',
'SKIP_KNOWN_PROBLEMS' => '0',
'FFTW_LIBS' => undef,
'WHERE_PLPLOT_INCLUDE' => undef,
'TEMPDIR' => '/tmp',
'GL_BUILD' => '1',
'PROJ_INC' => undef,
'FFTW_TYPE' => 'double',
'GD_LIBS' => undef,
'BADVAL_PER_PDL' => '0',
'WITH_FFTW' => '0',
'POGL_VERSION' => '0.6702',
'WITH_BADVAL' => '1',
'GD_INC' => undef,
'FITS_LEGACY' => '1',
'WITH_DEVEL_REPL' => '1',
'PDLDOC_IGNORE_AUTOLOADER' => '0',
'MALLOCDBG' => {}
};
Summary of my perl5 (revision 5 version 18 subversion 1) configuration:

Platform:
osname=linux, osvers=3.11-2-amd64, archname=x86_64-linux
uname='linux quadra 3.11-2-amd64 #1 smp debian 3.11.10-1 (2013-12-04) x86_64 gnulinux '
config_args='-de -Dprefix=/home/zaki/perl5/perlbrew/perls/perl-5.18.1 -Duseshrplib -Aeval:scriptdir=/home/zaki/perl5/perlbrew/perls/perl-5.18.1/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib /lib64 /usr/lib64
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.17'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/home/zaki/perl5/perlbrew/perls/perl-5.18.1/lib/5.18.1/x86_64-linux/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'

1 Attachments

Discussion

  • Chris Marshall

    Chris Marshall - 2015-03-07
    • status: open --> closed
    • assigned_to: Zakariyya Mughal
     
  • Chris Marshall

    Chris Marshall - 2015-03-07

    Merged to master. Thanks.

     

Log in to post a comment.