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

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

[Octave-bug-tracker] [bug #59225] "save -z -binary -append" creates non


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #59225] "save -z -binary -append" creates non readable files
Date: Tue, 6 Oct 2020 04:24:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:81.0) Gecko/20100101 Firefox/81.0

URL:
  <https://savannah.gnu.org/bugs/?59225>

                 Summary: "save -z -binary -append" creates non readable files

                 Project: GNU Octave
            Submitted by: cdf
            Submitted on: Tue 06 Oct 2020 10:24:48 AM CEST
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.0.90
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:



I am not sure whether this is expected behaviour, 
but I cannot seem to find mention of it in the docs :


>> a = randn (4);
>> b = randn (5);
>> save -binary prova a
>> save -binary -append prova b
>> clear all
>> load prova
>> whos
Variables visible from the current scope:

variables in scope: top scope

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  ===== 
        a           4x4                        128  double
        b           5x5                        200  double

Total is 41 elements using 328 bytes

>> save -z -binary provaz a
>> save -z -binary -append provaz b
>> clear all
>> load provaz
error: load: trouble reading binary file 'provaz'
>> __octave_config_info__ hg_id
ans = 2219027f5bd4+
>> version
ans = 6.0.91





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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