aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-11-18 13:19:14 +0100
committerSiri Hansen <[email protected]>2013-11-18 13:19:14 +0100
commit966b7e7a26978667c16450db2f35bdf0ac4f3eb8 (patch)
tree9b617a98398c0c72aa300c1836fd3a295d2f7257 /erts/preloaded
parent58fb18b66eca3de6af4f33f5447fd8de63adf3a8 (diff)
parentb5e8344a22b04729db5493f2757ee68c45d03bc0 (diff)
downloadotp-966b7e7a26978667c16450db2f35bdf0ac4f3eb8.tar.gz
otp-966b7e7a26978667c16450db2f35bdf0ac4f3eb8.tar.bz2
otp-966b7e7a26978667c16450db2f35bdf0ac4f3eb8.zip
Merge branch 'maint'
Conflicts: erts/preloaded/ebin/erl_prim_loader.beam
Diffstat (limited to 'erts/preloaded')
-rw-r--r--erts/preloaded/ebin/erl_prim_loader.beambin54520 -> 54676 bytes
-rw-r--r--erts/preloaded/src/erl_prim_loader.erl7
2 files changed, 6 insertions, 1 deletions
diff --git a/erts/preloaded/ebin/erl_prim_loader.beam b/erts/preloaded/ebin/erl_prim_loader.beam
index bfadc3c583..ae0ee5c4b5 100644
--- a/erts/preloaded/ebin/erl_prim_loader.beam
+++ b/erts/preloaded/ebin/erl_prim_loader.beam
Binary files differ
diff --git a/erts/preloaded/src/erl_prim_loader.erl b/erts/preloaded/src/erl_prim_loader.erl
index 81522e293a..4b9e901c6d 100644
--- a/erts/preloaded/src/erl_prim_loader.erl
+++ b/erts/preloaded/src/erl_prim_loader.erl
@@ -1439,7 +1439,12 @@ normalize(Name, Acc) ->
[Atom | Rest] when is_atom(Atom) ->
normalize(atom_to_list(Atom) ++ Rest, Acc);
[$\\ | Chars] ->
- normalize(Chars, [$/ | Acc]);
+ case erlang:system_info(os_type) of
+ {win32, _} ->
+ normalize(Chars, [$/ | Acc]);
+ _ ->
+ normalize(Chars, [$\\ | Acc])
+ end;
[Char | Chars] ->
normalize(Chars, [Char | Acc]);
[] ->