Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Thanks to spaette for the bug report
#166
  • Loading branch information
LudovicRousseau committed Feb 10, 2024
1 parent 0575a26 commit 5575d62
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Then you shall generate a complete log (do not truncate it).
```
sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu --color | tee log.txt
```
* Stop pcscd (using Control-C) after the problem occured and send me the
* Stop pcscd (using Control-C) after the problem occurred and send me the
generated log.txt file

See also https://pcsclite.apdu.fr/#support
8 changes: 4 additions & 4 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ pcsc-lite-1.6.1: Ludovic Rousseau
list of readers even if a reader was connected.
Thanks to Patrice Angelini for the bug report
- SCardConnect() & SCardReconnect(): do not reset the cardProtocol in
SCARD_SHARE_DIRECT case since the card have _not_ been reseted. A new
SCARD_SHARE_DIRECT case since the card have _not_ been reset. A new
PPS negotiation would fail.
- Do not install files in /etc any more. Serial drivers are rare now.
- Avoids a crash if a client sends a unknown command.
Expand Down Expand Up @@ -1129,7 +1129,7 @@ pcsc-lite-1.2.9-beta7: Ludovic Rousseau
get the needed length in pcbAttrLen
- SCardReconnect() now works after a card movement. Previously
SCardReconnect() returned "Card was removed" even if the new card is
reseted.
reset.
- SCardGetStatusChange(): greatly improve performances. Thanks to Oivind
H. Danielsen
- SCardControl(): check if the pbSendBuffer is NULL or no bytes are sent
Expand Down Expand Up @@ -1164,7 +1164,7 @@ pcsc-lite-1.2.9-beta6: Ludovic Rousseau
You should use 'DEVICENAME /dev/null' if your driver does not use this field
- src/winscard.c:
. Avoid generating a PPS request that would not be just after a power
up. The previous code worked only when the card was _reseted_ at
up. The previous code worked only when the card was _reset_ at
SCardDisconnect() but not when SCARD_LEAVE_CARD was used.
- correctly manage multi-slots readers
- etc/pcscd.init:
Expand Down Expand Up @@ -1396,7 +1396,7 @@ pcsc-lite-1.2.0-rc2: Ludovic Rousseau
link with libmusclecard.
- src/winscard_clnt.c: add a new function SCardUnload() to free allocated
resources. It is mandatory only if you use dlopen/dlclose to often
load/unload the library. Otherwi se you will exhaust the resources
load/unload the library. Otherwise you will exhaust the resources
available and get a crash. Thanks to Guy Moreillon for the patch.
- src/muscletest.c: code cleaning

Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Options:

By running pcscd under a privileged account you can link to
libpcsclite.so and it will act as a client to the pcscd allowing multiple
applications to be run under non-priveledged accounts.
applications to be run under non-privileged accounts.

Then type "make install" to copy the libraries to /usr/local/lib. If you
choose not to have your reader configuration file in /etc/reader.conf.d/
Expand Down
4 changes: 2 additions & 2 deletions UnitaryTests/SCardBeginTransaction_Reset.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
hresult = SCardEndTransaction(hcard2, SCARD_UNPOWER_CARD)
if hresult != SCARD_S_SUCCESS:
# we should get an error here
# but the card shall not be reseted
# but the card shall not be reset
if hresult == SCARD_E_SHARING_VIOLATION:
print("We got the expected error")
else:
Expand All @@ -63,7 +63,7 @@
hresult, reader, state, protocol, atr = SCardStatus(hcard1)
if hresult == SCARD_W_RESET_CARD:
print("The test failed")
print("The card should not been reseted")
print("The card should not been reset")
if hresult != SCARD_S_SUCCESS:
raise BaseSCardException(hresult)

Expand Down
2 changes: 1 addition & 1 deletion UnitaryTests/SCardConnect_DIRECT.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
reader = readers[0]
print("Using reader:", reader)

# the card should be reseted or inserted just before execution
# the card should be reset or inserted just before execution

# Connect in SCARD_SHARE_DIRECT mode
hresult, hcard, dwActiveProtocol = SCardConnect(hcontext, reader,
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ TOC_INCLUDE_HEADINGS = 5
# unique.
# Possible values are: DOXYGEN Use a fixed 'autotoc_md' string followed by a
# sequence number starting at 0. and GITHUB Use the lower case version of title
# with any whitespace replaced by '-' and punctations characters removed..
# with any whitespace replaced by '-' and punctuation characters removed..
# The default value is: DOXYGEN.
# This tag requires that the tag MARKDOWN_SUPPORT is set to YES.

Expand Down
2 changes: 1 addition & 1 deletion src/PCSC/ifdhandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ possible to query IFDHICCPresence() for card status.
PC/SC supports the loading of multiple readers through one instance of
the driver in which XXXX is important. XXXX identifies the unique
reader in which the driver communicates to. The driver should set up
an array of structures that asociate this XXXX with the underlying
an array of structures that associate this XXXX with the underlying
details of the particular reader.
@param[in] DeviceName Filename to use by the driver.\n
Expand Down
2 changes: 1 addition & 1 deletion src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stdio.h>
#include <stdbool.h>

/* We shall not export the log_msg() sumbol */
/* We shall not export the log_msg() symbol */
#undef PCSC_API
#include "debuglog.h"

Expand Down
2 changes: 1 addition & 1 deletion src/error.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Copyright (C) 2006-2009
* Ludovic Rousseau <ludovic.rousseau@free.fr>
*
* This file is dual licenced:
* This file is dual licensed:
* - BSD-like, see the COPYING file
* - GNU Lesser General Licence 2.1 or (at your option) any later version.
*
Expand Down
2 changes: 1 addition & 1 deletion src/hotplug_libusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ static void HPRescanUsbBus(void)
ssize_t cnt;

for (i=0; i < PCSCLITE_MAX_READERS_CONTEXTS; i++)
/* clear rollcall */
/* clear roll call */
readerTracker[i].status = READER_ABSENT;

cnt = libusb_get_device_list(ctx, &devs);
Expand Down
2 changes: 1 addition & 1 deletion src/winscard_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ INTERNAL LONG MessageReceive(void *buffer_void, uint64_t buffer_size,
* other errors are fatal */
if (errno != EINTR && errno != EAGAIN)
{
/* connection reseted by pcscd? */
/* connection reset by pcscd? */
if (ECONNRESET == errno)
retval = SCARD_W_SECURITY_VIOLATION;
else
Expand Down

0 comments on commit 5575d62

Please sign in to comment.