From 2dad828a89001002da36d492d1631b2476af6756 Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 4 Jan 2003 05:33:29 +0000 Subject: * configure.in: set rb_cv_need_io_flush_between_seek=yes. * win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK. (pointed out by moriq [ruby-dev:19299]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ configure.in | 2 +- win32/Makefile.sub | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 48b6d5fe6..696a1200a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sat Jan 4 14:29:52 2003 NAKAMURA Usaku + + * configure.in: set rb_cv_need_io_flush_between_seek=yes. + + * win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK. + (pointed out by moriq [ruby-dev:19299]) + Sat Jan 4 01:33:40 2003 Nobuyoshi Nakada * file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning. diff --git a/configure.in b/configure.in index 8390c1154..b6bc0a03d 100644 --- a/configure.in +++ b/configure.in @@ -272,7 +272,7 @@ cygwin*) rb_cv_have_daylight=no ac_cv_func_setitimer=no ;; mingw*) LIBS="-lwsock32 $LIBS" - rb_cv_need_io_flush_between_rw=no + rb_cv_need_io_flush_between_rw=yes rb_cv_need_io_flush_before_seek=no ac_cv_header_a_out_h=no ac_cv_header_pwd_h=no diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 8ecfdb839..12a475c18 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -260,6 +260,7 @@ config.h: Makefile $(srcdir)/win32/Makefile.sub #define HAVE_DAYLIGHT 1 #define SETPGRP_VOID 1 #define inline __inline +#define NEED_IO_FLUSH_BETWEEN_RW 1 #define RSHIFT(x,y) ((x)>>(int)y) #define FILE_COUNT _cnt #define FILE_READPTR _ptr -- cgit