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

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

[Octave-bug-tracker] [bug #45231] The run command does not return back t


From: Tasos Papastylianou
Subject: [Octave-bug-tracker] [bug #45231] The run command does not return back to the originating directory
Date: Mon, 01 Jun 2015 23:26:26 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

Follow-up Comment #1, bug #45231 (project octave):

The bug seems to be on line 70 of the existing run.m command.
This uses strcmp within an if statement, in a way that seems to expect this to
execute if the output of strcmp is true; however when two strings are equal,
strcmp returns 0, therefore the if statement fails instead.

This is trivial to fix, but a patch is included below for consistency.

(file #34146)
    _______________________________________________________

Additional Item Attachment:

File name: patch                          Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45231>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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