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
5e2dd866
Kaydet (Commit)
5e2dd866
authored
Şub 15, 2010
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.
üst
d5fdc069
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
16 deletions
+37
-16
NEWS
Misc/NEWS
+5
-0
configure
configure
+26
-16
configure.in
configure.in
+6
-0
No files found.
Misc/NEWS
Dosyayı görüntüle @
5e2dd866
...
@@ -34,6 +34,11 @@ Tests
...
@@ -34,6 +34,11 @@ Tests
The original CWD is saved in `test_support.SAVEDCWD`.
The original CWD is saved in `test_support.SAVEDCWD`.
Thanks to Florent Xicluna who helped with the patch.
Thanks to Florent Xicluna who helped with the patch.
Build
-----
- Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.
What's New in Python 2.7 alpha 3?
What's New in Python 2.7 alpha 3?
=================================
=================================
...
...
configure
Dosyayı görüntüle @
5e2dd866
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 7815
0
.
# From configure.in Revision: 7815
4
.
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.7.
# Generated by GNU Autoconf 2.61 for python 2.7.
#
#
...
@@ -2127,6 +2127,16 @@ case $ac_sys_system/$ac_sys_release in
...
@@ -2127,6 +2127,16 @@ case $ac_sys_system/$ac_sys_release in
# also defined. This can be overridden by defining _BSD_SOURCE
# also defined. This can be overridden by defining _BSD_SOURCE
# As this has a different meaning on Linux, only define it on OpenBSD
# As this has a different meaning on Linux, only define it on OpenBSD
cat >>confdefs.h <<\_ACEOF
#define _BSD_SOURCE 1
_ACEOF
;;
OpenBSD/4.[4])
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
# As this has a different meaning on Linux, only define it on OpenBSD
cat >>confdefs.h <<\_ACEOF
cat >>confdefs.h <<\_ACEOF
#define _BSD_SOURCE 1
#define _BSD_SOURCE 1
_ACEOF
_ACEOF
...
@@ -3884,7 +3894,7 @@ else
...
@@ -3884,7 +3894,7 @@ else
{ echo "$as_me:$LINENO: result: no" >&5
{ echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
echo "${ECHO_T}no" >&6; }
fi
fi
rm -f
-r
conftest*
rm -f conftest*
...
@@ -5488,7 +5498,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -5488,7 +5498,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
else
else
ac_cv_header_stdc=no
ac_cv_header_stdc=no
fi
fi
rm -f
-r
conftest*
rm -f conftest*
fi
fi
...
@@ -5509,7 +5519,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -5509,7 +5519,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
else
else
ac_cv_header_stdc=no
ac_cv_header_stdc=no
fi
fi
rm -f
-r
conftest*
rm -f conftest*
fi
fi
...
@@ -6609,7 +6619,7 @@ _ACEOF
...
@@ -6609,7 +6619,7 @@ _ACEOF
fi
fi
rm -f
-r
conftest*
rm -f conftest*
{ echo "$as_me:$LINENO: result: $was_it_defined" >&5
{ echo "$as_me:$LINENO: result: $was_it_defined" >&5
echo "${ECHO_T}$was_it_defined" >&6; }
echo "${ECHO_T}$was_it_defined" >&6; }
...
@@ -7139,7 +7149,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -7139,7 +7149,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
else
else
ac_cv_type_uid_t=no
ac_cv_type_uid_t=no
fi
fi
rm -f
-r
conftest*
rm -f conftest*
fi
fi
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
...
@@ -15926,7 +15936,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -15926,7 +15936,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
else
else
unistd_defines_pthreads=no
unistd_defines_pthreads=no
fi
fi
rm -f
-r
conftest*
rm -f conftest*
{ echo "$as_me:$LINENO: result: $unistd_defines_pthreads" >&5
{ echo "$as_me:$LINENO: result: $unistd_defines_pthreads" >&5
echo "${ECHO_T}$unistd_defines_pthreads" >&6; }
echo "${ECHO_T}$unistd_defines_pthreads" >&6; }
...
@@ -17540,7 +17550,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -17540,7 +17550,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
$EGREP "yes" >/dev/null 2>&1; then
$EGREP "yes" >/dev/null 2>&1; then
ipv6type=$i
ipv6type=$i
fi
fi
rm -f
-r
conftest*
rm -f conftest*
;;
;;
kame)
kame)
...
@@ -17563,7 +17573,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -17563,7 +17573,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
ipv6libdir=/usr/local/v6/lib
ipv6libdir=/usr/local/v6/lib
ipv6trylibc=yes
ipv6trylibc=yes
fi
fi
rm -f
-r
conftest*
rm -f conftest*
;;
;;
linux-glibc)
linux-glibc)
...
@@ -17584,7 +17594,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -17584,7 +17594,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
ipv6type=$i;
ipv6type=$i;
ipv6trylibc=yes
ipv6trylibc=yes
fi
fi
rm -f
-r
conftest*
rm -f conftest*
;;
;;
linux-inet6)
linux-inet6)
...
@@ -17622,7 +17632,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -17622,7 +17632,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
ipv6lib=inet6;
ipv6lib=inet6;
ipv6libdir=/usr/local/v6/lib
ipv6libdir=/usr/local/v6/lib
fi
fi
rm -f
-r
conftest*
rm -f conftest*
;;
;;
v6d)
v6d)
...
@@ -17645,7 +17655,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -17645,7 +17655,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
ipv6libdir=/usr/local/v6/lib;
ipv6libdir=/usr/local/v6/lib;
BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
BASECFLAGS="-I/usr/local/v6/include $BASECFLAGS"
fi
fi
rm -f
-r
conftest*
rm -f conftest*
;;
;;
zeta)
zeta)
...
@@ -17667,7 +17677,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
@@ -17667,7 +17677,7 @@ if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
ipv6lib=inet6;
ipv6lib=inet6;
ipv6libdir=/usr/local/v6/lib
ipv6libdir=/usr/local/v6/lib
fi
fi
rm -f
-r
conftest*
rm -f conftest*
;;
;;
esac
esac
...
@@ -26210,7 +26220,7 @@ cat >>confdefs.h <<\_ACEOF
...
@@ -26210,7 +26220,7 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
_ACEOF
fi
fi
rm -f
-r
conftest*
rm -f conftest*
cat >conftest.$ac_ext <<_ACEOF
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
/* confdefs.h. */
...
@@ -26229,7 +26239,7 @@ cat >>confdefs.h <<\_ACEOF
...
@@ -26229,7 +26239,7 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
_ACEOF
fi
fi
rm -f
-r
conftest*
rm -f conftest*
fi
fi
...
@@ -26499,7 +26509,7 @@ cat >>confdefs.h <<\_ACEOF
...
@@ -26499,7 +26509,7 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
_ACEOF
fi
fi
rm -f
-r
conftest*
rm -f conftest*
fi
fi
...
...
configure.in
Dosyayı görüntüle @
5e2dd866
...
@@ -292,6 +292,12 @@ case $ac_sys_system/$ac_sys_release in
...
@@ -292,6 +292,12 @@ case $ac_sys_system/$ac_sys_release in
# As this has a different meaning on Linux, only define it on OpenBSD
# As this has a different meaning on Linux, only define it on OpenBSD
AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD to activate all library features])
AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD to activate all library features])
;;
;;
OpenBSD/4.@<:@4@:>@)
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
# As this has a different meaning on Linux, only define it on OpenBSD
AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD to activate all library features])
;;
# Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of
# Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of
# _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by
# _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by
# Marc Recht
# Marc Recht
...
...
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