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

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

[Octave-bug-tracker] [bug #63803] Saving causes OOM, crash, and loss of


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63803] Saving causes OOM, crash, and loss of already saved data
Date: Fri, 5 May 2023 12:51:28 -0400 (EDT)

Follow-up Comment #34, bug #63803 (project octave):

On linux (gcc/libstdc++) seems to work:

octave:1> fid = fopen('file1', 'w'); fprintf(fid, "%f",rand(10));
fclose(fid);
octave:2> ls -go file*
-rw-r--r-- 1 800 May  5 12:48 file1
octave:3> fid = fopen('file2', 'w'); fprintf(fid, "%f",rand(20));
fclose(fid);
octave:4> ls -go file*
-rw-r--r-- 1  800 May  5 12:48 file1
-rw-r--r-- 1 3200 May  5 12:49 file2
octave:5> rename('file1', 'file2')
octave:6> ls -go file*
-rw-r--r-- 1 800 May  5 12:48 file2


Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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