Skip to content
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

Remove obsolete snprintf macros. #1736

Merged
merged 1 commit into from
Jun 22, 2021

Conversation

kevinbackhouse
Copy link
Collaborator

This is a follow-up to #1727. In the past (for example on the 0.27-maintenance branch), it wasn't possible to use snprintf because it caused build failures on Windows. So a few files have defined their own snprintf using macros. Now that we have switched to C++11, I think those macros can be removed.

Note: there are a few similar macros in the xmpsdk directory, which I did not touch because I believe that is 3rd party code that we try to leave undisturbed.

@codecov
Copy link

codecov bot commented Jun 22, 2021

Codecov Report

Merging #1736 (f1bed63) into main (2539e5d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1736   +/-   ##
=======================================
  Coverage   66.85%   66.85%           
=======================================
  Files         151      151           
  Lines       20729    20729           
=======================================
  Hits        13858    13858           
  Misses       6871     6871           
Impacted Files Coverage Δ
src/convert.cpp 69.14% <ø> (ø)
src/http.cpp 0.00% <ø> (ø)
src/value.cpp 80.26% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2539e5d...f1bed63. Read the comment docs.

Copy link
Member

@hassec hassec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@hassec hassec merged commit 3e099da into Exiv2:main Jun 22, 2021
@kevinbackhouse kevinbackhouse added this to the v1.00 milestone Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants