head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.6 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.4 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2026.10.30.08.27.11; author kikadf; state Exp; branches; next 1.1; commitid k9wj3NlAiaq4Dt1H; 1.1 date 2026.01.08.17.52.19; author kikadf; state Exp; branches; next ; commitid 4j0vvtbc75jUeCpG; desc @@ 1.2 log @ megacmd: update to 2.7.0 Thu Oct 15 02:34:44 PM UTC 2026 - linux@@mega.co.nz - Update to version 2.7.0: * Faster uploads, especially of many small files * FUSE: mounts now stream files, so they open at once instead of after a full download * FUSE: reads through a mount skip the integrity check a full download does. Use "get" for files meant to be run or installed. See "help --streaming" * Transfers and streaming now indicate when they wait for transfer quota or for free storage * mv: moving a folder onto a file no longer deletes the file * mkdir, put, mv and cp no longer create items named "." or ".." * Hardened webdav, ftp and local session file handling * Stability, memory, typos and other improvements - Use builtin megasdk-10.21.0 @ text @$NetBSD: patch-sdk_src_utils.cpp,v 1.1 2026/01/08 17:52:19 kikadf Exp $ * Fix ctype(3) tolower usage --- sdk/src/utils.cpp.orig 2026-10-07 13:39:33.000000000 +0000 +++ sdk/src/utils.cpp @@@@ -2442,7 +2442,7 @@@@ void tolower_string(std::string& str) std::transform(str.begin(), str.end(), str.begin(), - [](char c) + [](unsigned char c) { return static_cast(::tolower(c)); }); @ 1.1 log @ net/megacmd: fix crash on NetBSD-11 @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- sdk/src/utils.cpp.orig 2026-01-03 22:27:50.415280578 +0000 d7 9 a15 9 @@@@ -2190,7 +2190,7 @@@@ string webdavnameescape(const string &va void tolower_string(std::string& str) { - std::transform(str.begin(), str.end(), str.begin(), [](char c) {return static_cast(::tolower(c)); }); + std::transform(str.begin(), str.end(), str.begin(), [](unsigned char c) {return static_cast(::tolower(c)); }); } #ifdef __APPLE__ @