diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-11-25 15:46:36 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-11-25 15:46:36 +0000 |
| commit | a2f11253715327c335c4fbd08e00edface018a97 (patch) | |
| tree | 9dacb7fe90885e5e9d3dec211508759a5de06de5 /src | |
| parent | 35bb4495f0d1a58477c2b646b8ee72b515e57c01 (diff) | |
| parent | 46b42c7237057f06feaebc61b35703cb3da450d2 (diff) | |
| download | rabbitmq-server-git-a2f11253715327c335c4fbd08e00edface018a97.tar.gz | |
merging heads
Diffstat (limited to 'src')
| -rw-r--r-- | src/file_handle_cache.erl | 3 |
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( |
