Skip to content

Commit

Permalink
adjust FIXME comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gerdr committed Mar 12, 2013
1 parent c01a0a5 commit e084eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/utilities.c
Expand Up @@ -295,8 +295,8 @@ io_read_encoded_string(PARROT_INTERP, ARGMOD(PMC *handle),
/* When we have a request with PIO_READ_SIZE_ANY, we just want a big chunk
of data. Fill the buffer up as full as it gets and read it out. */
if (char_length == PIO_READ_SIZE_ANY) {
/* FIXME: see io_readline_encoded_string() why checking against
encoding->max_bytes_per_codepoint is a bad idea
/* FIXME: checking against encoding->max_bytes_per_codepoint is a
bad idea - we never might get that many bytes
*/
if (BUFFER_USED_SIZE(buffer) < encoding->max_bytes_per_codepoint)
Parrot_io_buffer_fill(interp, buffer, handle, vtable);
Expand Down

0 comments on commit e084eba

Please sign in to comment.