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
069bdcbb
Kaydet (Commit)
069bdcbb
authored
Kas 10, 2014
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
platforms.
üst
3454941d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
NEWS
Misc/NEWS
+3
-0
fcntlmodule.c
Modules/fcntlmodule.c
+2
-2
No files found.
Misc/NEWS
Dosyayı görüntüle @
069bdcbb
...
@@ -37,6 +37,9 @@ Core and Builtins
...
@@ -37,6 +37,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
22821
:
Fixed
fcntl
()
with
integer
argument
on
64
-
bit
big
-
endian
platforms
.
-
Issues
#
814253
,
#
9179
:
Group
references
and
conditional
group
references
now
-
Issues
#
814253
,
#
9179
:
Group
references
and
conditional
group
references
now
work
in
lookbehind
assertions
in
regular
expressions
.
work
in
lookbehind
assertions
in
regular
expressions
.
...
...
Modules/fcntlmodule.c
Dosyayı görüntüle @
069bdcbb
...
@@ -34,7 +34,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
...
@@ -34,7 +34,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
{
{
int
fd
;
int
fd
;
int
code
;
int
code
;
long
arg
;
int
arg
;
int
ret
;
int
ret
;
char
*
str
;
char
*
str
;
Py_ssize_t
len
;
Py_ssize_t
len
;
...
@@ -61,7 +61,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
...
@@ -61,7 +61,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
PyErr_Clear
();
PyErr_Clear
();
arg
=
0
;
arg
=
0
;
if
(
!
PyArg_ParseTuple
(
args
,
if
(
!
PyArg_ParseTuple
(
args
,
"O&i|
l
;fcntl requires a file or file descriptor,"
"O&i|
I
;fcntl requires a file or file descriptor,"
" an integer and optionally a third integer or a string"
,
" an integer and optionally a third integer or a string"
,
conv_descriptor
,
&
fd
,
&
code
,
&
arg
))
{
conv_descriptor
,
&
fd
,
&
code
,
&
arg
))
{
return
NULL
;
return
NULL
;
...
...
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