David Kelly <[EMAIL PROTECTED]> writes:
> Got bit when I received a 28MB enclosure the other day. Discovered 
> slocal in nmh 1.0.4 was not honoring my TMPDIR environment variable. 
> Guess I knew all along that it was ignoring it but didn't really notice 
> until the fs /tmp was on filled up.
> 
> Is there some kind of security reason not to honor TMPDIR? I notice the 
> source to FreeBSD's mkstemp() does not honor TMPDIR either.

I've only ever heard of reasons _to_ support TMPDIR due to security, never
the other way around.  I guess it's possible FreeBSD's mkstemp() might not
honor TMPDIR due to some standard (POSIX?) not saying it's supposed to (or
even saying it's _not_ supposed to).  

I don't see any reason slocal and other nmh commands shouldn't support it,
though.  Feel free to send in a patch.

-----------------------------------------------------------------------
Dan Harkless                   | To prevent SPAM contamination, please 
[EMAIL PROTECTED]      | do not post this private email address
SpeedGate Communications, Inc. | to the USENET or WWW.  Thank you.     

Reply via email to