|
| From: | Mike Miller |
| Subject: | [Octave-bug-tracker] [bug #57830] rmdir and other file functions should not return status unless nargout > 1 |
| Date: | Sun, 16 Feb 2020 13:39:09 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36 |
Follow-up Comment #1, bug #57830 (project octave):
How about system functions that also return a value in addition to a status
flag and error message? Should these throw an error if nargout < 2 (or nargout
< 3 in the case of 'pipe')?
* lstat
* pipe
* readdir
* readlink
* stat
* uname
* waitpid
More functions that I think fit your original criteria, first those that are
in Matlab, so we can test whether they need to be changed:
* copyfile
* fileattrib
* movefile
And these POSIX system functions similar to the others you listed:
* exec
* fcntl
* kill
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57830>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |