fprintf() weirdness?

Mark W. Eichin eichin at athena.mit.edu
Thu Dec 22 16:00:11 AEST 1988


Thanks to Carl Smith <cs at sun.com> for the following suggestion:
>>Try attaching a buffer to it with setbuf or setvbuf after the fdopen
>>but before the fprintf.

Adding a setbuf(sfo,NULL); after the sfo=fdopen(s,"w"); solved the
problem. If we ever get sources to libc maybe I can debug the problem,
but at least I can now read my email from the Mac. Progress...

				Mark Eichin
			<eichin at athena.mit.edu>
		SIPB Member & Project Athena ``Watchmaker'' 



More information about the Comp.unix.aux mailing list