[parrot/parrot] 203743: Add in linebuffering logic, stolen in all it's hac...

GitHub noreply at github.com
Sat Jun 2 12:29:57 UTC 2012


  Branch: refs/heads/whiteknight/io_cleanup1
  Home:   https://github.com/parrot/parrot
  Commit: 2037433553cdb010efbc730a640d37bcd6aea4e6
      https://github.com/parrot/parrot/commit/2037433553cdb010efbc730a640d37bcd6aea4e6
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-02 (Sat, 02 Jun 2012)

  Changed paths:
    M include/parrot/io.h
    M src/dynext.c
    M src/io/api.c
    M src/io/buffer.c

  Log Message:
  -----------
  Add in linebuffering logic, stolen in all it's hacky glory from the old system. Set up block buffering on stdin and line buffering on stdout. Make sure to flush stdout on io finish so we don't lose any data if we exit without having written a final newline.


  Commit: 9bbf96d8af555011ef5d6566f93a6605272ad003
      https://github.com/parrot/parrot/commit/9bbf96d8af555011ef5d6566f93a6605272ad003
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-02 (Sat, 02 Jun 2012)

  Changed paths:
    M include/parrot/io.h
    M src/io/api.c
    M src/io/buffer.c
    M src/io/io_private.h
    M src/io/utilities.c
    M src/pmc/stringhandle.pmc

  Log Message:
  -----------
  Cleanup some buffer-related stuff. Rename the buffer flags to PIO_BF_ to separate them from the normal handle flags.


  Commit: d59461ad7e63a5f0aae8790cd74d4ae66929b4c3
      https://github.com/parrot/parrot/commit/d59461ad7e63a5f0aae8790cd74d4ae66929b4c3
  Author: Whiteknight <wknight8111 at gmail.com>
  Date:   2012-06-02 (Sat, 02 Jun 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/socket.c
    M src/io/stringhandle.c
    M src/io/utilities.c
    M src/platform/generic/io.c

  Log Message:
  -----------
  Many assorted fixes so src/io/*.c source files build without warnings (or, without known warnings). Found a few bugs in the process. Also, fixed and infinite recursion bug that showed up when I fixed some warnings.


Compare: https://github.com/parrot/parrot/compare/de4b042...d59461a


More information about the parrot-commits mailing list