* [gentoo-commits] gentoo-x86 commit in games-arcade/bloboats/files: bloboats-1.0.2-warnings.patch
@ 2010-11-28 7:09 Michael Sterrett (mr_bones_)
0 siblings, 0 replies; only message in thread
From: Michael Sterrett (mr_bones_) @ 2010-11-28 7:09 UTC (permalink / raw
To: gentoo-commits
mr_bones_ 10/11/28 07:09:55
Added: bloboats-1.0.2-warnings.patch
Log:
version bump
(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/bloboats/files/bloboats-1.0.2-warnings.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/bloboats/files/bloboats-1.0.2-warnings.patch?rev=1.1&content-type=text/plain
Index: bloboats-1.0.2-warnings.patch
===================================================================
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=false;
if (fgets(nick, NICK_MAXLEN+2, fp)) {
- if (nick && strlen(nick)>1 ) {
+ if (strlen(nick)>1 ) {
nick[strlen(nick)-1]='\0';
used=true;
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 @@
}
if (type>0) {
- if (d2) {
+ if (*d2) {
char *ps = new char[p.size()+1];
strncpy (ps, p.c_str(), p.size()+1);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-28 7:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-28 7:09 [gentoo-commits] gentoo-x86 commit in games-arcade/bloboats/files: bloboats-1.0.2-warnings.patch Michael Sterrett (mr_bones_)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox