delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/01/23/14:13:19

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
From: "Gerald S. Williams" <gsw AT agere DOT com>
To: <cygwin-developers AT cygwin DOT com>
Subject: Re: True case-sensitive filenames
Date: Thu, 23 Jan 2003 14:13:13 -0500
Message-ID: <GBEGLOMMCLDACBPKDIHFGEDFDBAA.gsw@agere.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <GBEGLOMMCLDACBPKDIHFIEDDDBAA.gsw@agere.com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019