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=I4r0lDb7Qi+8qwpL dpB1BXLBzJ6OM2xbpFQQGT3mnuHL5PoAsU2DzqCwQY28DhvwbZiAuiC7QxAMdEBX 8vJ5QV3S3nJEHNMZlN7c5XNv+WwDrwP2dGsAiCQzh7uismN6IaiK/kZ6JN5vqw3r XRDlBrElYxYJu6l3VI2aUGJerWA= 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=T3c8NmkzWkHnBasalQvfO2 0OYX0=; b=G59eqp5Hy5J56lP61B/rISPiXrG5CQECFvYa23EP+wVsjm6G+lZVA+ 3+5zRqW1++uDkK9WQ4IMt9lS7E4fg63AUhrYJaaPcu4/OCSk5pFfZPo/u38WsRCb H7ixDH8ALwMgKiqQOX6YdwtbRlYn3yHtsHOiIScZka+Mc1XtOI4a0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:lauterbach, resulted, H*r:envelope-sender, solely X-HELO: smtp1.lauterbach.com X-Qmail-Scanner-Diagnostics: from 10.2.11.10 by smtp1.lauterbach.com (envelope-from , uid 484) with qmail-scanner-2.11 (mhr: 1.0. clamdscan: 0.99/21437. spamassassin: 3.4.0. Clear:RC:0(10.2.11.10):SA:0(-12.9/5.0):. Processed in 5.307941 secs); 04 Aug 2016 18:31:24 -0000 Subject: Re: Size limitation for NcFsd drive? To: cygwin AT cygwin DOT com References: <2483665a-eae1-737d-59f2-ca6af9428aca AT lauterbach DOT com> <2b6c3324-0a18-7437-c85b-bb30d3cbdbae AT lauterbach DOT com> <20160728195859 DOT GE26311 AT calimero DOT vinschen DOT de> <8ffdb11a-a2a6-109b-988d-2d5f38c98731 AT lauterbach DOT com> <20160729141831 DOT GA9364 AT calimero DOT vinschen DOT de> <20160729143815 DOT GE5963 AT calimero DOT vinschen DOT de> <20160802145926 DOT GM3470 AT calimero DOT vinschen DOT de> From: Franz Sirl Message-ID: Date: Thu, 4 Aug 2016 20:31:18 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Thunderbird/47.0 MIME-Version: 1.0 In-Reply-To: <20160802145926.GM3470@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Sorry for the delay, for some reason my users keep me busy with strange bugs, see my answers below. Am 2016-08-02 um 16:59 schrieb Corinna Vinschen: > Hi Franz, > > On Aug 2 16:26, Franz Sirl wrote: >> Nevertheless I believe the fallback to >> NtQueryDirectoryFile(FileIdBothDirectoryInformation) does not do what you >> want if the path is the root directory of a share. But that's not the cause >> of this problem. > > Yeah, as I wrote in my reply, the NtQueryDirectoryFile branch isn't > supposed to be hit in this scenario. It's solely for "access denied" > situations. Got it. > Are you set up to build your own Cygwin DLL so you can test the above > patch locally? Not really, but since I've already created a few testcases for Novell now, I have my own little "framework" using ntdll.dll directly. I added your code to it and it showed: C:\NovellQueryAllInformationFile\Debug>NovellQueryAllInformationFile.exe t:\ NtQueryInformationFile(FileAllInformation) 't:\' resulted in errorcode c7e90006, description: (no description) Returned filename: '' NtQueryInformationFile(FileBasicInformation) 't:\' resulted in errorcode 0, description: STATUS_WAIT_0 NtQueryInformationFile(FileStandardInformation) 't:\' resulted in errorcode 0, description: STATUS_WAIT_0 So your fallback will work nicely. No idea if it's worth it, because I'll likely get an updated NCP client soon from Novell. Franz. -- 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