X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 24 Jul 2009 09:08:44 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: csih: Patch getVolInfo.c Message-ID: <20090724070844.GE18621@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20090722185402 DOT GS27613 AT calimero DOT vinschen DOT de> <20090723083844 DOT GY27613 AT calimero DOT vinschen DOT de> <4A6903B4 DOT 4070003 AT cwilson DOT fastmail DOT fm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A6903B4.4070003@cwilson.fastmail.fm> User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Jul 23 20:43, Charles Wilson wrote: > Corinna Vinschen wrote: > > >> The same patch should go into getVolInfo in csih. Patch below. > > > > New patch below. > > > > * cygwin/getVolInfo.c: Check ZwOpenFile status code for > > STATUS_INVALID_PARAMETER and retry top open with FILE_READ_DATA > > access. Simply STATUS_NO_MEDIA_IN_DEVICE condition. > > Thanks. I'll roll a new release this weekend (for cygwin-1.7 only). Thanks. Sorry for the typos in the ChangeLog. Here's the corrected version: * cygwin/getVolInfo.c: Check ZwOpenFile status code for STATUS_INVALID_PARAMETER and retry to open with FILE_READ_DATA access. Simplify STATUS_NO_MEDIA_IN_DEVICE condition. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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