URL:
  <http://gna.org/patch/?3113>

                 Summary: save_index::load() doesn't reset stream to begin
after failed read_gz
                 Project: Battle for Wesnoth
            Submitted by: zamotivator
            Submitted on: Sat 04 Feb 2012 04:27:31 AM GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Revision number 52864 has fix of bug #19396 (save_index.gz file not really
gzipped): save_index::load() try to 'read_gz' for save_index.gz, if file not
really gzipped - catch exception and (this is another bug) doesn't reset
stream to the begin of file before call 'read'.
In current patch I added stream->seekg(0) for fix this.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 04 Feb 2012 04:27:31 AM GMT  Name: save.patch  Size: 353B   By:
zamotivator

<http://gna.org/patch/download.php?file_id=14997>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3113>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to