ruby-changes:32892
From: akr <ko1@a...>
Date: Sat, 15 Feb 2014 20:49:41 +0900 (JST)
Subject: [ruby-changes:32892] akr:r44971 (trunk): * configure.in (FILE_READEND): Don't detect it because it is not used.
akr 2014-02-15 20:49:37 +0900 (Sat, 15 Feb 2014) New Revision: 44971 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44971 Log: * configure.in (FILE_READEND): Don't detect it because it is not used. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 44970) +++ configure.in (revision 44971) @@ -2355,24 +2355,6 @@ AC_CACHE_CHECK([read buffer ptr field in https://github.com/ruby/ruby/blob/trunk/configure.in#L2355 done]) if test "$rb_cv_frptr" != "not found"; then AC_DEFINE_UNQUOTED(FILE_READPTR, $rb_cv_frptr) - - if test "$rb_cv_fcnt" = "not found"; then - AC_CACHE_CHECK([read buffer end field in FILE structures], rb_cv_frend, - [for frend in dnl - _IO_read_end dnl - bufread dnl - __bufread dnl - ; do - AC_TRY_COMPILE([#include <stdio.h> - ], - [FILE *f = stdin; char buf[256]; f->$frend = buf;], - rb_cv_frend="$frend"; break, - rb_cv_frend="not found") - done]) - if test "$rb_cv_frend" != "not found"; then - AC_DEFINE_UNQUOTED(FILE_READEND, $rb_cv_frend) - fi - fi fi if test x"$ac_cv_func_gettimeofday" != xyes; then Index: ChangeLog =================================================================== --- ChangeLog (revision 44970) +++ ChangeLog (revision 44971) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Feb 15 20:48:49 2014 Tanaka Akira <akr@f...> + + * configure.in (FILE_READEND): Don't detect it because it is not used. + Sat Feb 15 13:22:28 2014 Eric Wong <e@8...> * probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/