gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog libbase/tu_file.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog libbase/tu_file.cpp
Date: Sat, 12 May 2007 07:02:29 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/05/12 07:02:29

Modified files:
        .              : ChangeLog 
        libbase        : tu_file.cpp 

Log message:
                * libbase/tu_file.cpp (std_tell_func): don't require not to
                  be at EOF on tell() call. See bug #19861.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3170&r2=1.3171
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_file.cpp?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3170
retrieving revision 1.3171
diff -u -b -r1.3170 -r1.3171
--- ChangeLog   12 May 2007 06:50:36 -0000      1.3170
+++ ChangeLog   12 May 2007 07:02:29 -0000      1.3171
@@ -1,5 +1,10 @@
 2007-05-12 Sandro Santilli <address@hidden>
 
+       * libbase/tu_file.cpp (std_tell_func): don't require not to 
+         be at EOF on tell() call. See bug #19861.
+
+2007-05-12 Sandro Santilli <address@hidden>
+
        * server/execute_tag.h, server/swf/PlaceObject2Tag.{cpp,h},
          server/swf/tag_loaders.cpp: Drop execute_tag::execute_state_reverse()
          and execute_tag::get_depth_id_of_replace_or_add_tag) methods.

Index: libbase/tu_file.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_file.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- libbase/tu_file.cpp 5 May 2007 12:21:13 -0000       1.16
+++ libbase/tu_file.cpp 12 May 2007 07:02:29 -0000      1.17
@@ -93,7 +93,7 @@
     FILE* f = static_cast<FILE*>(appdata);
 
     //if ( feof(f) )
-    assert ( ! feof(f) );
+    //assert ( ! feof(f) ); // I guess it's legal to call tell() while at eof.
 
     int ret = ftell(f);
     assert(ret <= std_get_stream_size_func(appdata));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]