General

Profile

javanthropus (Jeremy Bopp)

  • Login: javanthropus
  • Email: jeremy@bopp.net
  • Registered on: 06/25/2009
  • Last sign in: 11/01/2024

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 4 9 13

Like

Activity

11/29/2024

04:35 PM Ruby master Bug #20924: IO#readline ignores the limit argument when the encoding is UTF-32LE and the limit would split a character
Note that replacing `#readline` with `#gets` in the examples causes the issue to be seen in all Ruby versions, includ... javanthropus (Jeremy Bopp)
04:07 PM Ruby master Bug #20924 (Closed): IO#readline ignores the limit argument when the encoding is UTF-32LE and the limit would split a character
```ruby
require 'tempfile'
Tempfile.open(binmode: true, encoding: 'utf-32le') do |f|
f.write('0123456789')
...
javanthropus (Jeremy Bopp)

11/28/2024

01:45 PM Ruby master Bug #20869: IO buffer handling is inconsistent when seeking
@nobu, I just checked with a fresh build of the master branch, and the second failure case I mentioned in my previous... javanthropus (Jeremy Bopp)
01:45 PM Ruby master Bug #20919 (Open): IO#seek and IO#pos= do not clear the character buffer in some cases while transcoding
When transcoding characters, `IO#seek` and `IO#pos=` only clear the internal character buffer if `IO#getc` is called ... javanthropus (Jeremy Bopp)

11/12/2024

02:33 PM Ruby master Bug #20869: IO buffer handling is inconsistent when seeking
I found another issue while looking for more sharp edges on this, and I've opened #20889 as a result. javanthropus (Jeremy Bopp)
02:32 PM Ruby master Bug #20889 (Open): IO#ungetc and IO#ungetbyte should not cause IO#pos to report an inaccurate position
```ruby
require 'tempfile'
Tempfile.open(encoding: 'utf-8') do |f|
f.write('0123456789')
f.rewind
f.unge...
javanthropus (Jeremy Bopp)

11/08/2024

01:16 PM Ruby master Bug #20869: IO buffer handling is inconsistent when seeking
> Since io.pos (not assignment) looks mere attribute, differentiated from seek.
If not for the fact that `IO#seek`...
javanthropus (Jeremy Bopp)

11/07/2024

01:01 PM Ruby master Bug #20869: IO buffer handling is inconsistent when seeking
The documentation that was added says that `IO#tell` and `IO#pos` would clear the buffers, but they appear to have a ... javanthropus (Jeremy Bopp)

11/06/2024

04:58 PM Ruby master Bug #20869: IO buffer handling is inconsistent when seeking
Considering a parallel, the [manpage for the fseek(3) function](https://linux.die.net/man/3/fseek) clearly states tha... javanthropus (Jeremy Bopp)
03:08 PM Ruby master Bug #20869: IO buffer handling is inconsistent when seeking
I think your code change highlights another bug caused by the current behavior where `IO#pos` can report negative val... javanthropus (Jeremy Bopp)

Also available in: Atom