[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Gnu-arch-users] Arch On Cygwin(Win32)

From: Parker, Ron
Subject: RE: [Gnu-arch-users] Arch On Cygwin(Win32)
Date: Thu, 13 Nov 2003 14:17:45 -0600

> -----Original Message-----
> From: Robert Collins [mailto:address@hidden

> On Fri, 2003-11-14 at 04:26, Parker, Ron wrote:
> > The necessary code in cygwin1.dll is now using 
> > Create{File,Directory}W
> > instead of Create{File,Directory} which are defined to be
> > Create{File,Directory}A.  It is also using the "\\?\" 
> > prefix which is
> > necessary to by pass the Win32-subsystem's file name 
> > parsing.  I have not
> > currently addressed the UNC case, where \\server\share\file 
> > needs to be
> > translated to \\?\UNC\server\share\file.  I will add this 
> > in once the
> > overall concept has proven itself on a local file system.
> Got a patch? I'd like to put this in a branch on cygwin CVS, so we can
> play with and tune it.


As per your recommendation, I am making byte-size patches.  The first one
replaces all CreateFile calls with cygwin_create_file, which is implemented
as a simple wrapper around CreateFile.  The second does the same for
CreateDirectory.  The third adds the above detailed functionality to both
wrapper functions.

Unfortunately when I had time to work on this, the only source I had on the
machine was 1.5.5-1 and not CVS.  The last time I had the CVS source, it
produced a non-functional cygwin1.dll before I ever touched a line of code.
So, I should probably pull down the CVS version and if it produces a
workable DLL migrate my patches to it before sending patches to you.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]