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
71515510
Kaydet (Commit)
71515510
authored
Haz 19, 2013
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #18259: Declare sethostname in socketmodule.c for AIX
üst
360b89ca
d2774c7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
NEWS
Misc/NEWS
+2
-0
socketmodule.c
Modules/socketmodule.c
+5
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
71515510
...
@@ -123,6 +123,8 @@ Core and Builtins
...
@@ -123,6 +123,8 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
18259
:
Declare
sethostname
in
socketmodule
.
c
for
AIX
-
Issue
#
18147
:
Add
diagnostic
functions
to
ssl
.
SSLContext
().
get_ca_list
()
-
Issue
#
18147
:
Add
diagnostic
functions
to
ssl
.
SSLContext
().
get_ca_list
()
lists
all
loaded
CA
certificates
and
cert_store_stats
()
returns
amount
of
lists
all
loaded
CA
certificates
and
cert_store_stats
()
returns
amount
of
loaded
X
.509
certs
,
X
.509
CA
certs
and
CRLs
.
loaded
X
.509
certs
,
X
.509
CA
certs
and
CRLs
.
...
...
Modules/socketmodule.c
Dosyayı görüntüle @
71515510
...
@@ -4066,6 +4066,11 @@ socket_sethostname(PyObject *self, PyObject *args)
...
@@ -4066,6 +4066,11 @@ socket_sethostname(PyObject *self, PyObject *args)
Py_buffer
buf
;
Py_buffer
buf
;
int
res
,
flag
=
0
;
int
res
,
flag
=
0
;
#ifdef _AIX
/* issue #18259, not declared in any useful header file */
extern
int
sethostname
(
const
char
*
,
size_t
);
#endif
if
(
!
PyArg_ParseTuple
(
args
,
"S:sethostname"
,
&
hnobj
))
{
if
(
!
PyArg_ParseTuple
(
args
,
"S:sethostname"
,
&
hnobj
))
{
PyErr_Clear
();
PyErr_Clear
();
if
(
!
PyArg_ParseTuple
(
args
,
"O&:sethostname"
,
if
(
!
PyArg_ParseTuple
(
args
,
"O&:sethostname"
,
...
...
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