aboutsummaryrefslogtreecommitdiffstats
path: root/community/erlang/0060-set-disksup_posix_only-to-true.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-10-15 18:35:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-15 18:35:51 +0000
commit815be9fb3918d997f76371bce471864b73764eef (patch)
treedbcb09afb4017a09d3982c88f1292d9f64371cea /community/erlang/0060-set-disksup_posix_only-to-true.patch
parent41fa217fc05b64b32af627884ca91366add3f8ef (diff)
downloadaports-815be9fb3918d997f76371bce471864b73764eef.tar.bz2
aports-815be9fb3918d997f76371bce471864b73764eef.tar.xz
community/erlang: move from main
Diffstat (limited to 'community/erlang/0060-set-disksup_posix_only-to-true.patch')
-rw-r--r--community/erlang/0060-set-disksup_posix_only-to-true.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/erlang/0060-set-disksup_posix_only-to-true.patch b/community/erlang/0060-set-disksup_posix_only-to-true.patch
new file mode 100644
index 0000000000..a32c60c200
--- /dev/null
+++ b/community/erlang/0060-set-disksup_posix_only-to-true.patch
@@ -0,0 +1,22 @@
+--- otp_src_18.0/lib/os_mon/src/disksup.erl
++++ otp_src_18.0-fixed/lib/os_mon/src/disksup.erl
+@@ -87,7 +87,7 @@
+
+ param_default(disk_space_check_interval) -> 30;
+ param_default(disk_almost_full_threshold) -> 0.80;
+-param_default(disksup_posix_only) -> false.
++param_default(disksup_posix_only) -> true.
+
+ %%----------------------------------------------------------------------
+ %% gen_server callbacks
+--- otp_src_18.0/lib/os_mon/test/disksup_SUITE.erl
++++ otp_src_18.0-fixed/lib/os_mon/test/disksup_SUITE.erl
+@@ -337,7 +337,7 @@
+ [];
+ restart(Config) when is_list(Config) ->
+ ok = application:set_env(os_mon, start_disksup, true),
+- ok = application:set_env(os_mon, disksup_posix_only, false),
++ ok = application:set_env(os_mon, disksup_posix_only, true),
+ {ok, _Pid} = supervisor:restart_child(os_mon_sup, disksup),
+ ok.
+