setlinebuf vs. setvbuf: Caldera OpenUNIX8.
Kevin Steves
stevesk at pobox.com
Sun Oct 28 10:40:05 EST 2001
On Fri, 26 Oct 2001, Larry Rosenman wrote:
:I tried to compile OpenSSH 2.9.9p2 on my Caldera OpenUNIX8 system and
:it couldn't find setlinebuf. setlinebuf is a BSD compatibility
:function. It was called from sftp-int.c. Looking at the code, there
:is a #ifdef for HAVE_SETVBUF, but apparently configure isn't set to
:look for setvbuf (which we DO have).
:
:I added a #define HAVE_SETVBUF 1 to config.h, and this problem goes
:away.
configure does check for setvbuf, so i don't know what i wrong. i wonder
if the #ifdefs can be removed? what systems do not have setvbuf()?
More information about the openssh-unix-dev
mailing list