aboutsummaryrefslogtreecommitdiffstats
path: root/lib/os_mon/src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2018-03-27 15:05:13 +0200
committerDan Gudmundsson <[email protected]>2018-03-27 15:05:13 +0200
commitacfd88f41fbea76650d270f0bb96b6e3975d1480 (patch)
treea53f8b755351b213ba9de9488597c254d0566fa3 /lib/os_mon/src
parent05cf376180ba1f70c9788b145b6c5ad5751a982d (diff)
parenteae5b5723faadcae106c6e4f9fa486938bc08cdf (diff)
downloadotp-acfd88f41fbea76650d270f0bb96b6e3975d1480.tar.gz
otp-acfd88f41fbea76650d270f0bb96b6e3975d1480.tar.bz2
otp-acfd88f41fbea76650d270f0bb96b6e3975d1480.zip
Merge branch 'dgud/testcase-fixes'
* dgud/testcase-fixes: debug info add unicode opt env may contain unicode signs Fix lexemes conversion
Diffstat (limited to 'lib/os_mon/src')
-rw-r--r--lib/os_mon/src/memsup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/os_mon/src/memsup.erl b/lib/os_mon/src/memsup.erl
index 95cb798ba5..a30d962ad4 100644
--- a/lib/os_mon/src/memsup.erl
+++ b/lib/os_mon/src/memsup.erl
@@ -705,7 +705,7 @@ get_os_wordsize_with_uname() ->
_ -> 32
end.
-clean_string(String) -> lists:flatten(string:lexemes(String,"\r\n\t ")).
+clean_string(String) -> lists:flatten(string:lexemes(String,[[$\r,$\n]|"\n\t "])).
%%--Replying to pending clients-----------------------------------------