--- rc.c.orig	2007-01-13 19:52:39.000000000 +0100
+++ rc.c	2007-01-13 19:54:20.000000000 +0100
@@ -221,6 +221,11 @@
     psz_unix_path = config_GetPsz( p_intf, "rc-unix" );
     if( psz_unix_path )
     {
+	// no need for stdin?
+	// close it
+	//
+	close(0);
+
         int i_socket;
 
 #if !defined(AF_LOCAL) || defined(WIN32)
