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


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@cygwin.com
Red Hat, Inc.


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