in reply to Re: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001
in thread perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001

Thanks, I should have known better (I even thought, sure, I'm the first to discover this bug since 1987)

It appears seekdir/telldir returns length + 1

Happy holidays

  • Comment on Re^2: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001

Replies are listed 'Best First'.
Re^3: perlbug: seekdir/readdir broken on win32 on 5.008009, 5.012002, 5.014001
by Anonymous Monk on Nov 27, 2011 at 10:11 UTC

    I see now where I was confused, I was thinking in terms of readline, IO::Dir/FIRSTKEY/NEXTKEY, and I confused seek for being line-oriented

    All this, and I'm not tired or under the influence, go figure :)