On Sun, Sep 11, 2005 at 02:08:48PM +0200, Krzysztof Duleba wrote:
>This was originally sent to gmane.os.cygwin.applications, but I can't
>write there.
No, it was sent to the cygwin-apps mailing list which is
subscriber-only.
Please don't confuse discussions by redirecting mail to other mailing
li
Krzysztof Duleba wrote:
> What's the difference? I mean, you're still using i after erasing it.
Please ignore this thread. Now I see why it should work.
Krzysztof Duleba
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Do
Krzysztof Duleba wrote:
> {
> /* Should we erase */
> pkg.versions::iterator next_i = i;
That should read
set::iterator next_i = i;
> ++next_i;
> if(next_i == pkg.versions.end()){
> pkg.versions.erase(i);
> break;
> }else{
> pkg::value_type tmp
This was originally sent to gmane.os.cygwin.applications, but I can't
write there.
M.Fujii wrote:
>
> Calling erase() in packagemata::ScanDownloadedFiles() invalidates
> iterator i.
> Therefore, ++i after erase() means an operation to a invalid
> iterator. I guess it is the cause of a crash of set
4 matches
Mail list logo