summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-11-25 15:46:36 +0000
committerMatthew Sackman <matthew@lshift.net>2009-11-25 15:46:36 +0000
commita2f11253715327c335c4fbd08e00edface018a97 (patch)
tree9dacb7fe90885e5e9d3dec211508759a5de06de5 /src
parent35bb4495f0d1a58477c2b646b8ee72b515e57c01 (diff)
parent46b42c7237057f06feaebc61b35703cb3da450d2 (diff)
downloadrabbitmq-server-git-a2f11253715327c335c4fbd08e00edface018a97.tar.gz
merging heads
Diffstat (limited to 'src')
-rw-r--r--src/file_handle_cache.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file_handle_cache.erl b/src/file_handle_cache.erl
index 9786fb063c..c76dbccdee 100644
--- a/src/file_handle_cache.erl
+++ b/src/file_handle_cache.erl
@@ -711,7 +711,8 @@ ulimit() ->
%% Fortunately, os:cmd invokes the cmd in a shell env, so
%% we're safe in all cases.
case os:cmd("ulimit -n") of
- "unlimited" -> infinity;
+ "unlimited" ->
+ infinity;
String = [C|_] when $0 =< C andalso C =< $9 ->
Num = list_to_integer(
lists:takewhile(