This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux vs. libio




  In message <m21z8h1rmy.fsf@magnus.bothner.com>you write:
  > Jeffrey A Law <law@cygnus.com> writes:
  > 
  > > While I believe it was an unbelievably dumb thing for the glibc folks to
  > > tie libio into the C library,
  > 
  > In other words, you don't think it is a reasonable goal to allow C
  > stdio FILEs to be shared with C++ iostream streambufs? 
  > The best way
  > to synchronize (say) stdout with cout seems to be for them both to use
  > the same buffer.  The requires (at least if you want efficiency) for
  > them to use compatible data structures, and thus libio has to be tied
  > to the C library.  (Note: This is not new to glibc; it has been that
  > way in Linux for many years.)
I don't really see the need to debate this -- it's a fact of life that we
have to deal with this braindamage.  So, let's find a way to deal with it
rather than debating the decision to integrate libio with glibc here.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]