Discussion:
[erlang-patches] fix 'eacces' spelling errors
Mikael Pettersson
2014-12-02 18:41:52 UTC
Permalink
The return from the file module for EACCES errors is the atom 'eacces'.
Unfortunately it's easy to misspell. This patch fixes the places in otp
where it's spelled as 'eaccess' or as 'eacess'. Luckily the places are
all in comments or in documentation, not in actual code. The lines with
the 'eacess' spelling error also misspelled 'delete' so I fixed that too.

ets:tab2file/3 synthesizes 'eaccess' which seems wrong, but changing that
might break code which expects this particular atom so I'm not changing it.

Signed-off-by: Mikael Pettersson <***@gmail.com>

Links:

git fetch git://github.com/mikpe/otp.git fix-eacces-spelling

https://github.com/mikpe/otp/compare/erlang:maint...fix-eacces-spelling
https://github.com/mikpe/otp/compare/erlang:maint...fix-eacces-spelling.patch

https://github.com/erlang/otp/pull/551

Loading...