3d662ab612
- Define NO_REGRESS - replace all LOG_DEBUG to LOG_INFO - use snprintf() instead of sprintf() in debuglog.c - stop if /tmp/pcsc already exists - clean and remove /tmp/pcsc on exit Patches by Dr. Ludovic Rousseau <ludovic.rousseau@free.fr> and already submitted to upstream project. Thanks.
23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
$OpenBSD: patch-src-pcsclite_h,v 1.2 2001/12/11 19:11:59 shell Exp $
|
|
--- src/pcsclite.h.orig Thu Nov 8 06:54:30 2001
|
|
+++ src/pcsclite.h Wed Dec 12 03:01:26 2001
|
|
@@ -143,11 +143,13 @@
|
|
#define BLOCK_STATUS_RESUME 0x00FF /* Normal resume */
|
|
#define BLOCK_STATUS_BLOCKING 0x00FA /* Function is blocking */
|
|
|
|
-#define PCSCLITE_READER_CONFIG "/etc/reader.conf"
|
|
-#define PCSCLITE_CARD_CONFIG "/etc/card.conf"
|
|
-#define PCSCLITE_SHM_FILE "/tmp/pcsc/.pcsctmp"
|
|
-#define PCSCLITE_PUBSHM_FILE "/tmp/pcsc/.pcscpub"
|
|
-#define PCSCLITE_CSOCK_NAME "/tmp/pcsc/.pcscomm"
|
|
+#define PCSCLITE_CONFIG_DIR "/etc/pcscd"
|
|
+#define PCSCLITE_READER_CONFIG PCSCLITE_CONFIG_DIR "/reader.conf"
|
|
+#define PCSCLITE_CARD_CONFIG PCSCLITE_CONFIG_DIR "/card.conf"
|
|
+#define PCSCLITE_IPC_DIR "/tmp/pcsc"
|
|
+#define PCSCLITE_SHM_FILE PCSCLITE_IPC_DIR "/.pcsctmp"
|
|
+#define PCSCLITE_PUBSHM_FILE PCSCLITE_IPC_DIR "/.pcscpub"
|
|
+#define PCSCLITE_CSOCK_NAME PCSCLITE_IPC_DIR "/.pcscomm"
|
|
|
|
#define PCSCLITE_SVC_IDENTITY 0x01030000 /* Service ID */
|
|
|