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

[ID 20011030.064] File::Temp tempdir (CLEANUP => 1) and -T onOpenBSD 2.9

Thread Previous | Thread Next
From:
Alexander.Farber
Date:
October 30, 2001 04:48
Subject:
[ID 20011030.064] File::Temp tempdir (CLEANUP => 1) and -T onOpenBSD 2.9
Message ID:
200110301252.f9UCqYL06843@localhost.my.domain
This is a bug report for perl from eedalf@eed.ericsson.se,
generated with the help of perlbug 1.28 running under perl v5.6.0.


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

Hi,

the same problem as in ID 20011030.063:


    #!/usr/bin/perl -wT

    BEGIN { %ENV = () }

    use File::Temp qw (tempdir);

    $tempdir = tempdir (CLEANUP => 1);

    $tempdir = $1 if $tempdir =~ /(\S*)/;
    print "$tempdir\n";
    system ("/usr/bin/touch $tempdir/xxx") and die $!;

produces:

pref:alex {140} ./temp.pl
/tmp/oQp5wJKtTU
Insecure dependency in unlink while running with -T switch at /usr/libdata/perl5/File/Path.pm
line 220.
END failed--call queue aborted.

pref:alex {141} perl -v

This is perl, v5.6.0 built for i386-openbsd

Regards
Alex






[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=low
---
Site configuration information for perl v5.6.0:

Configured by root at Sat Sep  1 20:49:58 CEST 2001.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
    osname=openbsd, osvers=2.9, archname=i386-openbsd
    uname='openbsd'
    config_args='-Dopenbsd_distribution=defined -dsE'
    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='-O2', gccversion=2.95.3 20010125 (prerelease)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include'
    stdchar='char', d_stdstdio=undef, usevfork=true
    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=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/usr/lib
    libs=-lm -lc
    libc=/usr/lib/libc.so.26.2, so=so, useshrplib=true, libperl=libperl.so.6.0
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=define, ccdlflags=' '
    cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC '

Locally applied patches:
    SUIDMAIL - fixes for suidperl security
    CHANGE6214 - fixes a coredump in @DB::args

---
@INC for perl v5.6.0:
    /usr/libdata/perl5/i386-openbsd/5.6.0
    /usr/local/libdata/perl5/i386-openbsd/5.6.0
    /usr/libdata/perl5
    /usr/local/libdata/perl5
    /usr/local/libdata/perl5/site_perl/i386-openbsd
    /usr/libdata/perl5/site_perl/i386-openbsd
    /usr/local/libdata/perl5/site_perl
    /usr/libdata/perl5/site_perl
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl v5.6.0:
    HOME=/home/alex
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/alex/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games:.
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/tcsh


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