Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion erts/preloaded/src/init.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ sleep(T) -> receive after T -> ok end.

start_prim_loader(Init, Path0, {Pa,Pz}) ->
Path = case Path0 of
false -> Pa ++ ["."|Pz];
false -> Pa ++ Pz;
_ -> Path0
end,
case erl_prim_loader:start() of
Expand Down
2 changes: 1 addition & 1 deletion lib/kernel/src/code_server.erl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ init(Ref, Parent, [Root,Mode]) ->
{ok,Dirs} = erl_prim_loader:list_dir(LibDir),
Paths = make_path(LibDir, Dirs),
UserLibPaths = get_user_lib_dirs(),
["."] ++ UserLibPaths ++ Paths;
UserLibPaths ++ Paths;
_ ->
[]
end,
Expand Down
5 changes: 5 additions & 0 deletions system/doc/general_info/upcoming_incompatibilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,8 @@ occurrences of `maybe` without quotes.

As of OTP 29, the `cprof` and `eprof` will be removed in favor of `m:tprof`
added in OTP 27.

### CWD or '.' is no longer in the path

As of OTP 29, the CWD is no longer added to the path. It can be added with
-pa '.' or -pz '.' if needed.
Loading