Actually I just read the wishlist, i'll make it an option and work on the tests

might as well "do it right"



On 12/16/05, Jeff MacDonald <[EMAIL PROTECTED]> wrote:
> Here is the patch
>
> change line 616 to this
>
>    my ($tmp_fh, $tmp_filename) = tempfile('CGIuploaderXXXXX', UNLINK
> => 1, DIR => File::Spec->tmpdir());
>
> :)
>
> I'll make a real patch for the mime stuff.
>
> Jeff.
>
> On 12/16/05, Jeff MacDonald <[EMAIL PROTECTED]> wrote:
> > > Note: My version of File::Temp (0.14) for Perl 5.8.6 uses tmpdir(),
> > > not curdir(). You might want to upgrade File::Temp before doing
> > > anything drastic.
> >
> > I'm running File::Temp 0.16 and it appear to use curdir.. Which line
> > of code are you refering to ?
> >
> > I jsut read the changelog for this module and it doesn't really make
> > any mention of chaning whether it uses curdir or tmpdir.
> >
> > I upgraded to the CGI::Uploader that Mark posted and it still tries to
> > make a tmpfile in "." which is my cgi-bin.
> >
> > So I think the explicit patch is necessary.
> >
> > > Of course, upgrade CGI::Uploader to be explict about these things
> > > isn't a bad idea. Explicit is always good.
> > >
> > > Rob
> > >
> > > ---------------------------------------------------------------------
> > > Web Archive:  http://www.mail-archive.com/[email protected]/
> > >               http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Jeff MacDonald
> > http://www.halifaxbudolife.ca
> > http://www.nintai.ca
> >
>
>
> --
> Jeff MacDonald
> http://www.halifaxbudolife.ca
> http://www.nintai.ca
>


--
Jeff MacDonald
http://www.halifaxbudolife.ca
http://www.nintai.ca

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to