Re[2]: [Possible BUG and a fix] Re[2]: Setup.Exe causes Application Error at 0x78001750

2002-03-23 Thread Pavel Tsekov
Hello Robert, Saturday, March 23, 2002, 5:34:28 AM, you wrote: RC> Thanks for taking the time to look at this - I really appreciate that. RC> BTW: If it's reproducible, tell me the steps and I'll look too. Also, if RC> it's reproducible, try building with -DDEBUG. Yep! I found a way to reprodu

RE: [Possible BUG and a fix] Re[2]: Setup.Exe causes Application Error at 0x78001750

2002-03-22 Thread Robert Collins
Thanks for taking the time to look at this - I really appreciate that. BTW: If it's reproducible, tell me the steps and I'll look too. Also, if it's reproducible, try building with -DDEBUG. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygw

RE: [Possible BUG and a fix] Re[2]: Setup.Exe causes Application Error at 0x78001750

2002-03-22 Thread Robert Collins
> -Original Message- > From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] > Sent: Saturday, March 23, 2002 11:03 AM > strcpy (dp, dots); > delete[] dots; > key = String (dp); > > LOOK HERE - This is not right - we should delete at the base > of the block, not somewhere in the middle

[Possible BUG and a fix] Re[2]: Setup.Exe causes Application Error at 0x78001750

2002-03-22 Thread Pavel Tsekov
Ok - more inf... I think I've found the problem... site_list_type::init (...) [snip some code] char *dp = new char[2 * newurl.size() + 3]; while (dot != dots) { if (*dot == '.' || *dot == '/') { char *sp; if (dot[3] == 0) *dp++ = '~';/* sort .com/.edu/