True case-sensitive filenames

Gerald S. Williams
Thu Jan 23 19:13:00 GMT 2003

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 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.


More information about the Cygwin-developers mailing list