Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Thu, 23 Jan 2003 16:34:51 +0100 From: Corinna Vinschen To: cygwin-developers AT cygwin DOT com Subject: Re: True case-sensitive filenames Message-ID: <20030123153451.GX29236@cygbert.vinschen.de> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i On Thu, Jan 23, 2003 at 09:49:44AM -0500, Gerald S. Williams wrote: > Pavel Tsekov wrote: > > There is. Use a debugger+disassembler and you are free to find out what > > it does. You may also want to try to visit ReactOS' homepage. > > I tried that, but encountered something like JMP *406100 that > couldn't be followed (the memory page couldn't be read). I was > using GDB--maybe I should switch to WINDBG. > > Your second suggestion was quite helpful, though. As I had > suspected, there is a FileRename operation in the Native API, > which Microsoft has taken steps to hide (they only show the > operation that allows you to change the short name). This is > probably the answer (although currently ZwSetInformationFile/ > NtSetInformationFile and FileRenameInformation aren't in any > of the Cygwin w32 libs--I may need to install the DDK to try > it). No, you don't need the DDK. If you want to use NT native functions in Cygwin, just add the declarations and datatype defintions to winsup/cygwin/ntdll.h and the functions to autoload.cc and go ahead. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.