|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file |
Date: | Thu, 16 Mar 2023 01:53:28 -0400 (EDT) |
Follow-up Comment #12, bug #63931 (project octave): I tried compiling with -Os with both clang (14.0.6) and gcc (12.2.0) on a Debian system and I can't reproduce the problem with the t1.m script. CLI vs. GUI doesn't change anything for me. I've also compiled with the default configure options (-g -O2) on the same system with the same results. Or at least I think the t1 script is not showing a problem. Here is what I see: >> t1 val = 127 cw = 1 cr1 = 1 x = 127 y = 127 val = 128 cw = 1 cr1 = 1 x = 128 y = 128 val = 129 cw = 1 cr1 = 1 x = 129 y = 129 Is that the correct output? Could you make the test script use assert or error or something to clearly indicate what is an error instead of having to compare output values visually? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63931> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |