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:
parent
aed0db8bd3
commit
97fe401413
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue