[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vile] Temp files in spell filter

From: Decklin Foster
Subject: [vile] Temp files in spell filter
Date: Wed, 18 Jun 2008 00:51:15 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

The spell filter currently creates temporary files in vile's current
directory. This fails in any case where the directory is not writable by
the user. I've attached a patch to make the filter try TMPDIR from the
environment and fall back to /tmp. I have not searched the rest of the
code for other places that this might be a problem.

Note: Since the value of an environment variable could be long enough
to overflow I made open_tempfile take the buffer size as well and use

(I am totally unclear on why the spell filter needs temp files, but hey,
I just wanted things to work so I could send an email... :-)

things change.

Attachment: vile_spellflt_tmpdir.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]