delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/01/23/10:34:58

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <vinschen AT redhat DOT com>
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: <Pine DOT LNX DOT 4 DOT 44 DOT 0301231029320 DOT 11027-100000 AT moria DOT atlanticsky DOT com> <GBEGLOMMCLDACBPKDIHFIECODBAA DOT gsw AT agere DOT com>
Mime-Version: 1.0
In-Reply-To: <GBEGLOMMCLDACBPKDIHFIECODBAA.gsw@agere.com>
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019