a flag in OPEN() for disappear on close is the equivalent of
the NFS hack but done much more explicitly.
and it solves most of the problems, but not all.
-mo
___
Nmh-workers mailing list
Nmh-workers@nongnu.org
more importantly, note the e added to creat()
Ken said that was the one thing he'd fix if he ever got the chance
-mo
___
Nmh-workers mailing list
Nmh-workers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/nmh-workers
Hi mo,
the reference-count semantics are immensely useful, but not without
cost. it complicates the design of NFS no small amount and is why
hard links cannot cross demountable volumes. however, doing without
those semantics is very difficult to imagine.
What you say is true, but it may
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
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
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
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
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
[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
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.
10 matches
Mail list logo