nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] outstanding patches

2005-05-26 08:51:16
 | Hm, ok then this probably isn't that much of an issue as I thought before
 | Is fprintf(stderr, "...") ok? After all it should be unbuffered?

No, stdio isn't OK, even if supposedly unbuffered.   There's too much
state and context kept in there.   Even if it works on one implementation
of libc that manages output to an unbuffered FILE * without touching (as
in altering) the FILE * at all, there's no guarantee than any other
implementation will do the same thing.

Ok, then this should be changed too, in case anybody wants to keep
vfork(). But I still think it's better to switch to fork() - nmh doesn't
obey the rules necessary to use vfork() even if it isn't that bad as
it seemed to me in the beginning.

Harald



_______________________________________________
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>