diff options
author | Patrik Nyblom <[email protected]> | 2012-08-20 18:19:52 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2012-08-20 18:19:52 +0200 |
commit | a8fb0d0537314f717f9ab33989a5115457c9aab0 (patch) | |
tree | 07dcacdaa266c01391a8e422c60c7b6ff9c810cf /lib/stdlib/src | |
parent | 00ef468474d0628903e0a3a3abc7aceb8d2c4061 (diff) | |
parent | a49b1a844febb2740c530895b32c0bb0ae7d5aa0 (diff) | |
download | otp-a8fb0d0537314f717f9ab33989a5115457c9aab0.tar.gz otp-a8fb0d0537314f717f9ab33989a5115457c9aab0.tar.bz2 otp-a8fb0d0537314f717f9ab33989a5115457c9aab0.zip |
Merge branch 'maint'
Conflicts:
erts/doc/src/erlang.xml
erts/preloaded/ebin/init.beam
lib/kernel/doc/src/os.xml
lib/stdlib/test/filename_SUITE.erl
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/filename.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/src/filename.erl b/lib/stdlib/src/filename.erl index dbfcbea4f7..870af4e95f 100644 --- a/lib/stdlib/src/filename.erl +++ b/lib/stdlib/src/filename.erl @@ -726,6 +726,8 @@ nativename(Name0) -> _ -> Name end. +win32_nativename(Name) when is_binary(Name) -> + binary:replace(Name, <<"/">>, <<"\\">>, [global]); win32_nativename([$/|Rest]) -> [$\\|win32_nativename(Rest)]; win32_nativename([C|Rest]) -> |