Skip to content

Commit

Permalink
fix running tests inside a directory with long paths
Browse files Browse the repository at this point in the history
  • Loading branch information
frazze-jobb committed Mar 6, 2025
1 parent 9538e1a commit c4d79df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stdlib/src/beam_lib.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ pread(FD, AtPos, Size) ->
filename(BB) when is_binary(BB#bb.source) ->
BB#bb.source;
filename(BB) ->
list_to_atom(BB#bb.source).
list_to_binary(BB#bb.source).

beam_filename(Bin) when is_binary(Bin) ->
Bin;
Expand Down

0 comments on commit c4d79df

Please sign in to comment.