From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PMbOa-0004i1-NO for garchives@archives.gentoo.org; Sun, 28 Nov 2010 07:10:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3254BE060D; Sun, 28 Nov 2010 07:09:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 10312E060D for ; Sun, 28 Nov 2010 07:09:58 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9BD021B4043 for ; Sun, 28 Nov 2010 07:09:57 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 665) id 860552003C; Sun, 28 Nov 2010 07:09:55 +0000 (UTC) From: "Michael Sterrett (mr_bones_)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mr_bones_@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/bloboats/files: bloboats-1.0.2-warnings.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: bloboats-1.0.2-warnings.patch X-VCS-Directories: games-arcade/bloboats/files X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett Content-Type: text/plain; charset=utf8 Message-Id: <20101128070955.860552003C@flycatcher.gentoo.org> Date: Sun, 28 Nov 2010 07:09:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a74bcc5d-9821-4ee4-847a-eb1eebd048ef X-Archives-Hash: a6ddba3198b4a6c9b14c0087cab97839 mr_bones_ 10/11/28 07:09:55 Added: bloboats-1.0.2-warnings.patch Log: version bump =20 (Portage version: 2.1.9.24/cvs/Linux i686) Revision Changes Path 1.1 games-arcade/bloboats/files/bloboats-1.0.2-warnings.= patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/blobo= ats/files/bloboats-1.0.2-warnings.patch?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/blobo= ats/files/bloboats-1.0.2-warnings.patch?rev=3D1.1&content-type=3Dtext/pla= in Index: bloboats-1.0.2-warnings.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D diff -ru bloboats-1.0.2.orig/src/menu.cpp bloboats-1.0.2/src/menu.cpp --- bloboats-1.0.2.orig/src/menu.cpp 2010-08-25 17:55:26.000000000 -0400 +++ bloboats-1.0.2/src/menu.cpp 2010-11-28 01:19:57.664406227 -0500 @@ -118,7 +118,7 @@ bool used=3Dfalse; =20 if (fgets(nick, NICK_MAXLEN+2, fp)) { - if (nick && strlen(nick)>1 ) { + if (strlen(nick)>1 ) { nick[strlen(nick)-1]=3D'\0'; used=3Dtrue; Player[i].setnick(nick); diff -ru bloboats-1.0.2.orig/src/path.cpp bloboats-1.0.2/src/path.cpp --- bloboats-1.0.2.orig/src/path.cpp 2006-08-02 18:05:36.000000000 -0400 +++ bloboats-1.0.2/src/path.cpp 2010-11-28 01:19:19.385415683 -0500 @@ -111,7 +111,7 @@ } =09 if (type>0) { - if (d2) { + if (*d2) { char *ps =3D new char[p.size()+1]; strncpy (ps, p.c_str(), p.size()+1); =09