Author: uzsolt                       Date: Fri Jun 12 08:08:04 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/paintown:
   paintown-string.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/paintown/paintown-string.patch
diff -u /dev/null packages/paintown/paintown-string.patch:1.1
--- /dev/null   Fri Jun 12 10:08:04 2009
+++ packages/paintown/paintown-string.patch     Fri Jun 12 10:07:59 2009
@@ -0,0 +1,11 @@
+--- paintown-3.2-orig/src/game.cpp     2009-05-01 10:35:02.005708732 +0200
++++ paintown-3.2/src/game.cpp  2009-06-12 09:59:45.754198818 +0200
+@@ -112,7 +112,7 @@
+ 
+ static string findNextFile( const char * name ){
+       char buf[ 128 ];
+-      char * extension = strchr( name, '.' );
++      char * extension = strdup( strchr( name, '.' ) );
+       char first[ 128 ];
+       strncpy( first, name, extension - name );
+       first[ extension - name ] = '\0';
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to