Red Hat Bugzilla – Bug 25386
[patch] viewing attached images doesn't work
Last modified: 2007-04-18 12:31:00 EDT
Viewing attached images in pine doesn't work: ee gets launched, but for
some reason the file it's told to look at has gone by the time it does.
The strace output suggests that the shell is exiting too early, but I
haven't investigated much yet, and was unable to reproduce the problem
outside of pine.
pine-4.31-2 works fine; pine-4.32-1 doesn't.
Created attachment 8581 [details]
The above patch is the correct fix, I think
Rationale: Pine is actually executing:
sh -c '( cmd-read-from-mailcap tmpfile ; rm tmpfile ) &'
The new change in 4.32 was equivalent to this kind of thing:
fork ( exec )
+ unlink (tmpfile)
So tmpfile was disappearing because the (show file; rm file) process was
backgrounded and the shell returned, and in 4.32 it removes the file, needlessly
since the backgrounded task will do that when the viewer exits.
This defect is considered MUST-FIX for Florence Release-Candidate #1
4.33 has this fix in.
Yes, 4.33 has fixed this and will be in rawhide real soon.