Date: Thu, 04 Oct 2012 18:26:47 +0200 From: Didier LEGRAND <dleg@free.fr> To: oliver@FreeBSD.org Cc: ports@FreeBSD.org Subject: FreeBSD Port: mime-support-3.52.1 Message-ID: <506DB8C7.3040301@free.fr>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040309020305090105030408 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello Oliver, I am using the Perl script run-mailcap from this port to launch applications in accordance to my .mailcap file. I am running this script with mutt and from firefox downloaded files dialog. I found that run-mailcap doesn't process files with special characters in their filename, so i investigated why and made some modifications to this script. The problem is within the 'TempFile' subroutine which doesn't work with FreeBSD. I corrected this by using the Perl module 'File::Temp' and now it works well (see enclosed). Perhaps my modifications could help somebody else. I'm french, so please excuse my bad English. Sincerely yours. -- Didier LEGRAND Email : dleg@free.fr --------------040309020305090105030408 Content-Type: application/octet-stream; name="my_run-mailcap.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="my_run-mailcap.zip" UEsDBBQAAAAIABxJO0HlajWKMREAAKw5AAAOABwAbXlfcnVuLW1haWxjYXBVVAkAA4f7Y1Dr t21QdXgLAAEE6QMAAATpAwAAzTtrd9NIsp+TX9FWlLEElmV7d/bs2DjALmEu5xCGhTCze+Mk I9udWBdZEnqQZCD727eq+qGWLIfAzt17wyGWW9XV9a7q6s5eh/llnvnzMPZTnkXMu9rd+31/ duEfY2/K2DsKwmgRpGP6xgKWZsllFqxZnvJFeBHyJQtjVqw4WwtAdhFGnM2DHN4kOGEdrjki K25S3hd4f8nCouAxm9+wv2RhELNfVmHB2aP54gofnqTJPLnuL5L1AUIfr8JcYF0FOZtzmJhG waJaOS3nUbhgywRIiJmDQ0kc3bAiKzmzLjLOLVeufJQsBdGw9LNwGfKMvTz88c3TV8+Q2NFg OPIGP3jDHxD6d5bobplz9hzYGI+P+TplH678Aj6RMX+yu2sv+by8nDr24aufP7159+r86OmL l399+vr82eFf3v14yz5/ZgN3smvH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wADAP0AAABlEwAA AAA= --------------040309020305090105030408--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506DB8C7.3040301>