develooper Front page | perl.perl5.porters | Postings from July 2001

[ID 20010705.004] sigaction.t under QNX

From:
Norton Allen
Date:
July 5, 2001 23:28
Subject:
[ID 20010705.004] sigaction.t under QNX
Message ID:
200107051434.KAA04014@bottesini.harvard.edu

This is a bug report for perl from allen@huarp.harvard.edu,
generated with the help of perlbug 1.33 running under perl v5.7.1.


-----------------------------------------------------------------
[Please enter your report here]

Under QNX, I am getting a failure on ext/POSIX/sigaction.t
subtest 13. The signal mask is not being properly restored
when sigaction returns early. I am happy to pursue and
patch for this, but I could really use some guidance.

Apparently the plan is for POSIX.xs:1218:

  SAVEDESTRUCTOR(restore_sigmask, &osset);

to take care of this, but it also appears that this is
not the mechanism used when sigaction does not return
early.

How does SAVEDESTRUCTOR work?

 -Norton Allen


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl v5.7.1:

Configured by nort at Wed Jul 04 16:44:52 edt 2001.

Summary of my perl5 (revision 5.0 version 7 subversion 17) configuration:
  Platform:
    osname=qnx, osvers=424, archname=x86-qnx
    uname='qnx 53 g 424 pci 32 '
    config_args='-des -Dusedevel -Dman1dir=/usr/local/man/man1 -Dman3dir=/usr/local/man/man3 -Dcf_email=allen@huarp.harvard.edu'
    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 ='-mf -w4 -Wc,-wcd=202 -Wc,-wcd=203 -Wc,-wcd=302 -Wc,-fi=unix.h -I/usr/local/include',
    optimize='-O',
    cppflags='-mf -w4 -Wc,-wcd=202 -Wc,-wcd=203 -Wc,-wcd=302 -Wc,-fi=unix.h -I/usr/local/include'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=undef, longlongsize=, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=1, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-g -N1M -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-lsocket -lcrypt -lunix
    perllibs=-lsocket -lcrypt -lunix
    libc=/usr/lib/clib3r.lib, so=none, useshrplib=false, libperl=libperl3r.lib
  Dynamic Linking:
    dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
    cccdlflags='', lddlflags=''

Locally applied patches:
    DEVEL11146

---
@INC for perl v5.7.1:
    lib
    /usr/local/lib/perl5/5.7.1/x86-qnx
    /usr/local/lib/perl5/5.7.1
    /usr/local/lib/perl5/site_perl/5.7.1/x86-qnx
    /usr/local/lib/perl5/site_perl/5.7.1
    /usr/local/lib/perl5/site_perl/5.6.1/x86-qnx
    /usr/local/lib/perl5/site_perl/5.6.1
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.7.1:
    HOME=//2/home/nort
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=:/bin:/usr/bin:/usr/local/bin:/usr/ucb
    PERL_BADLANG (unset)
    SHELL=/bin/sh




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