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

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

[Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc whe


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis
Date: Mon, 4 Nov 2019 15:13:23 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Follow-up Comment #52, bug #49718 (project octave):

You're right. It should probably have been this:

diff -r 688e8fb3caa9 scripts/plot/util/private/__ghostscript__.m
--- a/scripts/plot/util/private/__ghostscript__.m       Mon Nov 04 14:26:11 2019
-0500
+++ b/scripts/plot/util/private/__ghostscript__.m       Mon Nov 04 21:10:46 2019
+0100
@@ -126,7 +126,7 @@
       if (dos_shell)
         cleanup_cmd = sprintf ('del "%s"', strrep (offsetfile, '/', '\'));
       else
-        cleanup_cmd = sprintf ('rm "%s"', strrep (offsetfile, '/', '\'));
+        cleanup_cmd = sprintf ('rm "%s"', offsetfile);
       endif
     endif
     unwind_protect


Strangely, it doesn't cause an error for me though. But there are temporary
files that aren't deleted.
@Mike: Could you please try with the above change or something similar?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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