This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: True case-sensitive filenames
- From: "Gerald S. Williams" <gsw at agere dot com>
- To: <cygwin-developers at cygwin dot com>
- Date: Thu, 23 Jan 2003 14:13:13 -0500
- Subject: Re: True case-sensitive filenames
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