cygwin setup 2.510.2.1 does not work because of an invalid iterator.

Krzysztof Duleba krzysan@skrzynka.pl
Sun Sep 11 15:36:00 GMT 2005


Krzysztof Duleba wrote:

> {
>     /* Should we erase */
>     pkg.versions::iterator next_i = i;

That should read

      set<packageversion>::iterator next_i = i;

>     ++next_i;
>     if(next_i == pkg.versions.end()){
>         pkg.versions.erase(i);
>         break;
>     }else{

>         pkg::value_type tmp = *next_i;

That should read

          packageversion tmp = *next_i;

>         pkg.versions.erase(i);
>         i = pkg.versions.find(tmp);
>     }
> }else ++i;



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list