[Pcsclite-cvs-commit] r4298 - /trunk/PCSC/src/pcscdaemon.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Fri Jul 3 13:11:45 UTC 2009


Author: rousseau
Date: Fri Jul  3 13:11:44 2009
New Revision: 4298

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4298
Log:
clean_temp_files(): give some time to clients to remove their event files
before removing the event directory

Modified:
    trunk/PCSC/src/pcscdaemon.c

Modified: trunk/PCSC/src/pcscdaemon.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcscdaemon.c?rev=4298&op=diff
==============================================================================
--- trunk/PCSC/src/pcscdaemon.c (original)
+++ trunk/PCSC/src/pcscdaemon.c Fri Jul  3 13:11:44 2009
@@ -561,6 +561,7 @@
 			strerror(errno));
 
 	(void)StatSynchronize(NULL);
+	SYS_Sleep(1);
 	rv = SYS_RemoveFile(PCSCLITE_EVENTS_DIR);
 	if (rv != 0)
 		Log2(PCSC_LOG_ERROR, "Cannot remove " PCSCLITE_EVENTS_DIR ": %s",




More information about the Pcsclite-cvs-commit mailing list