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
f64700a5
Kaydet (Commit)
f64700a5
authored
Agu 18, 2004
tarafından
Hye-Shik Chang
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add support for FreeBSD 6.
üst
75b9da4a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
4 deletions
+14
-4
IN.py
Lib/plat-freebsd6/IN.py
+0
-0
regen
Lib/plat-freebsd6/regen
+3
-0
posixfile.py
Lib/posixfile.py
+1
-1
regrtest.py
Lib/test/regrtest.py
+5
-0
test_fcntl.py
Lib/test/test_fcntl.py
+1
-1
test_socket.py
Lib/test/test_socket.py
+1
-1
NEWS
Misc/NEWS
+2
-0
setup.py
setup.py
+1
-1
No files found.
Lib/plat-freebsd6/IN.py
0 → 100644
Dosyayı görüntüle @
f64700a5
This diff is collapsed.
Click to expand it.
Lib/plat-freebsd6/regen
0 → 100644
Dosyayı görüntüle @
f64700a5
#! /bin/sh
set
-v
python ../../Tools/scripts/h2py.py
-i
'(u_long)'
/usr/include/netinet/in.h
Lib/posixfile.py
Dosyayı görüntüle @
f64700a5
...
@@ -185,7 +185,7 @@ class _posixfile_:
...
@@ -185,7 +185,7 @@ class _posixfile_:
if
sys
.
platform
in
(
'netbsd1'
,
if
sys
.
platform
in
(
'netbsd1'
,
'openbsd2'
,
'openbsd2'
,
'freebsd2'
,
'freebsd3'
,
'freebsd4'
,
'freebsd5'
,
'freebsd2'
,
'freebsd3'
,
'freebsd4'
,
'freebsd5'
,
'bsdos2'
,
'bsdos3'
,
'bsdos4'
):
'
freebsd6'
,
'
bsdos2'
,
'bsdos3'
,
'bsdos4'
):
flock
=
struct
.
pack
(
'lxxxxlxxxxlhh'
,
\
flock
=
struct
.
pack
(
'lxxxxlxxxxlhh'
,
\
l_start
,
l_len
,
os
.
getpid
(),
l_type
,
l_whence
)
l_start
,
l_len
,
os
.
getpid
(),
l_type
,
l_whence
)
elif
sys
.
platform
in
[
'aix3'
,
'aix4'
]:
elif
sys
.
platform
in
[
'aix3'
,
'aix4'
]:
...
...
Lib/test/regrtest.py
Dosyayı görüntüle @
f64700a5
...
@@ -1036,21 +1036,25 @@ _expectations = {
...
@@ -1036,21 +1036,25 @@ _expectations = {
test_bsddb3
test_bsddb3
test_cd
test_cd
test_cl
test_cl
test_gdbm
test_gl
test_gl
test_imgfile
test_imgfile
test_linuxaudiodev
test_linuxaudiodev
test_locale
test_locale
test_macfs
test_macfs
test_macostools
test_macostools
test_mpz
test_nis
test_nis
test_normalization
test_normalization
test_ossaudiodev
test_ossaudiodev
test_pep277
test_pep277
test_plistlib
test_plistlib
test_pty
test_scriptpackages
test_scriptpackages
test_socket_ssl
test_socket_ssl
test_socketserver
test_socketserver
test_sunaudiodev
test_sunaudiodev
test_tcl
test_timeout
test_timeout
test_unicode_file
test_unicode_file
test_urllibnet
test_urllibnet
...
@@ -1059,6 +1063,7 @@ _expectations = {
...
@@ -1059,6 +1063,7 @@ _expectations = {
"""
,
"""
,
}
}
_expectations
[
'freebsd5'
]
=
_expectations
[
'freebsd4'
]
_expectations
[
'freebsd5'
]
=
_expectations
[
'freebsd4'
]
_expectations
[
'freebsd6'
]
=
_expectations
[
'freebsd4'
]
class
_ExpectedSkips
:
class
_ExpectedSkips
:
def
__init__
(
self
):
def
__init__
(
self
):
...
...
Lib/test/test_fcntl.py
Dosyayı görüntüle @
f64700a5
...
@@ -21,7 +21,7 @@ if sys.platform.startswith('atheos'):
...
@@ -21,7 +21,7 @@ if sys.platform.startswith('atheos'):
start_len
=
"qq"
start_len
=
"qq"
if
sys
.
platform
in
(
'netbsd1'
,
'Darwin1.2'
,
'darwin'
,
if
sys
.
platform
in
(
'netbsd1'
,
'Darwin1.2'
,
'darwin'
,
'freebsd2'
,
'freebsd3'
,
'freebsd4'
,
'freebsd5'
,
'freebsd2'
,
'freebsd3'
,
'freebsd4'
,
'freebsd5'
,
'freebsd6'
,
'bsdos2'
,
'bsdos3'
,
'bsdos4'
,
'bsdos2'
,
'bsdos3'
,
'bsdos4'
,
'openbsd'
,
'openbsd2'
,
'openbsd3'
):
'openbsd'
,
'openbsd2'
,
'openbsd3'
):
lockdata
=
struct
.
pack
(
'lxxxxlxxxxlhh'
,
0
,
0
,
0
,
fcntl
.
F_WRLCK
,
0
)
lockdata
=
struct
.
pack
(
'lxxxxlxxxxlhh'
,
0
,
0
,
0
,
fcntl
.
F_WRLCK
,
0
)
...
...
Lib/test/test_socket.py
Dosyayı görüntüle @
f64700a5
...
@@ -311,7 +311,7 @@ class GeneralModuleTests(unittest.TestCase):
...
@@ -311,7 +311,7 @@ class GeneralModuleTests(unittest.TestCase):
# Find one service that exists, then check all the related interfaces.
# Find one service that exists, then check all the related interfaces.
# I've ordered this by protocols that have both a tcp and udp
# I've ordered this by protocols that have both a tcp and udp
# protocol, at least for modern Linuxes.
# protocol, at least for modern Linuxes.
if
sys
.
platform
in
(
'freebsd4'
,
'freebsd5'
,
'darwin'
):
if
sys
.
platform
in
(
'freebsd4'
,
'freebsd5'
,
'
freebsd6'
,
'
darwin'
):
# avoid the 'echo' service on this platform, as there is an
# avoid the 'echo' service on this platform, as there is an
# assumption breaking non-standard port/protocol entry
# assumption breaking non-standard port/protocol entry
services
=
(
'daytime'
,
'qotd'
,
'domain'
)
services
=
(
'daytime'
,
'qotd'
,
'domain'
)
...
...
Misc/NEWS
Dosyayı görüntüle @
f64700a5
...
@@ -137,6 +137,8 @@ the library reference as well.
...
@@ -137,6 +137,8 @@ the library reference as well.
New platforms
New platforms
-------------
-------------
- FreeBSD 6 is now supported.
Tests
Tests
-----
-----
...
...
setup.py
Dosyayı görüntüle @
f64700a5
...
@@ -782,7 +782,7 @@ class PyBuildExt(build_ext):
...
@@ -782,7 +782,7 @@ class PyBuildExt(build_ext):
# Linux-specific modules
# Linux-specific modules
exts
.
append
(
Extension
(
'linuxaudiodev'
,
[
'linuxaudiodev.c'
])
)
exts
.
append
(
Extension
(
'linuxaudiodev'
,
[
'linuxaudiodev.c'
])
)
if
platform
in
(
'linux2'
,
'freebsd4'
,
'freebsd5'
):
if
platform
in
(
'linux2'
,
'freebsd4'
,
'freebsd5'
,
'freebsd6'
):
exts
.
append
(
Extension
(
'ossaudiodev'
,
[
'ossaudiodev.c'
])
)
exts
.
append
(
Extension
(
'ossaudiodev'
,
[
'ossaudiodev.c'
])
)
if
platform
==
'sunos5'
:
if
platform
==
'sunos5'
:
...
...
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