Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
a80e985c
Kaydet (Commit)
a80e985c
authored
Tem 27, 2017
tarafından
Segev Finer
Kaydeden (comit)
Steve Dower
Tem 27, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-9566: Change HANDLE argument parsing to unsigned in msvcrtmodule.c (#2904)
üst
2bc8f0e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
msvcrtmodule.c.h
PC/clinic/msvcrtmodule.c.h
+3
-3
msvcrtmodule.c
PC/msvcrtmodule.c
+2
-2
No files found.
PC/clinic/msvcrtmodule.c.h
Dosyayı görüntüle @
a80e985c
...
...
@@ -123,7 +123,7 @@ msvcrt_open_osfhandle(PyObject *module, PyObject **args, Py_ssize_t nargs)
int
flags
;
long
_return_value
;
if
(
!
_PyArg_ParseStack
(
args
,
nargs
,
""
_Py_PARSE_INTPTR
"i:open_osfhandle"
,
if
(
!
_PyArg_ParseStack
(
args
,
nargs
,
""
_Py_PARSE_
U
INTPTR
"i:open_osfhandle"
,
&
handle
,
&
flags
))
{
goto
exit
;
}
...
...
@@ -437,7 +437,7 @@ msvcrt_CrtSetReportFile(PyObject *module, PyObject **args, Py_ssize_t nargs)
void
*
file
;
void
*
_return_value
;
if
(
!
_PyArg_ParseStack
(
args
,
nargs
,
"i"
_Py_PARSE_INTPTR
":CrtSetReportFile"
,
if
(
!
_PyArg_ParseStack
(
args
,
nargs
,
"i"
_Py_PARSE_
U
INTPTR
":CrtSetReportFile"
,
&
type
,
&
file
))
{
goto
exit
;
}
...
...
@@ -569,4 +569,4 @@ exit:
#ifndef MSVCRT_SET_ERROR_MODE_METHODDEF
#define MSVCRT_SET_ERROR_MODE_METHODDEF
#endif
/* !defined(MSVCRT_SET_ERROR_MODE_METHODDEF) */
/*[clinic end generated code: output=
e86cf578e7f1ffd
2 input=a9049054013a1b77]*/
/*[clinic end generated code: output=
66787cb934b8a3c
2 input=a9049054013a1b77]*/
PC/msvcrtmodule.c
Dosyayı görüntüle @
a80e985c
...
...
@@ -35,7 +35,7 @@
/*[python input]
class HANDLE_converter(CConverter):
type = 'void *'
format_unit = '"_Py_PARSE_INTPTR"'
format_unit = '"_Py_PARSE_
U
INTPTR"'
class HANDLE_return_converter(CReturnConverter):
type = 'void *'
...
...
@@ -65,7 +65,7 @@ class wchar_t_return_converter(CReturnConverter):
data.return_conversion.append(
'return_value = PyUnicode_FromOrdinal(_return_value);\n')
[python start generated code]*/
/*[python end generated code: output=da39a3ee5e6b4b0d input=
2b25dc89e9e59534
]*/
/*[python end generated code: output=da39a3ee5e6b4b0d input=
d102511df3cda2eb
]*/
/*[clinic input]
module msvcrt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment