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 From: "Gerald S. Williams" To: Subject: Re: True case-sensitive filenames Date: Thu, 23 Jan 2003 14:13:13 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: Corinna Vinschen wrote: > 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. Thanks. I figured that out shortly after e-mailing. I actually ended up using LoadLibrary and GetProcAddress to access the ntdll.dll routines directly, since that doesn't require any extra recompiling and I'm still in the experimental stage. UPDATE: I was able to do a case-sensitive rename on a directory using NtSetInformationFile() (I was able to rename dira to dIrA without impacting DIRA in the same directory or the contents of either directory). The next thing to try is attempting to set the current working directory using NtSetInformationProcess(). I'm currently way over my Cygwin-development allotment for this week, though. -Jerry