reassign 480215 mime-support notfound 480215 2.3.1-3 found 480215 3.40-1.1 retitle 480215 inconsistent handling of command line thanks
lapse:~/phd|master|% see papers/Coleman:2005:SCFOSS.pdf - parsing parameter "papers/Coleman:2005:SCFOSS.pdf" - Reading mailcap file "/home/madduck/.mailcap"... - Reading mailcap file "/etc/mailcap"... Processing file "SCFOSS.pdf" of type "papers/Coleman" (encoding=2005)... Error: no such file "SCFOSS.pdf" Yet: lapse:~/phd|master|% (cd papers; see Coleman:2005:SCFOSS.pdf) works. This seems to expose a pretty bad bug in the handling of the command line of run-mailcap: run-mailcap --action=ACTION [--debug] [MIME-TYPE:[ENCODING:]]FILE [...] which apparently only comes into play if a path preceeds a filename with colons, not if the file is called directly. Arguably, you shouldn't be hard-coding the use of : here either, since it's a perfectly valid character in filenames. At the very least, please stat() the full argument first to see if a file by the name exists, before splitting at the : into components. -- .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, author, administrator, and user `. `'` http://people.debian.org/~madduck - http://debiansystem.info `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

