summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-04 05:33:29 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-04 05:33:29 +0000
commitc471e19f22671662011bc8256e4f942b2ae2fa50 (patch)
treeb5297006f2bfff71b3e6cd38560d3cd51419a547
parent2ce6988e5561628095f15e755783dbca90b05dc0 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--configure.in2
-rw-r--r--win32/Makefile.sub1
3 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 48b6d5f..696a120 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sat Jan 4 14:29:52 2003 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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 <nobu.nokada@softhome.net>
* file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning.
diff --git a/configure.in b/configure.in
index 8390c11..b6bc0a0 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 8ecfdb8..12a475c 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