[erlang-patches] fix 'eacces' spelling errors

Mikael Pettersson mikpelinux@REDACTED
Tue Dec 2 19:41:52 CET 2014


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 <mikpelinux@REDACTED>

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



More information about the erlang-patches mailing list