[parrot/parrot] e4c235: Change deprecated calls to use the new version

GitHub noreply at github.com
Thu Jan 1 17:54:10 UTC 2015


  Branch: refs/heads/smoke-me/attributes-gh1163
  Home:   https://github.com/parrot/parrot
  Commit: e4c235f3575844100a1a8b2bde652622fdc19def
      https://github.com/parrot/parrot/commit/e4c235f3575844100a1a8b2bde652622fdc19def
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-01 (Thu, 01 Jan 2015)

  Changed paths:
    M compilers/imcc/debug.c
    M compilers/imcc/main.c
    M compilers/imcc/parser_util.c
    M examples/c/pbc_info.c
    M frontend/pbc_dump/main.c
    M frontend/pbc_dump/packdump.c
    M frontend/pbc_merge/main.c
    M include/parrot/compiler.h
    M include/parrot/packfile.h
    M src/debug.c
    M src/disassemble.c
    M src/dynoplibs/io.ops
    M src/dynpmc/pccmethod_test.pmc
    M src/embed/bytecode.c
    M src/exceptions.c
    M src/ops/core_ops.c
    M src/ops/io.ops
    M src/packfile/api.c
    M src/packfile/segments.c
    M src/pmc/capture.pmc
    M src/pmc/handle.pmc
    M src/pmc/hash.pmc
    M src/pmc/imageiofreeze.pmc
    M src/pmc/imageiothaw.pmc
    M src/pmc/packfile.pmc
    M src/pmc/packfiledirectory.pmc
    M src/runcore/cores.c
    M src/runcore/trace.c
    M src/string/sprintf.c
    M src/warnings.c

  Log Message:
  -----------
  Change deprecated calls to use the new version

Fixed instances of: PackFile_new, PackFile_destroy, Parrot_io_putps, Parrot_io_open_handle,
  Parrot_io_close_handle, Parrot_io_readline, PackFile_unpack, Parrot_io_flush_handle,
  Parrot_io_puts

Add Parrot_pf_unpack.
Also fix some format strings.


  Commit: df5a1fab01d4faf890aef7e8b583bda9b1e8da5e
      https://github.com/parrot/parrot/commit/df5a1fab01d4faf890aef7e8b583bda9b1e8da5e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-01 (Thu, 01 Jan 2015)

  Changed paths:
    M src/dynoplibs/Rules.in

  Log Message:
  -----------
  [codingsstd] add a new make dependency for dynoplibs/io_ops


  Commit: 55ed0eb38b32e5e30d29a74f1a3d44fb4acad44f
      https://github.com/parrot/parrot/commit/55ed0eb38b32e5e30d29a74f1a3d44fb4acad44f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-01 (Thu, 01 Jan 2015)

  Changed paths:
    M frontend/pbc_dump/packdump.c
    M src/debug.c
    M src/dynpmc/pccmethod_test.pmc
    M src/io/api.c
    M src/string/sprintf.c
    M src/warnings.c
    M t/tools/dev/headerizer/01_functions.t

  Log Message:
  -----------
  [codingstd] more codingstd fixes for the latest changes


  Commit: f42ffd9d46cb93bedc180d441f22f905c6ad78d2
      https://github.com/parrot/parrot/commit/f42ffd9d46cb93bedc180d441f22f905c6ad78d2
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2015-01-01 (Thu, 01 Jan 2015)

  Changed paths:
    M config/auto/attributes/test_c.in
    M include/parrot/compiler.h
    M include/parrot/scheduler.h
    M src/ops/core.ops
    M src/ops/core_ops.c
    M src/scheduler.c

  Log Message:
  -----------
  [core] fix wrong returns_null for cx_check_scheduler

The branch op checks the result of cx_check_scheduler == 0.
Only gcc removed this branch because of the returns_null attribute.

Fix the attribute and check against NULL.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64459
and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64463


Compare: https://github.com/parrot/parrot/compare/3a3d78559fa1...f42ffd9d46cb


More information about the parrot-commits mailing list