Subject: setbuf() in hostalias()
To: Paul A Vixie <vixie@mibh.net>
From: None <itojun@iijlab.net>
List: tech-net
Date: 04/26/2000 13:11:48
	There's
		setbuf(fp, NULL)
	in hostalias() (lib/libc/net/res_query.c).  I wonder why it is
	here, and why it is #if 0'ed in NetBSD (1.21 -> 1.22).
	Are there any reason for putting it in hostalias(), and is it safe
	to remove it?

	By doing some checking, current situation is like this.
		BSDI4 has it, and it is the origin of setbuf(fp, NULL)
		FreeBSD and OpenBSD has it enabled
		NetBSD #if 0'ed it
		(BSDI switched to BIND8 resolver already so I can't compare)

itojun