[ruby-cvs:70754] nobu:r63663 (trunk): prefer clock_gettime

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jun 14 22:10:25 JST 2018


nobu	2018-06-14 22:10:25 +0900 (Thu, 14 Jun 2018)

  New Revision: 63663

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

  Log:
    prefer clock_gettime
    
    * configure.ac: clock_gettime or gettimeofday must exist.
    
    * process.c (rb_clock_gettime): prefer clock_gettime over
      gettimeofday, as the latter is obsolete in SUSv4.
    
    * random.c (fill_random_seed): ditto.

  Modified files:
    trunk/configure.ac
    trunk/mjit.c
    trunk/process.c
    trunk/random.c


More information about the ruby-cvs mailing list