diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-06 12:48:51 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-06 12:48:51 +0000 |
commit | a971d184ce825d22b78ca4f08564bd09857cf9a9 (patch) | |
tree | f2c4bf7ae10e5ba9edc0f7f41fc9e6b782df0314 /io.c | |
parent | 73da604dcc375a630e163c1c3942a3ffb7afb63d (diff) |
* io.c (flush_before_seek): flush before seek on any platform.
* configure.in: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -194,7 +194,6 @@ rb_io_check_closed(fptr) static void io_fflush _((FILE *, OpenFile *)); -#if NEED_IO_FLUSH_BEFORE_SEEK static OpenFile * flush_before_seek(fptr) OpenFile *fptr; @@ -204,9 +203,6 @@ flush_before_seek(fptr) } return fptr; } -#else -#define flush_before_seek(fptr) fptr -#endif #define io_seek(fptr, ofs, whence) fseeko(flush_before_seek(fptr)->f, ofs, whence) #define io_tell(fptr) ftello(flush_before_seek(fptr)->f) |