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

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Thu Oct 17 13:02:41 UTC 2013


Author: rousseau
Date: 2013-10-17 13:02:41 +0000 (Thu, 17 Oct 2013)
New Revision: 6771

Modified:
   trunk/PCSC/src/debug.c
Log:
Do not export log_msg() symbol

PCSC_API must be undefined so that log_msg() declaration in
PCSC/debuglog.h is not external but internal.

Fix alioth bug [#314494] log_msg should NOT be exported by libpscslite.so.1
https://alioth.debian.org/tracker/index.php?func=detail&aid=314494&group_id=30105&atid=410085


Modified: trunk/PCSC/src/debug.c
===================================================================
--- trunk/PCSC/src/debug.c	2013-10-16 14:30:54 UTC (rev 6770)
+++ trunk/PCSC/src/debug.c	2013-10-17 13:02:41 UTC (rev 6771)
@@ -22,6 +22,8 @@
 #include <string.h>
 #include <stdio.h>
 
+/* We shall not export the log_msg() sumbol */
+#undef PCSC_API
 #include "debuglog.h"
 #include "strlcpycat.h"
 




More information about the Pcsclite-cvs-commit mailing list