This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]