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
97c3eb4e
Kaydet (Commit)
97c3eb4e
authored
May 07, 2011
tarafından
Ronald Oussoren
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Closes Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Patch by Pierre Carrier.
üst
46070ebd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
0 deletions
+59
-0
ACKS
Misc/ACKS
+1
-0
NEWS
Misc/NEWS
+3
-0
errnomodule.c
Modules/errnomodule.c
+55
-0
No files found.
Misc/ACKS
Dosyayı görüntüle @
97c3eb4e
...
@@ -989,3 +989,4 @@ Kai Zhu
...
@@ -989,3 +989,4 @@ Kai Zhu
Tarek Ziadé
Tarek Ziadé
Peter Åstrand
Peter Åstrand
Torsten Becker
Torsten Becker
Pierre Carrier
Misc/NEWS
Dosyayı görüntüle @
97c3eb4e
...
@@ -140,6 +140,9 @@ Core and Builtins
...
@@ -140,6 +140,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue 11916: Add a number of MacOSX specific definitions to the errno module.
Patch by Pierre Carrier.
- Issue 11999: fixed sporadic sync failure mailbox.Maildir due to its trying to
- Issue 11999: fixed sporadic sync failure mailbox.Maildir due to its trying to
detect mtime changes by comparing to the system clock instead of to the
detect mtime changes by comparing to the system clock instead of to the
previous value of the mtime.
previous value of the mtime.
...
...
Modules/errnomodule.c
Dosyayı görüntüle @
97c3eb4e
...
@@ -84,6 +84,8 @@ PyInit_errno(void)
...
@@ -84,6 +84,8 @@ PyInit_errno(void)
* The names and comments are borrowed from linux/include/errno.h,
* The names and comments are borrowed from linux/include/errno.h,
* which should be pretty all-inclusive. However, the Solaris specific
* which should be pretty all-inclusive. However, the Solaris specific
* names and comments are borrowed from sys/errno.h in Solaris.
* names and comments are borrowed from sys/errno.h in Solaris.
* MacOSX specific names and comments are borrowed from sys/errno.h in
* MacOSX.
*/
*/
#ifdef ENODEV
#ifdef ENODEV
...
@@ -848,6 +850,59 @@ PyInit_errno(void)
...
@@ -848,6 +850,59 @@ PyInit_errno(void)
inscode
(
d
,
ds
,
de
,
"ENOTACTIVE"
,
ENOTACTIVE
,
"Facility is not active"
);
inscode
(
d
,
ds
,
de
,
"ENOTACTIVE"
,
ENOTACTIVE
,
"Facility is not active"
);
#endif
#endif
/* MacOSX specific errnos */
#ifdef EAUTH
inscode
(
d
,
ds
,
de
,
"EAUTH"
,
EAUTH
,
"Authentication error"
);
#endif
#ifdef EBADARCH
inscode
(
d
,
ds
,
de
,
"EBADARCH"
,
EBADARCH
,
"Bad CPU type in executable"
);
#endif
#ifdef EBADEXEC
inscode
(
d
,
ds
,
de
,
"EBADEXEC"
,
EBADEXEC
,
"Bad executable (or shared library)"
);
#endif
#ifdef EBADMACHO
inscode
(
d
,
ds
,
de
,
"EBADMACHO"
,
EBADMACHO
,
"Malformed Mach-o file"
);
#endif
#ifdef EBADRPC
inscode
(
d
,
ds
,
de
,
"EBADRPC"
,
EBADRPC
,
"RPC struct is bad"
);
#endif
#ifdef EDEVERR
inscode
(
d
,
ds
,
de
,
"EDEVERR"
,
EDEVERR
,
"Device error"
);
#endif
#ifdef EFTYPE
inscode
(
d
,
ds
,
de
,
"EFTYPE"
,
EFTYPE
,
"Inappropriate file type or format"
);
#endif
#ifdef ENEEDAUTH
inscode
(
d
,
ds
,
de
,
"ENEEDAUTH"
,
ENEEDAUTH
,
"Need authenticator"
);
#endif
#ifdef ENOATTR
inscode
(
d
,
ds
,
de
,
"ENOATTR"
,
ENOATTR
,
"Attribute not found"
);
#endif
#ifdef ENOPOLICY
inscode
(
d
,
ds
,
de
,
"ENOPOLICY"
,
ENOPOLICY
,
"Policy not found"
);
#endif
#ifdef EPROCLIM
inscode
(
d
,
ds
,
de
,
"EPROCLIM"
,
EPROCLIM
,
"Too many processes"
);
#endif
#ifdef EPROCUNAVAIL
inscode
(
d
,
ds
,
de
,
"EPROCUNAVAIL"
,
EPROCUNAVAIL
,
"Bad procedure for program"
);
#endif
#ifdef EPROGMISMATCH
inscode
(
d
,
ds
,
de
,
"EPROGMISMATCH"
,
EPROGMISMATCH
,
"Program version wrong"
);
#endif
#ifdef EPROGUNAVAIL
inscode
(
d
,
ds
,
de
,
"EPROGUNAVAIL"
,
EPROGUNAVAIL
,
"RPC prog. not avail"
);
#endif
#ifdef EPWROFF
inscode
(
d
,
ds
,
de
,
"EPWROFF"
,
EPWROFF
,
"Device power is off"
);
#endif
#ifdef ERPCMISMATCH
inscode
(
d
,
ds
,
de
,
"ERPCMISMATCH"
,
ERPCMISMATCH
,
"RPC version wrong"
);
#endif
#ifdef ESHLIBVERS
inscode
(
d
,
ds
,
de
,
"ESHLIBVERS"
,
ESHLIBVERS
,
"Shared library version mismatch"
);
#endif
Py_DECREF
(
de
);
Py_DECREF
(
de
);
return
m
;
return
m
;
}
}
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