[Pcsclite-cvs-commit] r2242 - trunk/PCSC/src

Ludovic Rousseau rousseau at alioth.debian.org
Wed Nov 29 11:42:51 CET 2006


Author: rousseau
Date: 2006-11-29 11:42:51 +0100 (Wed, 29 Nov 2006)
New Revision: 2242

Modified:
   trunk/PCSC/src/pcscdaemon.c
Log:
SendHotplugSignal() does nothing if USE_RUN_PID is NOT defined


Modified: trunk/PCSC/src/pcscdaemon.c
===================================================================
--- trunk/PCSC/src/pcscdaemon.c	2006-11-29 10:37:43 UTC (rev 2241)
+++ trunk/PCSC/src/pcscdaemon.c	2006-11-29 10:42:51 UTC (rev 2242)
@@ -96,6 +96,7 @@
 
 int SendHotplugSignal(void)
 {
+#ifdef USE_RUN_PID
 	pid_t pid;
 
 	pid = GetDaemonPid();
@@ -110,6 +111,7 @@
 			return EXIT_FAILURE ;
 		}
 	}
+#endif
 
 	return EXIT_SUCCESS;
 } /* SendHotplugSignal */




More information about the Pcsclite-cvs-commit mailing list