Kaydet (Commit) e0918ecf authored tarafından Eric Snow's avatar Eric Snow Kaydeden (comit) GitHub

bpo-22257: Fix CLI by using int instead of char (compares to EOF). (#1765)

üst 84c6607a
...@@ -379,7 +379,7 @@ read_command_line(int argc, wchar_t **argv, _Py_CommandLineDetails *cmdline) ...@@ -379,7 +379,7 @@ read_command_line(int argc, wchar_t **argv, _Py_CommandLineDetails *cmdline)
PyObject *warning_option = NULL; PyObject *warning_option = NULL;
wchar_t *command = NULL; wchar_t *command = NULL;
wchar_t *module = NULL; wchar_t *module = NULL;
char c; int c;
char *opt; char *opt;
opt = Py_GETENV("PYTHONMALLOC"); opt = Py_GETENV("PYTHONMALLOC");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment