nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] outstanding patches


From: Robert Elz
Subject: Re: [Nmh-workers] outstanding patches
Date: Thu, 26 May 2005 21:53:36 +0700

    Date:        Thu, 26 May 2005 15:44:29 +0200
    From:        Harald Geyer <address@hidden>
    Message-ID:  <address@hidden>

  | Please see http://bugs.debian.org/143485 for the whole story.

OK, no wonder I hadn't see it...   I will take a look.

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

write(2, "string", N) on the other hand is just fine.

kre






reply via email to

[Prev in Thread] Current Thread [Next in Thread]