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

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

[Octave-bug-tracker] [bug #56334] rmdir asks for for confirmation before


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #56334] rmdir asks for for confirmation before recursively removing a directory
Date: Thu, 16 May 2019 14:34:40 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

Follow-up Comment #4, bug #56334 (project octave):

I just confirmed that all Octave and Octave Forge code that uses 'rmdir (dir,
"s")' also sets the 'confirm_recursive_rmdir' flag to false locally before the
call. So all existing code wants the prompt to be disabled, and no Octave code
would be affected by changing the default or removing the prompt entirely.

So the only issue is the behavior for interactive users of Octave, and it
seems that Octave intentionally added this prompt to be user friendly, with
the option to disable it for Matlab compatible behavior. I would prefer the
prompt disabled, and you would, but that's also easy enough to do with an
octaverc file. Deciding to change defaults should probably be discussed on the
maintainers mailing list.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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