[ruby-cvs:59977] nobu:r52824 (trunk): missing.h: explicit_bzero by memset_s

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 1 10:24:24 JST 2015


nobu	2015-12-01 10:24:23 +0900 (Tue, 01 Dec 2015)

  New Revision: 52824

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52824

  Log:
    missing.h: explicit_bzero by memset_s
    
    * include/ruby/missing.h (explicit_bzero_by_memset_s): call
      memset_s directly if available.
    
    * missing/explicit_bzero.c: optimization is not a matter if
      memset_s is available.

  Modified files:
    trunk/include/ruby/missing.h
    trunk/missing/explicit_bzero.c


More information about the ruby-cvs mailing list