[parrot/parrot] 294f05: Finally get the read-STRING logic under control.
GitHub
noreply at github.com
Sun May 27 15:39:08 UTC 2012
Branch: refs/heads/whiteknight/io_cleanup1
Home: https://github.com/parrot/parrot
Commit: 294f056011054686a0b3cfade2427bcae5d45c5b
https://github.com/parrot/parrot/commit/294f056011054686a0b3cfade2427bcae5d45c5b
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2012-05-27 (Sun, 27 May 2012)
Changed paths:
M include/parrot/io.h
M src/io/api.c
M src/io/buffer.c
M src/io/filehandle.c
M src/io/io_private.h
M src/io/pipe.c
M src/io/utilities.c
Log Message:
-----------
Finally get the read-STRING logic under control.
Add some buffer-related helpers to read characters out of the buffer, and refuse to return incomplete codepoints. This simplifies read logic at the higher levels substantially. Use these and some other new features to (re-)implement Parrot_io_read_s and Parrot_io_readline_s. As always, a few other miscellaneous cleanups peppered throughout
More information about the parrot-commits
mailing list