You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: name the emulator directory by its ERTS version
remove/1's doc said the command deletes erts-<vsn>, using the same vsn as its
release-version argument. do_remove_release/4 reads erts_vsn out of the
release record and removes erts-<EVsn> only when no remaining release refers
to that emulator - and the two numbers are unrelated, normally different ones:
a release at 0.1.1 may be carrying erts-16.2. So the doc named a directory
that generally does not exist.
The same placeholder was reused in five other places where it sits beside
lib/<app>-<vsn> and so reads as the same version, including the ERTS guard's
own refusal message, which ships. All now say erts-<erts_vsn>. The synthetic
release fixture's erts-<vsn>/bin is left alone: there is no adjacent
lib/<app>-<vsn> and the version genuinely is the emulator's.
The whole-message assertion in erts_guard_test failed on the reword, which is
what it is for - the message has been wrong three times about what it can
claim, so changing it deliberately means editing that test deliberately.
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments