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
59dc89e8
Kaydet (Commit)
59dc89e8
authored
Ara 13, 2009
tarafından
Mark Dickinson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #7492: Autoconf tests were leaving semaphore files behind. Add
sem_unlink calls to delete those semaphore files.
üst
aef18993
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
configure
configure
+4
-2
configure.in
configure.in
+3
-1
No files found.
configure
Dosyayı görüntüle @
59dc89e8
#! /bin/sh
# From configure.in Revision: 766
36
.
# From configure.in Revision: 766
44
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.7.
#
...
...
@@ -24474,6 +24474,7 @@ int main(void) {
return 1;
}
sem_close(a);
sem_unlink("/autoconf");
return 0;
}
...
...
@@ -24548,7 +24549,7 @@ cat >>conftest.$ac_ext <<_ACEOF
#include <sys/stat.h>
int main(void){
sem_t *a = sem_open("/autoc
onf
", O_CREAT, S_IRUSR|S_IWUSR, 0);
sem_t *a = sem_open("/autoc
ftw
", O_CREAT, S_IRUSR|S_IWUSR, 0);
int count;
int res;
if(a==SEM_FAILED){
...
...
@@ -24558,6 +24559,7 @@ int main(void){
}
res = sem_getvalue(a, &count);
sem_close(a);
sem_unlink("/autocftw");
return res==-1 ? 1 : 0;
}
...
...
configure.in
Dosyayı görüntüle @
59dc89e8
...
...
@@ -3455,6 +3455,7 @@ int main(void) {
return 1;
}
sem_close(a);
sem_unlink("/autoconf");
return 0;
}
], ac_cv_posix_semaphores_enabled=yes,
...
...
@@ -3479,7 +3480,7 @@ AC_TRY_RUN([
#include <sys/stat.h>
int main(void){
sem_t *a = sem_open("/autoc
onf
", O_CREAT, S_IRUSR|S_IWUSR, 0);
sem_t *a = sem_open("/autoc
ftw
", O_CREAT, S_IRUSR|S_IWUSR, 0);
int count;
int res;
if(a==SEM_FAILED){
...
...
@@ -3489,6 +3490,7 @@ int main(void){
}
res = sem_getvalue(a, &count);
sem_close(a);
sem_unlink("/autocftw");
return res==-1 ? 1 : 0;
}
], ac_cv_broken_sem_getvalue=no,
...
...
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