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

use ReplaceFileA directly #2731

Merged
merged 2 commits into from
Aug 4, 2023
Merged

use ReplaceFileA directly #2731

merged 2 commits into from
Aug 4, 2023

Conversation

neheb
Copy link
Collaborator

@neheb neheb commented Aug 2, 2023

No description provided.

@ghost
Copy link

ghost commented Aug 2, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #2731 (05c88ae) into main (901e8ba) will decrease coverage by 63.90%.
Report is 48 commits behind head on main.
The diff coverage is n/a.

❗ Current head 05c88ae differs from pull request most recent head c682ecc. Consider uploading reports for the commit c682ecc to get more accurate results

@@            Coverage Diff             @@
##             main   #2731       +/-   ##
==========================================
- Coverage   63.89%       0   -63.90%     
==========================================
  Files         103       0      -103     
  Lines       22313       0    -22313     
  Branches    10799       0    -10799     
==========================================
- Hits        14258       0    -14258     
+ Misses       5830       0     -5830     
+ Partials     2225       0     -2225     

see 103 files with indirect coverage changes

@neheb neheb force-pushed the hmm branch 7 times, most recently from 24c3233 to 05c88ae Compare August 2, 2023 20:14
@neheb neheb marked this pull request as ready for review August 3, 2023 00:09
This was introduced in Windows 95. exiv2 does not work on older.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
SHGetFolderPathA is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
@kmilos
Copy link
Collaborator

kmilos commented Aug 3, 2023

Shouldn't we be using UTF-8 API (if different to the legacy ASCII one) since we are forcing UCRT and UTF-8 locales on Windows now?

@neheb
Copy link
Collaborator Author

neheb commented Aug 3, 2023

UTF-8 is the same as ASCII. It just uses the last bit. The U version is UTF-16.

@kmilos
Copy link
Collaborator

kmilos commented Aug 4, 2023

Also, do we want this for MINGW and CYGWIN as well, or just MSVC builds?

@neheb
Copy link
Collaborator Author

neheb commented Aug 4, 2023

the current check is fine. virus scanners are a thing on Windows.

@neheb neheb merged commit 3b15b6f into Exiv2:main Aug 4, 2023
105 checks passed
@neheb neheb deleted the hmm branch August 4, 2023 23:17
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