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
5049a858
Kaydet (Commit)
5049a858
authored
May 16, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#2890: support os.O_ASYNC and fcntl.FASYNC.
üst
ca21c65a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
NEWS
Misc/NEWS
+2
-0
fcntlmodule.c
Modules/fcntlmodule.c
+3
-0
posixmodule.c
Modules/posixmodule.c
+5
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
5049a858
...
@@ -30,6 +30,8 @@ Core and Builtins
...
@@ -30,6 +30,8 @@ Core and Builtins
Extension Modules
Extension Modules
-----------------
-----------------
- Support os.O_ASYNC and fcntl.FASYNC if the constants exist on the platform.
- Support for Windows 9x has been removed from the winsound module.
- Support for Windows 9x has been removed from the winsound module.
- bsddb module updated to version 4.6.4.
- bsddb module updated to version 4.6.4.
...
...
Modules/fcntlmodule.c
Dosyayı görüntüle @
5049a858
...
@@ -510,6 +510,9 @@ all_ins(PyObject* d)
...
@@ -510,6 +510,9 @@ all_ins(PyObject* d)
if
(
ins
(
d
,
"F_SETLKW64"
,
(
long
)
F_SETLKW64
))
return
-
1
;
if
(
ins
(
d
,
"F_SETLKW64"
,
(
long
)
F_SETLKW64
))
return
-
1
;
#endif
#endif
/* GNU extensions, as of glibc 2.2.4. */
/* GNU extensions, as of glibc 2.2.4. */
#ifdef FASYNC
if
(
ins
(
d
,
"FASYNC"
,
(
long
)
FASYNC
))
return
-
1
;
#endif
#ifdef F_SETLEASE
#ifdef F_SETLEASE
if
(
ins
(
d
,
"F_SETLEASE"
,
(
long
)
F_SETLEASE
))
return
-
1
;
if
(
ins
(
d
,
"F_SETLEASE"
,
(
long
)
F_SETLEASE
))
return
-
1
;
#endif
#endif
...
...
Modules/posixmodule.c
Dosyayı görüntüle @
5049a858
...
@@ -8756,6 +8756,11 @@ all_ins(PyObject *d)
...
@@ -8756,6 +8756,11 @@ all_ins(PyObject *d)
#endif
#endif
/* GNU extensions. */
/* GNU extensions. */
#ifdef O_ASYNC
/* Send a SIGIO signal whenever input or output
becomes available on file descriptor */
if
(
ins
(
d
,
"O_ASYNC"
,
(
long
)
O_ASYNC
))
return
-
1
;
#endif
#ifdef O_DIRECT
#ifdef O_DIRECT
/* Direct disk access. */
/* Direct disk access. */
if
(
ins
(
d
,
"O_DIRECT"
,
(
long
)
O_DIRECT
))
return
-
1
;
if
(
ins
(
d
,
"O_DIRECT"
,
(
long
)
O_DIRECT
))
return
-
1
;
...
...
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