[ruby-cvs:59959] kosaki:r52806 (trunk): * missing/explicit_bzero.c: new file. define explicit_bzero.

kosaki at ruby-lang.org kosaki at ruby-lang.org
Tue Dec 1 05:26:15 JST 2015


kosaki	2015-12-01 05:26:13 +0900 (Tue, 01 Dec 2015)

  New Revision: 52806

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

  Log:
    * missing/explicit_bzero.c: new file. define explicit_bzero.
    * common.mk: add a rule for explicit.o.
    * configure.in: detect explicit_bzero and memset_s.
    * include/ruby/missing.h: add explicit_bzero.
    * random.c (init_randomseed): use explicit_bzero() instead of
      memset(). memset could be eliminated by compiler optimization.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/configure.in
    trunk/include/ruby/missing.h
    trunk/random.c


More information about the ruby-cvs mailing list