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

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

[Octave-bug-tracker] [bug #63265] rmdir fails to remove directory contai


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63265] rmdir fails to remove directory containing read-only files
Date: Mon, 31 Oct 2022 06:16:35 -0400 (EDT)

Follow-up Comment #25, bug #63265 (project octave):

Given the recent information, I'm inclined to prefer the patch in comment #10
over the alternatives that we discussed.

On the one hand, Matlab doesn't seem to care about read-only file attributes
either IIUC. On the other hand, `unlink` on Windows currently behaves
differently than on Linux (and other platforms).
What gnulib does in those cases is to add wrappers that align the behavior of
a function on the "deviating" platform (Windows) to the documented behavior
(POSIX in this case). The patch in comment #10 essentially does that.

As an added bonus: That patch would be less intrusive than the discussed
alternatives and easier to maintain.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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