octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file
Date: Sun, 19 Mar 2023 15:25:44 -0400 (EDT)

Follow-up Comment #25, bug #63931 (project octave):

And on 7.3.0 this bug does not exist:


octave:1>  __mfile_encoding__("latin1")
octave:2>  __mfile_encoding__
ans = latin1
octave:3> ver
----------------------------------------------------------------------
GNU Octave Version: 7.3.0 (hg id: 2c037ce00450)
GNU Octave License: GNU General Public License
Operating System: Linux 5.14.0-285.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 7
17:32:48 UTC 2023 x86_64
----------------------------------------------------------------------
no packages installed.
octave:4> t1
val = 193
cw = 1
cr1 = 1
x = 193
y = 193
------
val = 194
cw = 1
cr1 = 1
x = 194
y = 194
------
val = 195
cw = 1
cr1 = 1
x = 195
y = 195
------
octave:5> t2
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
------


(Also attached t1.m and t2.m files to this bug report.)

Dmitri.
-- 


(file #54511)

    _______________________________________________________

Additional Item Attachment:

File name: t1.m                           Size:0 KB
    <https://file.savannah.gnu.org/file/t1.m?file_id=54511>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63931>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]