Author: jseidel-guest
Date: 2007-09-19 15:31:39 +0000 (Wed, 19 Sep 2007)
New Revision: 4244

Modified:
   packages/trunk/hex-a-hop/debian/patches/misc_errors.patch
Log:
Added another FIXME about an invalid file access

Modified: packages/trunk/hex-a-hop/debian/patches/misc_errors.patch
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/misc_errors.patch   2007-09-19 
15:28:19 UTC (rev 4243)
+++ packages/trunk/hex-a-hop/debian/patches/misc_errors.patch   2007-09-19 
15:31:39 UTC (rev 4244)
@@ -13,7 +13,17 @@
                        numStages -= currentStage;
                        currentStage = 0;
                }
-@@ -1886,7 +1886,8 @@
+@@ -1810,6 +1810,9 @@
+       char* ReadAll(FILE* f)
+       {
+               int size;
++    // FIXME: According to 
http://userpage.fu-berlin.de/~ram/pub/pub_jf47ht20Ht/c_faq_de
++    // undefined for binary streams! (POSIX does not differ between ascii and 
binary, so
++    // we are on the save side in Linux)
+               fseek(f, 0, SEEK_END);
+               size = ftell(f);
+               fseek(f, 0, SEEK_SET);
+@@ -1890,7 +1893,8 @@ struct HexPuzzle : public State
                                PackFile1::Entry* e = levelFiles.Find(filename);
                                if (!e) return false;
  


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

Reply via email to