This allows named to connect to entropy gathering
daemons that use fifos instead of sockets. [RT #15840]
+1998. [bug] Restrict handling of fifos as sockets to just SunOS.
+ This allows named to connect to entropy gathering
+ daemons that use fifos instead of sockets. [RT #15840]
+
1997. [bug] Named was failing to replace negative cache entries
when a positive one for the type was learnt.
[RT #15818]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: entropy.c,v 1.71.18.5 2006/01/06 00:01:43 marka Exp $ */
+/* $Id: entropy.c,v 1.71.18.6 2006/03/02 23:29:24 marka Exp $ */
/* \file unix/entropy.c
* \brief
if (S_ISSOCK(_stat.st_mode))
is_usocket = ISC_TRUE;
#endif
-#if defined(S_ISFIFO)
+#if defined(S_ISFIFO) && defined(sun)
if (S_ISFIFO(_stat.st_mode))
is_usocket = ISC_TRUE;
#endif