curl-users
output buffering / solution
Date: Mon, 15 Jul 2002 05:58:36 +0000
I managed to find a solution my output buffering problem. In src/main.c
there are lines in the code
#ifdef HAVE_SETVBUF
setvbuf(out->stream, NULL, _IONBF, 0);
#endif
The interesting part is that running ./configure says that "setvbuf yes" and
in setup.log I do have HAVE_SETVBUF set to 1. But the -N switch doesn't
work. If I remove those ifdefs from that part of code everything works just
the way it should be. After all, I have a working setvbuf and I really don't
need those ifdefs. Could it be that the configuration is broken somewhere?
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-07-15