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.
| 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.80X | Operating System | All platforms |
Page 1 of 1
Report ID #758: SET "$string" TO "fwrite" sometimes fails to write delimiter
#1
Lachesis
Posted 21 February 2019 - 10:21 PM
"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
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
Replies (1 - 2)
#2
Lachesis
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.
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
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
0 User(s) are reading this issue
0 Guests and 0 Anonymous Users
Powered by IP.Tracker 1.3.2 © 2026 IPS, Inc.

Help
This issue is locked