Here is a solution for this problem. Please, review. To reproduce the crash write manually a path with non-existent drive in the local package directory edit control.
The reason for this crash is that mkdir_p tries to create the path recursevly and does not care if its actually a path component or a drive spec. I've tried a setup.exe with this patch applied and with very long path and it works just fine. This is a forwarded message From: Colman Curtin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Monday, March 25, 2002, 11:46:56 PM Subject: setup.exe crash ===8<==============Original message text=============== Hi I have setup.exe point to a local network mapping for its local Package directory. I noticed when I rebooted, not having the mapping set up to reconnect, that setup.exe crashed when it tried to move on from that screen with the following error; "The exception unknown software exception (0xc00000fd) occurred in the application at location 0x77f7f12a. That was the only trouble its given me. setup.exe version 2.194.2.15 Wint4 sp6a -Coley. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ===8<===========End of original message text===========
mkdir.cc.patch
Description: Binary data