Re: latest clone/pull of git.git problems with setlinebuf.
- From
- Boyd Lynn Gerber <gerberb@zenez.com>
- Date
- Sep 4, 2008, 03:58 UTC
- Message-ID
- <alpine.LNX.1.10.0809032157200.21167@suse104.zenez.com>
- In-Reply-To
- <7vljy88u0m.fsf@gitster.siamese.dyndns.org>
On Wed, 3 Sep 2008, Junio C Hamano wrote:
Show 20 quoted lines
> Boyd Lynn Gerber <gerberb@zenez.com> writes: >> I just noticed that setlinebuf is coming back as undefined when trying >> to build the lastest version. >> >> on UnixWare 7.1.4 I get >> >> LINK git-var >> CC daemon.o >> UX:acomp: WARNING: "daemon.c", line 485: end-of-loop code not reached >> LINK git-daemon >> Undefined first referenced >> symbol in file >> setlinebuf daemon.o >> UX:ld: ERROR: Symbol referencing errors. No output written to git-daemon >> gmake: *** [git-daemon] Error 1 > > Ah, ok. I should have noticed that setlinebuf() was outside POSIX (it is > not usable on older BSDs either). > > Let's see if we can replace it with setvbuf() which is POSIX.
This fixes the problem. on both OS's.
Thanks,
-- Boyd Gerber <gerberb@zenez.com> ZENEZ 1042 East Fort Union #135, Midvale Utah 84047