head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.32 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.30 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.28 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.26 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.24 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.22 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.20 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.18 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.16 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.14 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.12 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.10 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.8 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.6 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.4 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.2 pkgsrc-2022Q2-base:1.1; locks; strict; comment @// @; 1.1 date 2022.04.19.16.34.10; author adam; state Exp; branches; next ; commitid QUD5YcpDGXiywPAD; desc @@ 1.1 log @libtorrent-rasterbar: updated to 2.0.6 libtorrent-2.0.6 fix issue creating a v2 torrent from torrent_info containing an empty file make recheck files also update which files use partfile add write_through disk_io_write_mode, which flushes pieces to disk immediately improve copy file function to preserve sparse regions (when supported) add function to truncate over-sized files part of a torrent fix directory creation on windows shared folders add flag to make add_files() not record file attributes deprecate (unused) allow_partial_disk_writes settings fix disk-full error reporting in mmap_disk_io fixed similar-torrents feature for v2 torrents fix potential unbounded recursion in add_completed_job, in disk I/O deprecated (unused) volatile_read_cache setting fix part files being marked as hidden on windows @ text @$NetBSD$ NetBSD support. --- src/platform_util.cpp.orig 2022-04-19 14:47:36.330535380 +0000 +++ src/platform_util.cpp @@@@ -40,7 +40,7 @@@@ POSSIBILITY OF SUCH DAMAGE. #if TORRENT_HAS_PTHREAD_SET_NAME #include -#ifdef TORRENT_BSD +#if defined(TORRENT_BSD) && !defined(__NetBSD__) #include #endif #endif @@@@ -105,7 +105,11 @@@@ namespace libtorrent { TORRENT_UNUSED(name); #if TORRENT_HAS_PTHREAD_SET_NAME #ifdef TORRENT_BSD +#if defined(__NetBSD__) + pthread_setname_np(pthread_self(), name, nullptr); +#else pthread_set_name_np(pthread_self(), name); +#endif #else pthread_setname_np(pthread_self(), name); #endif @