From: Nobuyoshi Nakada Date: 2008-07-31T16:26:47+09:00 Subject: Re: IO.pos bug? Hi, At Thu, 31 Jul 2008 10:31:24 +0900, Peņa, Botp wrote in [ruby-talk:309630]: > i seem to remember (don't know where/when) that you must not > mix low level calls like #sysread w highlevel calls like > #pos, use #read with #pos, or use #sysread w #sysseek > > but i guess we need a confirmation fr the core dev to verify > that. Nobu perhaps? You're correct, it depends on underlying libc, since 1.8 uses stdio. 1.9 has its own buffering mechanism and doesn't have that issue. -- Nobu Nakada