nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] tempfile creation

2005-04-27 11:42:27
Valdis(_dot_)Kletnieks(_at_)vt(_dot_)edu 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 were still (apparently) working. (big grin)

For bonus points, note that even changing it to mkstemp() won't fix
all the issues, because what the code currently does is to generate
a filename, open it, then leak the file descriptor and pass the
filename back for re-opening...

The real problem here is that recent nmh "development" has been in
the form of creeping featurism.  But the code base is rotten to the
core, and badly needs revamping and modernizing.  Some documenting
would also be in order.

 -NWR




_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>