ports/117319: [patch] games/xlogical bad C++ code w/ gcc4.2
Pietro Cerutti
gahr at gahr.ch
Wed Oct 24 12:50:10 UTC 2007
The following reply was made to PR ports/117319; it has been noted by GNATS.
From: Pietro Cerutti <gahr at gahr.ch>
To: Sergio Mangialardi <sergio at softshark.org>, bug-followup at FreeBSD.org,
gahr at gahr.ch
Cc:
Subject: Re: ports/117319: [patch] games/xlogical bad C++ code w/ gcc4.2
Date: Wed, 24 Oct 2007 14:42:35 +0200
Sergio Mangialardi wrote:
> Pietro Cerutti wrote:
>>
>> You are right. Please comment on this one:
>>
>> --- gamelogic.cpp.orig 2007-10-19 17:52:30.000000000 +0200
>> +++ gamelogic.cpp 2007-10-19 17:53:15.000000000 +0200
>> @@ -154,7 +154,7 @@
>> levelFile = NULL;
>> }
>>
>> - currentMap = NULL;
>> + currentMap = gameLevels.end( );
> This is the correct initialization of currentMap, because it is
> independent of the underlying implementation of the iterator.
>
> Sergio.
Thanks.
I think the patch is ready to be committed.
--
Pietro Cerutti
PGP Public Key:
http://gahr.ch/pgp
More information about the freebsd-ports-bugs
mailing list