[Pcsclite-cvs-commit] PCSC/src configfile.l,1.12,1.13

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv15264

Modified Files:
	configfile.l 
Log Message:
print a warning if the LIBPATH contains ".bundle". USB drivers SHOULD NOT be declared in reader.conf


Index: configfile.l
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/configfile.l,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- configfile.l	30 Mar 2004 14:54:19 -0000	1.12
+++ configfile.l	30 Mar 2004 15:08:59 -0000	1.13
@@ -115,6 +115,13 @@
 						pcLibpath, strerror(errno));
 					badError = 1;
 				}
+
+				if (strstr(pcLibpath, ".bundle") != NULL)
+				{
+					DebugLogA("WARNING *************************************");
+					DebugLogB("WARNING: USB drivers SHOULD NOT be declared in reader.conf: %s", pcLibpath);
+					DebugLogA("WARNING *************************************");
+				}
 			}
 			else
 			{