From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 8B7C47961D for ; Fri, 27 Jan 2017 18:05:34 -0800 (PST) Received: by mail-wm0-x234.google.com with SMTP id r126so6321271wmr.1 for ; Fri, 27 Jan 2017 18:06:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=geoffair-info.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=YMlI7xj+EsaNUYmox6ZObocShLZjXLEW3EJ2bpVHLu4=; b=cyt/C+cV9mDeB33WR4HQT2IhmA0J7ddR61pW21+wAGt83mXjUsag7utgHX5hdc9WzG 0SsOUDhkXEEke+x+y3CIuOBug2aE+EVziSxiyfFsPDMe8v3woNdZg3bv2A871puVotGF MfxJfpR5tfTAio9ZoegOGZPRXRvw8q8ACXhWwUNiKeD+C44YT0gwM4FmySUyk8ZeTwsv X6m2/NbZFQbsGW+JBVargkd+HHK1ThSoimjo47pMMc4n0YVV3Kw5yozmPsUTU7vg9p8c qbXpovuFnH8pbnb2iEK9iHvKWu5y1UhwOSyGjxN8Vd2sb7b2/5hgvU4p5MvfJcPxxjeN cbsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=YMlI7xj+EsaNUYmox6ZObocShLZjXLEW3EJ2bpVHLu4=; b=ZN2MDnl8fkuaTHLqByoPakNcD51rFA9vMqKjCbZ2L+EKg6PXb/KPVHRSc+eOwwQAq3 9ZBKvZSfFgd6nr0DVDaIH8nkDvzVb/70AKFoLHtzARyVyvNesjMKjRHqkLWGDjKa8M5W AGTa8HxJ7lPpNh7WbUCoW9ZiNzAYcvTBx71Z6CaW9wFZfc/7H/ugdoO3K3X5GSltzLOs vFa1mSOYOUpeZ60WEw9WZhrqbS/84LZHCis4jpfX0EhvKxY04N+IBkHfJDCMY8yHz6S/ 8kaEfSwcGaBDBaKetFk9PEWkhkUeU9lGlKY5F9z7p5eDWYM4oRKDBzxEWmdVflkEFkUa RwDA== X-Gm-Message-State: AIkVDXIfOFZiu/rcQTVECN93KXRqdXNjhbVBguVpe71TEMzReDt7KQd0Gd7rv/FytiMDeg== X-Received: by 10.28.64.132 with SMTP id n126mr5824786wma.107.1485569179989; Fri, 27 Jan 2017 18:06:19 -0800 (PST) Received: from ?IPv6:2a01:cb04:4ba:c500:cdfe:eddc:3851:9ef8? (2a01cb0404bac500cdfeeddc38519ef8.ipv6.abo.wanadoo.fr. [2a01:cb04:4ba:c500:cdfe:eddc:3851:9ef8]) by smtp.googlemail.com with ESMTPSA id l10sm10618147wrb.44.2017.01.27.18.06.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jan 2017 18:06:19 -0800 (PST) To: edbrowse-dev@lists.the-brannons.com References: <78e0ac32-8802-b381-10df-a27474a84d7d@geoffair.info> <20170027145941.eklhad@comcast.net> From: Geoff McLane Message-ID: <7d547421-eb32-0e29-b674-c07079b60659@geoffair.info> Date: Sat, 28 Jan 2017 03:06:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170027145941.eklhad@comcast.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Edbrowse-dev] Windows MSVC140 build X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.23 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2017 02:05:34 -0000 Hi karl, Fully agree with caching... it works very well in windows... Pushed a quick fix to - https://github.com/geoffmcl/edbrowse/tree/msvc140-32 But not sure I understood the use of 'ftruncate' in the second case... but the windows equivalent seems to be _chsize(fd,0)... but in the 2nd case chose 'unlink(cacheFile)'... You have closed it, why not remove it? But maybe I miss something... And sure, I guess, think, Sleep(5); // ms is the same as usleep(5000); // microseconds... Regards, Geoff.