Complete.Org: Mailing Lists: Archives: freeciv-ai: June 2004:
[freeciv-ai] Re: (PR#9033) Infinite loop in ai_manage_ferryboat()
Home

[freeciv-ai] Re: (PR#9033) Infinite loop in ai_manage_ferryboat()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: use_less@xxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#9033) Infinite loop in ai_manage_ferryboat()
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxxx>
Date: Sun, 20 Jun 2004 07:31:48 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9033 >

On Sun, 20 Jun 2004, Jason Short wrote:

>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9033 >
>
> Gregory Berkolaiko wrote:
>
> > The bug is now probably impossible to reproduce: before it was due to
> > incorrectly waiting for the passenger that just got off the boat but
> > forgot to release it.  Now this forgetfullness is cured in a latest commit.
> >
> > However, the possibility of a loop is still there.  So I updated the
> > patch and will commit it today.
>
> Perhaps an assertion would be sufficient.

Assert means that something mustn't happen.  But a boat coming to pick up
a passenger while carrying another is something which doesn't happen now
but might be happening one day.

G.




[Prev in Thread] Current Thread [Next in Thread]