aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-15 13:11:22 +0100
committerBjörn Gustavsson <[email protected]>2013-02-18 13:57:39 +0100
commit1f9b77e63268374339c23288bc71246d6f494f20 (patch)
tree265c83f5bc80276d724f3c6e00645f771fb39073 /erts
parent2f4ed0cac2707921b6f5b9cc2ad8192502733913 (diff)
downloadotp-1f9b77e63268374339c23288bc71246d6f494f20.tar.gz
otp-1f9b77e63268374339c23288bc71246d6f494f20.tar.bz2
otp-1f9b77e63268374339c23288bc71246d6f494f20.zip
Fix broken prim_file:list_dir_all/1
6d516de001dde82c02fe050db8e3aab47914fa90 added prim_file:list_dir_all/1. Unfortunately, only the first element in the list would be handled as intended.
Diffstat (limited to 'erts')
-rw-r--r--erts/preloaded/ebin/prim_file.beambin44092 -> 44132 bytes
-rw-r--r--erts/preloaded/src/prim_file.erl4
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/ebin/prim_file.beam b/erts/preloaded/ebin/prim_file.beam
index f7b3aac376..b64fe522e8 100644
--- a/erts/preloaded/ebin/prim_file.beam
+++ b/erts/preloaded/ebin/prim_file.beam
Binary files differ
diff --git a/erts/preloaded/src/prim_file.erl b/erts/preloaded/src/prim_file.erl
index bf8879c2a0..b40a6d9633 100644
--- a/erts/preloaded/src/prim_file.erl
+++ b/erts/preloaded/src/prim_file.erl
@@ -990,9 +990,9 @@ list_dir_convert_all([Name|Names]) ->
%% a binary.
case prim_file:internal_native2name(Name) of
{error, _} ->
- [Name|list_dir_convert(Names)];
+ [Name|list_dir_convert_all(Names)];
Converted when is_list(Converted) ->
- [Converted|list_dir_convert(Names)]
+ [Converted|list_dir_convert_all(Names)]
end;
list_dir_convert_all([]) -> [].