X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=KgDb8BniOb3YCcQM YG82hHCzHXER3NbgjlVbynf4TGomsC/PZf7FlgA2T8+MPHyI4zN1cC9n+wu3Y8EI F2pDVBiavv14IIa9wYEwMomMBmwl7dlN3FXDuwj4Q0YhI3qlO/ibEHRLSeHkALuN R4OzpdKHwsmYgXhIsgZtqOR0p8c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=hOZVNZ+MTK41uvzKwPxO2C brITs=; b=pxXv1fZfC5QxXJHjDcvQDqwOS2KL7phnJEeca1Oeuc6GSS/P/5js2k o8C6do7ZOxU6ShsH2GlZ3ExYhAIITNSvwnUwGwn7LyPwkSTwukA02F9unKImzPCN MFldyk4kjsjTNpTfORyyg+BmnlOdaEl7ioCpBkN76OJOYFChY6gtY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-HELO: mail-io0-f169.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Vx2jLCMIN8qzL+YTrdEtlSheMU8wr7WVsYFKp80xv9Y=; b=SiqLvs4olY/fRq7zuClWU3AdLMGw/Id2L+j7qdKXzY3AYPJ+WPyRWG8jBGFpkEGIQD fVNu+KscbJgL8VHlFvPDbvHHk+aFCYiloLVb7z96CH6D0G6vGTMBPbKlmAgS/uiz/rHQ pDHAvaBupvB6HkAPc6oamQHKhYw2m7wDfAAu6BNP7neXL5EASFmXpWNf2wgfoN1pGRzq 0+9gNk9vFJFvZ5uAYvQXgqUIZLl5kDXRln7mnVkgHgd8hcXXsI3sOwAfxcroRr3KS2MZ bEP/WngDb6z4VdBvoVSI0n82qExsfRwmVZsgYUXeTli2PdrA9j/b/3jnFedskRiH1M7k 47BA== Subject: Re: Ruby returning invalid entry sizes To: cygwin AT cygwin DOT com References: <5b42d7c7 DOT 1c69fb81 DOT 25197 DOT c280 AT mx DOT google DOT com> <20180709091055 DOT GD3111 AT calimero DOT vinschen DOT de> From: cyg Simple <cygsimple AT gmail DOT com> Openpgp: preference=signencrypt Message-ID: <ab419007-1c18-a108-1896-0a7e1f23aa3e@gmail.com> Date: Mon, 9 Jul 2018 09:25:43 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.0 MIME-Version: 1.0 In-Reply-To: <20180709091055.GD3111@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 7/9/2018 5:10 AM, Corinna Vinschen wrote: > On Jul 8 20:34, Steven Penny wrote: >> If you run this command with Linux Ruby or RubyInstaller [1]: >> >> $ ruby -e 'p File.size(".")' >> 65536 >> >> you correctly get the IO Blocks for the current directory. However not with >> Cygwin Ruby: >> >> $ ruby -e 'p File.size(".")' >> 0 > > https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=07c43238cfec > Corinna, you typoed the word "always" in the Changelog. + * fhandler_disk_file.cc (fhandler_base::fstat_helper): Alwasy set -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple