1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

explicit_bzero.c: fix typos

* missing/explicit_bzero.c (explicit_bzero): fix typos, probably.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-12-02 02:36:58 +00:00
parent aed0db8bd3
commit 97fe401413

View file

@ -64,9 +64,9 @@ void
explicit_bzero(void *b, size_t len)
{
/*
* volatile is not enough if compiler have a LTO (link time
* volatile is not enough if the compiler has an LTO (link time
* optimization). At least, the standard provides no guarantee.
* However, gcc and major other compiler never optimize a volatile
* However, gcc and major other compilers never optimize a volatile
* variable away. So, using volatile is practically ok.
*/
volatile char* p = (volatile char*)b;