[Nmh-workers] tempfile creation

2005-04-27 Thread Paul Fox
it seems that the usual paradigm in the nmh code (i'm looking at 1.1 source) for creating a temp file is to do something like this, from mhbuild.c: /* copy standard input to temporary file */ strncpy (infile, m_scratch (, invo_name), sizeof(infile)); if ((fp = fopen

Re: [Nmh-workers] tempfile creation

2005-04-27 Thread Mike O'Dell
if i were to hazzard a guess, the reason the code doesn't use mkstemp() is that [1] the code cited is likely well more than twice age of mkstemp() [2]and nobody has gone looking for things to fix that were still (apparently) working. (big grin) the question about /tmp is probably related the

Re: [Nmh-workers] tempfile creation

2005-04-27 Thread Josh Bressers
Mike O'Dell wrote: if i were to hazzard a guess, the reason the code doesn't use mkstemp() is that [1] the code cited is likely well more than twice age of mkstemp() [2]and nobody has gone looking for things to fix that were still (apparently) working. (big grin) While it does work, mkstemp

Re: [Nmh-workers] tempfile creation

2005-04-27 Thread Valdis . Kletnieks
On Wed, 27 Apr 2005 11:01:45 EDT, Mike O'Dell said: if i were to hazzard a guess, the reason the code doesn't use mkstemp() is that [1] the code cited is likely well more than twice age of mkstemp() [2]and nobody has gone looking for things to fix that were still (apparently) working. (big

[Nmh-workers] sorting on X-Spam headers

2005-04-27 Thread Michael Richardson
-BEGIN PGP SIGNED MESSAGE- Does anyone have any solutions to sort on spamassassin headers? I.e. I want to sort my inbox on: X-Spam-Status: No, hits=-31.6 ^ this number. - -- ] Michael Richardson Xelerance Corporation, Ottawa, ON |

Re: [Nmh-workers] tempfile creation

2005-04-27 Thread Mike O'Dell
oy! such features you get in this code!! -mo ___ Nmh-workers mailing list Nmh-workers@nongnu.org http://lists.nongnu.org/mailman/listinfo/nmh-workers

Re: [Nmh-workers] tempfile creation

2005-04-27 Thread Neil W Rickert
[EMAIL PROTECTED] wrote on Apr 27, 2005: On Wed, 27 Apr 2005 11:01:45 EDT, Mike O'Dell said: if i were to hazzard a guess, the reason the code doesn't use mkstemp() is that [1] the code cited is likely well more than twice age of mkstemp() [2]and nobody has gone looking for things to fix that

Re: [Nmh-workers] sorting on X-Spam headers

2005-04-27 Thread Jerry Peek
On 27 April 2005 at 12:38, Michael Richardson [EMAIL PROTECTED] wrote: Does anyone have any solutions to sort on spamassassin headers? I.e. I want to sort my inbox on: X-Spam-Status: No, hits=-31.6 ^ this number. You could do it with a short script.

Re: [Nmh-workers] tempfile creation

2005-04-27 Thread Chad Walstrom
On Wed, Apr 27, 2005 at 11:01:45AM -0400, Mike O'Dell wrote: if i were to hazzard a guess, the reason the code doesn't use mkstemp() is that [1] the code cited is likely well more than twice age of mkstemp() [2]and nobody has gone looking for things to fix that were still (apparently) working.

[Nmh-workers] [OT] nit (was Re: tempfile creation)

2005-04-27 Thread Chad Walstrom
Please don't Cc me. I am subscribed to the list... -- Chad Walstrom [EMAIL PROTECTED] http://www.wookimus.net/ assert(expired(knowledge)); /* core dump */ signature.asc Description: Digital signature ___ Nmh-workers mailing list