True case-sensitive filenames

Igor Pechtchanski pechtcha@cs.nyu.edu
Mon Jan 20 16:15:00 GMT 2003


If that's the only thing stopping it, a case-sensitive rename can be
accomplished by two case-insensitive renames in a row, as has been
suggested recently on the cygwin list (by Randall Schulz, IIRC).
	Igor

On Mon, 20 Jan 2003, Sergey Okhapkin wrote:

> You can find my patch against old cygwin releases to support
> case-sensitive filenames on www.lexa.ru/sos. The patch affects a lot of
> places in cygwin sources but not fhandler_base::open only. The patch
> supports case-sensitive file open/create/delete, but I know no way for
> case-sensitive rename on windows. That was the main reason to not
> include the patch into cygwin source.
>
> > -----Original Message-----
> > From: cygwin-developers-owner@cygwin.com
> > [mailto:cygwin-developers-owner@cygwin.com] On Behalf Of
> > Gerald S. Williams
> > Sent: Monday, January 20, 2003 10:10 AM
> > To: cygwin-developers@cygwin.com
> > Subject: RE: True case-sensitive filenames
> >
> >
> > Corinna Vinschen wrote:
> > > On Fri, Jan 17, 2003 at 05:35:57PM -0500, Earnie Boyd wrote:
> > > > IIRC, there is a CYGWIN variable option for this already.
> > >
> > > No, there isn't.  Sergey had a patch relative to b18 or b19
> > once but
> > > it never made it into the Cygwin source.
> >
> > This is encouraging. So I guess there is interest in adding a
> > flag like that. If so, I'll look into it some more.
> >
> > If the fhandler_disk_file class used for all disk file
> > accesses, the change could be limited to just
> > fhandler_disk_file::open(). It may make sense to extend
> > fhandler_base with a way to support case-sensitive opens and
> > use that instead, though.
> >
> > Does anyone know of any alternative file access mechanisms
> > that might cause problems? SETUP might be an issue (it's
> > compiled with mingw, right?), but we can cross that bridge later.
> >
> > -Jerry

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune



More information about the Cygwin-developers mailing list