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
0fc85754
Kaydet (Commit)
0fc85754
authored
Agu 23, 2004
tarafından
Dave Cole
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed unnecessary calls to signal() to ignore SIGPIPE. SIGPIPE is ignored
in initsigs() inside pythonrun.c.
üst
656f7e4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
socketmodule.c
Modules/socketmodule.c
+0
-13
No files found.
Modules/socketmodule.c
Dosyayı görüntüle @
0fc85754
...
@@ -2515,11 +2515,6 @@ sock_initobj(PyObject *self, PyObject *args, PyObject *kwds)
...
@@ -2515,11 +2515,6 @@ sock_initobj(PyObject *self, PyObject *args, PyObject *kwds)
return
-
1
;
return
-
1
;
}
}
init_sockobject
(
s
,
fd
,
family
,
type
,
proto
);
init_sockobject
(
s
,
fd
,
family
,
type
,
proto
);
/* From now on, ignore SIGPIPE and let the error checking
do the work. */
#ifdef SIGPIPE
(
void
)
signal
(
SIGPIPE
,
SIG_IGN
);
#endif
return
0
;
return
0
;
...
@@ -3038,9 +3033,6 @@ socket_socketpair(PyObject *self, PyObject *args)
...
@@ -3038,9 +3033,6 @@ socket_socketpair(PyObject *self, PyObject *args)
/* Create a pair of socket fds */
/* Create a pair of socket fds */
if
(
socketpair
(
family
,
type
,
proto
,
sv
)
<
0
)
if
(
socketpair
(
family
,
type
,
proto
,
sv
)
<
0
)
return
set_error
();
return
set_error
();
#ifdef SIGPIPE
(
void
)
signal
(
SIGPIPE
,
SIG_IGN
);
#endif
s0
=
new_sockobject
(
sv
[
0
],
family
,
type
,
proto
);
s0
=
new_sockobject
(
sv
[
0
],
family
,
type
,
proto
);
if
(
s0
==
NULL
)
if
(
s0
==
NULL
)
goto
finally
;
goto
finally
;
...
@@ -3091,11 +3083,6 @@ socket_fromfd(PyObject *self, PyObject *args)
...
@@ -3091,11 +3083,6 @@ socket_fromfd(PyObject *self, PyObject *args)
if
(
fd
<
0
)
if
(
fd
<
0
)
return
set_error
();
return
set_error
();
s
=
new_sockobject
(
fd
,
family
,
type
,
proto
);
s
=
new_sockobject
(
fd
,
family
,
type
,
proto
);
/* From now on, ignore SIGPIPE and let the error checking
do the work. */
#ifdef SIGPIPE
(
void
)
signal
(
SIGPIPE
,
SIG_IGN
);
#endif
return
(
PyObject
*
)
s
;
return
(
PyObject
*
)
s
;
}
}
...
...
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