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
a9a53c7d
Kaydet (Commit)
a9a53c7d
authored
Agu 02, 2012
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
üst
f37c0c73
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
NEWS
Misc/NEWS
+3
-0
getaddrinfo.c
Modules/getaddrinfo.c
+1
-1
getnameinfo.c
Modules/getnameinfo.c
+1
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
a9a53c7d
...
...
@@ -98,6 +98,9 @@ Core and Builtins
Library
-------
- Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo()
emulation code. Patch by Philipp Hagemeister.
- Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
...
...
Modules/getaddrinfo.c
Dosyayı görüntüle @
a9a53c7d
...
...
@@ -430,7 +430,7 @@ getaddrinfo(const char*hostname, const char*servname,
break
;
#ifdef ENABLE_IPV6
case
AF_INET6
:
pfx
=
((
struct
in6_addr
*
)
pton
)
->
s6_addr
8
[
0
];
pfx
=
((
struct
in6_addr
*
)
pton
)
->
s6_addr
[
0
];
if
(
pfx
==
0
||
pfx
==
0xfe
||
pfx
==
0xff
)
pai
->
ai_flags
&=
~
AI_CANONNAME
;
break
;
...
...
Modules/getnameinfo.c
Dosyayı görüntüle @
a9a53c7d
...
...
@@ -161,7 +161,7 @@ getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
break
;
#ifdef ENABLE_IPV6
case
AF_INET6
:
pfx
=
((
struct
sockaddr_in6
*
)
sa
)
->
sin6_addr
.
s6_addr
8
[
0
];
pfx
=
((
struct
sockaddr_in6
*
)
sa
)
->
sin6_addr
.
s6_addr
[
0
];
if
(
pfx
==
0
||
pfx
==
0xfe
||
pfx
==
0xff
)
flags
|=
NI_NUMERICHOST
;
break
;
...
...
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