Author: pabs
Date: 2008-01-04 04:55:52 +0000 (Fri, 04 Jan 2008)
New Revision: 5209

Added:
   packages/trunk/warzone2100/debian/patches/fix-bogus-eof.patch
   packages/trunk/warzone2100/debian/patches/series
Modified:
   packages/trunk/warzone2100/debian/changelog
Log:
* Kill a bogus EOF. Upstream said: That code FUBAR (Closes: #458733)

Modified: packages/trunk/warzone2100/debian/changelog
===================================================================
--- packages/trunk/warzone2100/debian/changelog 2008-01-04 04:23:37 UTC (rev 
5208)
+++ packages/trunk/warzone2100/debian/changelog 2008-01-04 04:55:52 UTC (rev 
5209)
@@ -1,6 +1,7 @@
 warzone2100 (2.1.0~0.svn3330-1) UNRELEASED; urgency=low
 
   * New upstream development snapshot
+  * Kill a bogus EOF. Upstream said: That code FUBAR (Closes: #458733)
 
  -- Paul Wise <[EMAIL PROTECTED]>  Fri, 04 Jan 2008 13:21:29 +0930
 

Added: packages/trunk/warzone2100/debian/patches/fix-bogus-eof.patch
===================================================================
--- packages/trunk/warzone2100/debian/patches/fix-bogus-eof.patch               
                (rev 0)
+++ packages/trunk/warzone2100/debian/patches/fix-bogus-eof.patch       
2008-01-04 04:55:52 UTC (rev 5209)
@@ -0,0 +1,11 @@
+--- lib/ivis_common/imdload.c.orig
++++ lib/ivis_common/imdload.c
+@@ -730,7 +730,7 @@
+               ch = *pFileData++;
+ 
+               // Run up to the dot or till the buffer is filled. Leave room 
for the extension.
+-              for( i = 0; i < PATH_MAX-5 && (ch = *pFileData++) != EOF && ch 
!= '.'; i++ )
++              for( i = 0; i < PATH_MAX-5 && (ch = *pFileData++) != '\0' && ch 
!= '.'; i++ )
+               {
+                       texfile[i] = (char)ch;
+               }

Added: packages/trunk/warzone2100/debian/patches/series
===================================================================
--- packages/trunk/warzone2100/debian/patches/series                            
(rev 0)
+++ packages/trunk/warzone2100/debian/patches/series    2008-01-04 04:55:52 UTC 
(rev 5209)
@@ -0,0 +1 @@
+fix-bogus-eof.patch -p0


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to