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

Ludovic Rousseau rousseau at alioth.debian.org
Mon Feb 5 10:38:30 CET 2007


Author: rousseau
Date: 2007-02-05 10:38:30 +0100 (Mon, 05 Feb 2007)
New Revision: 2373

Modified:
   trunk/PCSC/src/winscard_clnt.c
Log:
profile_end(): call fflush() to sync the profile file


Modified: trunk/PCSC/src/winscard_clnt.c
===================================================================
--- trunk/PCSC/src/winscard_clnt.c	2007-02-05 09:27:49 UTC (rev 2372)
+++ trunk/PCSC/src/winscard_clnt.c	2007-02-05 09:38:30 UTC (rev 2373)
@@ -118,6 +118,7 @@
 	if (profile_tty)
 		fprintf(stderr, "\33[01;31mRESULT %s \33[35m%ld\33[0m\n", f, d);
 	fprintf(fd, "%s %ld\n", f, d);
+	fflush(fd);
 } /* profile_end */
 
 #else




More information about the Pcsclite-cvs-commit mailing list