-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Mailcap entry aware of temporary files
When opening attachments with mailcap entries, it is sometimes possible that the actual binary just sends a message to the main program and exits. Deleting the temporary file upon process exit would cause the main program upon opening the temporary file to fail since the file would have been deleted by that time. Sometimes opening the file from the main program just works, because the time difference between exiting and opening is really quick, but mostly it doesn't. Instead, make the mailcap entry flexible so that depending on the command we either keep or delete the temporary file. Fixes #276
- Loading branch information
1 parent
a775116
commit a6cd79a
Showing
4 changed files
with
69 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters