Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 74117
Status: rejected
Priority: 0/
Queue: CGI

People
Owner: MARKSTOS [...] cpan.org
Requestors: hirling.endre [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From hirling.endre [...] gmail.com Wed Jan 18 06: 27:34 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-1.22 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_NEUTRAL=0.779] autolearn=no
X-Spam-Flag: NO
Content-Type: text/plain; charset=UTF-8
Message-ID: <CAJuwzrDVHg5kgZ8BSOb=MMUdsPJL8oTG8-bTVKTv-Tpnzn2nFQ [...] mail.gmail.com>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -1.22
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id A63C0241140 for <cpan-bug+CGI.pm [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 06:27:34 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RIGZUfWv3VsP for <cpan-bug+CGI.pm [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 06:27:33 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 980FF241135 for <bug-CGI.pm [...] rt.cpan.org>; Wed, 18 Jan 2012 06:27:33 -0500 (EST)
Received: (qmail 31173 invoked by uid 103); 18 Jan 2012 11:27:32 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Jan 2012 11:27:32 -0000
Received: from mail-qw0-f43.google.com (HELO mail-qw0-f43.google.com) (209.85.216.43) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 18 Jan 2012 03:27:30 -0800
Received: by qadz30 with SMTP id z30so31225321qad.9 for <bug-CGI.pm [...] rt.cpan.org>; Wed, 18 Jan 2012 03:27:28 -0800 (PST)
Received: by 10.224.76.147 with SMTP id c19mr14777913qak.5.1326886047918; Wed, 18 Jan 2012 03:27:27 -0800 (PST)
Received: by 10.229.1.194 with HTTP; Wed, 18 Jan 2012 03:27:27 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+CGI.pm [...] hipster.bestpractical.com
Subject: CGI.pm typo in find_tempdir
Return-Path: <hirling.endre [...] gmail.com>
X-RT-Mail-Extension: cgi.pm
X-Original-To: cpan-bug+CGI.pm [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=waqpjsIyC8RG/ttvOSHuRZP9/80mYd25YzLxDWdEyAo=; b=V4MC4tujz1sPFf4irPLJQbAxXdIA3/0kDEnOgLgvFGYMiFA7oFVyEe8iAdDkO4voy+ NOwVZ0hIZWXlkC63ZKwoBlLJYlqfVX9HElZ9L9jcfLJoQGjITxaHPpZL9z6abtfmlqi8 5HaGYGK6y5d2D1nzo8h9EFqTX3nD8Dd6rtMy8=
Date: Wed, 18 Jan 2012 12:27:27 +0100
X-Spam-Level:
To: bug-CGI.pm [...] rt.cpan.org
From: Endre Hirling <hirling.endre [...] gmail.com>
X-RT-Original-Encoding: utf-8
Content-Length: 310
Download (untitled) / with headers
text/plain 310b
Hi, There's a line in find_tempdir that checks for a writable directory: for (@TEMP) { do {$TMPDIRECTORY = $_; last} if -d $_ && -w _; } I think the "-w _" is a typo, a $ is missing and it causes find_tmpdir to misbehave. This is present in the current CPAN version (3.59) in line 4191. Greetings Endre
MIME-Version: 1.0
In-Reply-To: <CAJuwzrDVHg5kgZ8BSOb=MMUdsPJL8oTG8-bTVKTv-Tpnzn2nFQ [...] mail.gmail.com>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <CAJuwzrDVHg5kgZ8BSOb=MMUdsPJL8oTG8-bTVKTv-Tpnzn2nFQ [...] mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-6895-1326896071-1508.74117-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 170
Download (untitled) / with headers
text/plain 170b
That's not a typo, that's correct perl syntax. Review here: perldoc -f - And scroll to the bottom. Submit a failing test case if you've found a bug in CGI.pm Mark
From hirling.endre [...] gmail.com Wed Jan 18 10: 08:05 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-1.22 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_NEUTRAL=0.779] autolearn=no
In-Reply-To: <rt-3.8.HEAD-6895-1326896071-791.74117-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-74117 [...] rt.cpan.org> <CAJuwzrDVHg5kgZ8BSOb=MMUdsPJL8oTG8-bTVKTv-Tpnzn2nFQ [...] mail.gmail.com> <rt-3.8.HEAD-6895-1326896071-791.74117-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <CAJuwzrC8NdP6CJ8+9f6N+J2WL6uX5MorkMZk5rcTL_eHdVcJfA [...] mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -1.22
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 53BF0241379 for <cpan-bug+CGI.pm [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 10:08:05 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Syjo9aUk3wD for <cpan-bug+CGI.pm [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 10:08:04 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id EA7F22411DF for <bug-CGI.pm [...] rt.cpan.org>; Wed, 18 Jan 2012 10:08:03 -0500 (EST)
Received: (qmail 20792 invoked by uid 103); 18 Jan 2012 15:08:03 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Jan 2012 15:08:03 -0000
Received: from mail-qw0-f50.google.com (HELO mail-qw0-f50.google.com) (209.85.216.50) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 18 Jan 2012 07:08:01 -0800
Received: by qabg27 with SMTP id g27so23934743qab.9 for <bug-CGI.pm [...] rt.cpan.org>; Wed, 18 Jan 2012 07:07:58 -0800 (PST)
Received: by 10.224.76.147 with SMTP id c19mr15988435qak.5.1326899278463; Wed, 18 Jan 2012 07:07:58 -0800 (PST)
Received: by 10.229.1.194 with HTTP; Wed, 18 Jan 2012 07:07:58 -0800 (PST)
Delivered-To: cpan-bug+CGI.pm [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #74117] CGI.pm typo in find_tempdir
Return-Path: <hirling.endre [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9sTokP6feUYLfw8EH3O4GCt8iLAUoxNBIGhPivgRBgw=; b=p9GtYBe6VJEUWzRR1rmHUAf7V2Ln/SfbnrJJyH+JuJKtVvS9AGGYvNWX9YE6T3EOe3 JLulRA01+t9GmS7dICmEz7jb3K/QovodzUmMu4vDUAQh0z7ikiTf3PpHUI+dzOxMTUqW eShiulBT7Na5aMtvy3CzqBEbTFxsbCZYrI2s0=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+CGI.pm [...] hipster.bestpractical.com
X-RT-Mail-Extension: cgi.pm
Date: Wed, 18 Jan 2012 16:07:58 +0100
X-Spam-Level:
To: bug-CGI.pm [...] rt.cpan.org
From: Endre Hirling <hirling.endre [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-6890-1326899285-95.74117-0-0 [...] rt.cpan.org>
Content-Length: 211
Download (untitled) / with headers
text/plain 211b
Sorry for the false report and many thanks for pointing me to the right direction. I couldn't find it in the manual at first and was confused that setting $ENV{TMPDIR} in the script itself is not enough. Endre
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-25657-1400760776-537.74117-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 240
Download (untitled) / with headers
text/plain 240b
This issue has been copied to: https://github.com/leejo/CGI.pm/issues/94 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
MIME-Version: 1.0
In-Reply-To: <CAJuwzrDVHg5kgZ8BSOb=MMUdsPJL8oTG8-bTVKTv-Tpnzn2nFQ [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAJuwzrDVHg5kgZ8BSOb=MMUdsPJL8oTG8-bTVKTv-Tpnzn2nFQ [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-15189-1401125548-1735.74117-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 31
Closed as per previous comment.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.