[ruby-cvs:52034] glass:r44889 (trunk): * configure.in: check qsort_r(3) and whether it is GNU version.

glass at ruby-lang.org glass at ruby-lang.org
Sat Feb 8 21:50:29 JST 2014


glass	2014-02-08 21:50:28 +0900 (Sat, 08 Feb 2014)

  New Revision: 44889

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

  Log:
    * configure.in: check qsort_r(3) and whether it is GNU version.
      BSD version has different prototype.
    
    * util.h: use qsort_r() as ruby_qsort() if it is GNU version.
    
    * util.c: define ruby_qsort() if needed.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
    trunk/include/ruby/util.h
    trunk/util.c


More information about the ruby-cvs mailing list