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
d915b084
Kaydet (Commit)
d915b084
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
86e9b6b1
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 @
d915b084
...
...
@@ -36,6 +36,9 @@ Core and Builtins
Library
-------
- Issue #22821: Fixed fcntl() with integer argument on 64-bit big-endian
platforms.
- Issues #814253, #9179: Group references and conditional group references now
work in lookbehind assertions in regular expressions.
...
...
Modules/fcntlmodule.c
Dosyayı görüntüle @
d915b084
...
...
@@ -34,7 +34,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
{
int
fd
;
int
code
;
long
arg
;
int
arg
;
int
ret
;
char
*
str
;
Py_ssize_t
len
;
...
...
@@ -61,7 +61,7 @@ fcntl_fcntl(PyObject *self, PyObject *args)
PyErr_Clear
();
arg
=
0
;
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"
,
conv_descriptor
,
&
fd
,
&
code
,
&
arg
))
{
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