-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log.c not adding end of line in many cases in debug log #2378
Comments
dengert
added a commit
to dengert/OpenSC
that referenced
this issue
Aug 6, 2021
On branch master Your branch is up to date with 'upstream/master'. Changes to be committed: modified: log.c
dengert
added a commit
to dengert/OpenSC
that referenced
this issue
Aug 6, 2021
On branch Fix-new-line Changes to be committed: modified: log.c
frankmorgner
added a commit
that referenced
this issue
Aug 9, 2021
log.c - fix newline - Fixes:#2378
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
This should be fixed before release of 0.22.0.
Regression of opensc.debug.log formatting. New line characters are missing in some cases.
Problem appears to be caused by 99656de which dropped log.c lines-147-148 that would add a "\n" if needed.
Logs
For example the first line of debug log now looks like:
Where in past it would be 3 lines:
Proposed Resolution
Revert 99656de
Or add new logic to add a "\n". But without using a buffer this will be difficult.
It might be possible to test if format ends in "\n".
The text was updated successfully, but these errors were encountered: