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
e9b7cab1
Kaydet (Commit)
e9b7cab1
authored
Ock 21, 2012
tarafından
Gregory P. Smith
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Another issue #8052 bugfix (related to previous commit).
"oops" while rearranging the #defines.
üst
e3f7848b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
_posixsubprocess.c
Modules/_posixsubprocess.c
+2
-4
No files found.
Modules/_posixsubprocess.c
Dosyayı görüntüle @
e9b7cab1
...
...
@@ -21,10 +21,8 @@
# define dirent dirent64
# if !defined(HAVE_DIRFD)
/* Some versions of Solaris lack dirfd(). */
# define
DIRFD
(dirp) ((dirp)->dd_fd)
# define
dirfd
(dirp) ((dirp)->dd_fd)
# define HAVE_DIRFD
# else
# define DIRFD(dirp) (dirfd(dirp))
# endif
#endif
...
...
@@ -248,7 +246,7 @@ static void _close_open_fd_range_maybe_unsafe(int start_fd, int end_fd,
}
else
{
struct
dirent
*
dir_entry
;
#ifdef HAVE_DIRFD
int
fd_used_by_opendir
=
DIRFD
(
proc_fd_dir
);
int
fd_used_by_opendir
=
dirfd
(
proc_fd_dir
);
#else
int
fd_used_by_opendir
=
start_fd
-
1
;
#endif
...
...
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