For masochists: the leap o faith

Robert Collins rbcollins@cygwin.com
Fri Nov 14 13:26:00 GMT 2003


Ok, so this it for tonight, my bed is calling me.

If playing with this, be sure to:
rebuild libc as well as cygwin1.dll.
be setup to debug cygwin1.dll.

I don't *think* I've changed the size of the shared stuff, but then 
again, I'm pretty tired, so I'll believe anything right now.

My plan is to unbreak cygwin tomorrow, and then work through the list of 
potentially update-requiring API calls:
DeleteFile
CopyFile
MoveFileEx
FindFirstFileEx
FindFirstFile
CreateHardLink
GetModuleFileName
GetFullPathName
GetSystemDirectory
GetWindowsDirectory
CreateMutex et al.

is my list so far.

I'll be a very happy chappie if someone picks this up and takes it the 
next little step :}.

Cheers, and good night.


2003-11-11  Robert Collins <rbtcollins@hotmail.com>
             Ron Parker <rdparker@butlermfg.com>

         Rename thunked functions to cygwin_function_name,
         create unicode capable thunks, and add autoload support, for:

           CreateFile
           CreateDirectory
           SetFileAttributes
           GetFileAttributes
           MoveFile
           MoveFileEx

         * assert.cc: Ditto.
         * dcrt0.cc: Ditto.
         * dir.cc: Ditto.
         * exceptions.cc: Ditto.
         * fhandler.cc: Ditto.
         * fhandler_console.cc: Ditto.
         * fhandler_disk_file.cc: Ditto.
         * fhandler_proc.cc: Ditto.
         * fhandler_socket.cc: Ditto.
         * fork.cc: Ditto.
         * ntea.cc: Ditto.
         * path.cc: Ditto.
         * security.cc: Ditto.
         * spawn.cc: Ditto.
         * syscalls.cc: Ditto.
         * times.cc: Ditto.
         * uinfo.cc: Ditto.
         * autoload.cc: Add appropriate ...W autoload stubs.
         * wincap.cc:  Add has_unicode_io capability.
         * wincap.h:  Add has_unicode_io capability.

         Update cygwin throughout to use CYG_MAX_PATH rather than MAX_PATH.
         Watch cygwin die badly.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: broken-long-paths.diff
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20031114/7fcfc32e/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: broken-long-paths.changelog
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20031114/7fcfc32e/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: io.h
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20031114/7fcfc32e/attachment.h>


More information about the Cygwin-patches mailing list