Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1198820
| From | Charles Plessy <plessy@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1071961: mailcap: run-mailcap doesn't properly identifies magic types |
| Date | 2024-05-27 04:40 +0200 |
| Message-ID | <IIyrf-g64B-1@gated-at.bofh.it> (permalink) |
| References | <IInm9-fZja-25@gated-at.bofh.it> <IInm9-fZja-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le Sun, May 26, 2024 at 05:35:28PM +0300, Yair Yarom a écrit : > > The function MagicMimetype always fails because the `command -v file` isn't > executed inside a shell (rather, perl searches for the "command" binary, and > fails to find it). Thanks Yair for the patch. I confirm it works. Can you give me a longer explanation why it works? In any case, I wonder if just searching for /usr/bin/file would make more sense. What do you think about it? Have a nice day, Charles
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1071961: mailcap: run-mailcap doesn't properly identifies magic types Yair Yarom <irush@cs.huji.ac.il> - 2024-05-26 16:50 +0200
Bug#1071961: mailcap: run-mailcap doesn't properly identifies magic types Charles Plessy <plessy@debian.org> - 2024-05-27 04:40 +0200
Bug#1071961: mailcap: run-mailcap doesn't properly identifies magic types Yair Yarom <irush@cs.huji.ac.il> - 2024-05-27 15:50 +0200
csiph-web