It is currently 18 Apr 2024, 23:28
   
Text Size

Magic Album - Program Bugs

ma.PutFile(file,data,0) behaviour does not match wiki (fix completed)

 

ma.PutFile(file,data,0) seems to overwrite from the beginning of the file, but keeps old contents if the new data is shorter.
Wiki description (and behaviour before append parameter was introduced) suggests a new (and empty) file would be created.

(personally, I'd like to have it create a new file, since my importscript logs get rather big :) )

edit:
append mode works as expected, though :)
Last edited by LordHelmchen on 01 Oct 2012, 23:52, edited 1 time in total.
Reason: additional information

Comments

Posted by Goblin Hero » 03 Oct 2012, 07:41

Confirmed and fixed in r239.

Ticket details

  • Ticket ID: 269
  • Project: Magic Album
  • Status: Fix completed
  • Component: (unknown)
  • Project version: (unknown)
  • Priority: Normal
  • Severity: Normal
  • Assigned to: Goblin Hero
  • Reported by: LordHelmchen
  • Reporter's tickets: List all tickets
  • Reported on: 01 Oct 2012, 23:10
  • Last visited by Goblin Hero » 03 Oct 2012, 07:41.
 

Login Form