diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2006-02-01 03:03:43 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2006-02-01 03:03:43 +0000 |
commit | 1aa2f1f0d442876bd5441987f3684ff7e5ed49f1 (patch) | |
tree | c6d2249dbaca599889c33ab68890628c36202e5a /net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py | |
parent | Update to 4.4.0 (diff) |
Update to 4.4.0
Notes
Notes:
svn path=/head/; revision=154965
Diffstat (limited to 'net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py')
-rw-r--r-- | net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py b/net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py index f25af4145ccc..bd9e57ccacc6 100644 --- a/net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py +++ b/net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py @@ -1,11 +1,11 @@ ---- BitTorrent/defaultargs.py.orig Tue May 24 03:01:06 2005 -+++ BitTorrent/defaultargs.py Sun May 29 22:48:48 2005 -@@ -110,7 +110,7 @@ - _("do not connect to several peers that have the same IP address")), - ('peer_socket_tos', 8, - _("if nonzero, set the TOS option for peer connections to this value")), -- ('bad_libc_workaround', MYFALSE, -+ ('bad_libc_workaround', MYTRUE, - _("enable workaround for a bug in BSD libc that makes file reads very slow.")), - ('tracker_proxy', '', - _("address of HTTP proxy to use for tracker connections")), +--- BitTorrent/defaultargs.py.orig Wed Jan 11 19:16:54 2006 ++++ BitTorrent/defaultargs.py Wed Jan 11 19:17:16 2006 +@@ -33,6 +33,8 @@ + if os.name == 'posix': + if os.uname()[0] in ['Darwin']: + BAD_LIBC_WORKAROUND_DEFAULT = MYTRUE ++ if os.uname()[0] in ['FreeBSD']: ++ BAD_LIBC_WORKAROUND_DEFAULT = MYTRUE + + MIN_INCOMPLETE = 100 + if os.name == 'nt': |