dMZX Forums: SET "$string" TO "fwrite" sometimes fails to write delimiter -> Archived MegaZeux Bugs -> Tracker

Jump to content

Report ID 758 Title SET "$string" TO "fwrite" sometimes fails to write delimiter
Product Archived MegaZeux Bugs Status Fixed (Severity 3 - Medium)
Version 2.91j Fixed in 2.92
Introduced In Version 2.80XOperating System All platforms

Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Report ID #758: SET "$string" TO "fwrite" sometimes fails to write delimiter

#1 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 21 February 2019 - 10:21 PM

When $string is unset or has a length of zero, SET "$string" TO "fwrite" fails to write the fwrite delimiter. In 2.80 through 2.82, this command would fail to write the delimiter for unset strings, but would succeed for zero-length strings. In 2.82b, a fix for a separate bug broke this feature for zero-length strings as well.

The zero-length behavior of this function is definitely a bug, but since unset strings are effectively treated as zero-length strings everywhere else, I think the behavior for unset strings should also be treated as a bug. This fix requires a minor version change; doubtlessly something relies on the old behavior, as it's something users have had to explicitly account for when writing file saving/loading code.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository


Page 1 of 1  
  • Cannot start a new Issue
  • Closed Issue This issue is locked

Replies (1 - 2)

#2 User is offline  
Lachesis 

  • the pinnacle of human emotion
  • Group: DigiStaff
  • Posts: 3,895
  • Joined: 17-July 04
  • Gender:Female
  • Location:Sealand

Posted 22 February 2019 - 12:42 AM

Updating status to: Fixed
Issue fixed in: 2.92

Fixed in GIT 27371dd8 in master-2.92 with compatibility checks for older versions.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"

xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository

#3 User is offline  
Terryn 

  • ******
  • Group: DigiStaff
  • Posts: 2,960
  • Joined: 12-October 00
  • Gender:Male

Posted 23 July 2019 - 12:35 AM

Moving to: Archived MegaZeux Bugs


Page 1 of 1
  • Cannot start a new Issue
  • Closed Issue This issue is locked

0 User(s) are reading this issue
0 Guests and 0 Anonymous Users


Powered by IP.Tracker 1.3.2 © 2026  IPS, Inc.