- On Windows /dev/null is not available
/*
- * $Id: unlinkd.cc,v 1.52 2003/02/21 22:50:12 robertc Exp $
+ * $Id: unlinkd.cc,v 1.53 2005/11/06 11:16:22 serassio Exp $
*
* DEBUG: section 2 Unlink Daemon
* AUTHOR: Duane Wessels
setbuf(stdin, NULL);
setbuf(stdout, NULL);
close(2);
+#ifndef _SQUID_MSWIN_
+
open("/dev/null", O_RDWR);
+#endif
while (fgets(buf, UNLINK_BUF_LEN, stdin)) {
if ((t = strchr(buf, '\n')))