Skip to content

Commit 13fcd06

Browse files
committed
move stdlib.sys to stdlib.shell
This is a clearer descriptor of this internal detail
1 parent 62a4e19 commit 13fcd06

71 files changed

Lines changed: 124 additions & 125 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%% SYS.DEVICE get drive index
1+
%% shell.DEVICE get drive index
22
%
33
%%% Inputs
44
% * p: path
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%% SYS.FILE_CHECKSUM compute checksum of file
1+
%% shell.FILE_CHECKSUM compute checksum of file
22
function [hash, cmd] = file_checksum(file, hash_method)
33

44
switch lower(hash_method)
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
%% sys.get_max_open_files Get process open-file soft limit via shell
1+
%% shell.get_max_open_files Get process open-file soft limit via shell
22
function omax = get_max_open_files()
33

44
omax = [];
55

6-
if ispc()
7-
omax = uint64(omax);
8-
return
9-
end
6+
if ~ispc()
107

118
[s, m] = system('ulimit -n');
129
if s == 0
@@ -17,6 +14,8 @@
1714
end
1815
end
1916

17+
end
18+
2019
omax = uint64(omax);
2120

2221
end

0 commit comments

Comments
 (0)