[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 16:34:25 -0400 (EDT) |
Follow-up Comment #26, bug #63931 (project octave):
It looks like the last "good" hgid is 01e4f3882f54
hg log -r -800
changeset: 31109:01e4f3882f54
branch: stable
parent: 31107:bbb59cc6698c
user: Pantxo Diribarne <pantxo.diribarne@gmail.com>
date: Fri Jun 24 19:24:22 2022 +0200
summary: Fix regression with \color[rgb] tex pattern (bug #62668)
octave:2> __mfile_encoding__("latin1")
octave:3> 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:4> 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
------
octave:5> version -hgid
ans = 01e4f3882f54
octave:6> __mfile_encoding__
ans = latin1
The next changelog is:
hg log -r -799
changeset: 31110:e8238ae72381
parent: 31108:6ee5bd9ad7cc
parent: 31109:01e4f3882f54
user: Pantxo Diribarne <pantxo.diribarne@gmail.com>
date: Tue Jun 28 19:52:36 2022 +0200
summary: maint: merge stable to default
and it is bad:
octave:2> version -hgid
ans = e8238ae72381
octave:3> __mfile_encoding__("latin1")
octave:4> __mfile_encoding__
ans = latin1
octave:5> t1
val = 193
cw = 1
cr1 = 1
x = 193
y = 63
------
val = 194
cw = 1
cr1 = 0
x = 194
error: b(1): out of bound 0 (dimensions are 0x0)
error: called from
t1 at line 15 column 5
octave:6> t2
val = 127
cw = 1
cr1 = 1
x = 127
y = 127
------
val = 128
cw = 1
cr1 = 1
x = 128
y = 63
------
val = 129
cw = 1
cr1 = 1
x = 129
y = 63
------
Dmitri.
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63931>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, (continued)
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/16
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file,
Dmitri A. Sergatskov <=
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19