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
40a6164a
Kaydet (Commit)
40a6164a
authored
Mar 31, 2009
tarafından
Jesse Noller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Apply patch for netbsd multiprocessing support
üst
3476d127
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
mmapmodule.c
Modules/mmapmodule.c
+5
-1
socketmodule.c
Modules/socketmodule.c
+1
-1
setup.py
setup.py
+9
-0
No files found.
Modules/mmapmodule.c
Dosyayı görüntüle @
40a6164a
...
...
@@ -509,7 +509,11 @@ mmap_resize_method(mmap_object *self,
#ifdef MREMAP_MAYMOVE
newmap
=
mremap
(
self
->
data
,
self
->
size
,
new_size
,
MREMAP_MAYMOVE
);
#else
newmap
=
mremap
(
self
->
data
,
self
->
size
,
new_size
,
0
);
#if defined(__NetBSD__)
newmap
=
mremap
(
self
->
data
,
self
->
size
,
self
->
data
,
new_size
,
0
);
#else
newmap
=
mremap
(
self
->
data
,
self
->
size
,
new_size
,
0
);
#endif
/* __NetBSD__ */
#endif
if
(
newmap
==
(
void
*
)
-
1
)
{
...
...
Modules/socketmodule.c
Dosyayı görüntüle @
40a6164a
...
...
@@ -379,7 +379,7 @@ const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
#define SOCKETCLOSE close
#endif
#if defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)
#if defined(HAVE_BLUETOOTH_H) || defined(HAVE_BLUETOOTH_BLUETOOTH_H)
&& !defined(__NetBSD__)
#define USE_BLUETOOTH 1
#if defined(__FreeBSD__)
#define BTPROTO_L2CAP BLUETOOTH_PROTO_L2CAP
...
...
setup.py
Dosyayı görüntüle @
40a6164a
...
...
@@ -1280,6 +1280,15 @@ class PyBuildExt(build_ext):
)
libraries
=
[]
elif
platform
.
startswith
(
'netbsd'
):
macros
=
dict
(
# at least NetBSD 5
HAVE_SEM_OPEN
=
1
,
HAVE_SEM_TIMEDWAIT
=
0
,
HAVE_FD_TRANSFER
=
1
,
HAVE_BROKEN_SEM_GETVALUE
=
1
)
libraries
=
[]
else
:
# Linux and other unices
macros
=
dict
(
HAVE_SEM_OPEN
=
1
,
...
...
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