pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/aad48062ef8f983fbb95f9dc0c3c3cef9c89df02

tylesheet" href="https://github.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> bpo-45666: fixes warning with `swprintf` and `%s` (GH-29307) · python/cpython@aad4806 · GitHub
Skip to content

Commit aad4806

Browse files
authored
bpo-45666: fixes warning with swprintf and %s (GH-29307)
1 parent aae18a1 commit aad4806

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed.c``

Programs/_testembed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,7 @@ static int check_use_frozen_modules(const char *rawval)
17331733
if (rawval == NULL) {
17341734
wcscpy(optval, L"frozen_modules");
17351735
}
1736-
else if (swprintf(optval, 100, L"frozen_modules=%s", rawval) < 0) {
1736+
else if (swprintf(optval, 100, L"frozen_modules=%S", rawval) < 0) {
17371737
error("rawval is too long");
17381738
return -1;
17391739
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy