Bug#528544: perlio: ignores TMPDIR

Norbert Buchmuller norbi at nix.hu
Wed May 13 14:30:05 UTC 2009


Package: perl
Version: 5.10.0-19
Severity: normal
Tags: patch

Currently the PerlIO layer ignores the TMPDIR environment variable when
opening tempfiles with the "open(FH, '+<', undef)" idiom. Pretty
annoying when eg. a git-svn import eats up the small /tmp and there's no
way to override it..

See the attached patch.

norbi


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26 (PREEMPT)
Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages perl depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libdb4.6                      4.6.21-11  Berkeley v4.6 Database Libraries [
ii  libgdbm3                      1.8.3-3    GNU dbm database routines (runtime
ii  perl-base                     5.10.0-19  minimal Perl system
ii  perl-modules                  5.10.0-19  Core Perl modules

Versions of packages perl recommends:
ii  netbase                       4.34       Basic TCP/IP networking system

Versions of packages perl suggests:
ii  libterm-readline-perl-perl    1.0302-1   Perl implementation of Readline li
ii  perl-doc                      5.10.0-19  Perl documentation

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl-5.10-perlio_TMPDIR-fix.diff
Type: text/x-diff
Size: 2396 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20090513/96e78852/attachment.diff>


More information about the Perl-maintainers mailing list