[parrot/parrot] 22ad27: fix 4 more wrong PARROT_CANNOT_RETURN_NULL

GitHub noreply at github.com
Thu Jan 1 00:52:17 UTC 2015


  Branch: refs/heads/smoke-me/attributes-gh1163
  Home:   https://github.com/parrot/parrot
  Commit: 22ad271b18c18249b7134324cc2ef02395f0c714
      https://github.com/parrot/parrot/commit/22ad271b18c18249b7134324cc2ef02395f0c714
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-31 (Wed, 31 Dec 2014)

  Changed paths:
    M compilers/imcc/symreg.c
    M src/packfile/segments.c

  Log Message:
  -----------
  fix 4 more wrong PARROT_CANNOT_RETURN_NULL

where they do


  Commit: aa95bb5ea902d486fe51c9754999175fed83106b
      https://github.com/parrot/parrot/commit/aa95bb5ea902d486fe51c9754999175fed83106b
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-31 (Wed, 31 Dec 2014)

  Changed paths:
    M t/tools/dev/headerizer/01_functions.t

  Log Message:
  -----------
  [codingstd] Fix headerizer/01_functions.t

We changed the warning


  Commit: b58154a304f2a0c036aa2b3e0e779f88dcc3ab07
      https://github.com/parrot/parrot/commit/b58154a304f2a0c036aa2b3e0e779f88dcc3ab07
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-31 (Wed, 31 Dec 2014)

  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: e88b52553e2c1256d813c284cf15fa7e66c8d53f
      https://github.com/parrot/parrot/commit/e88b52553e2c1256d813c284cf15fa7e66c8d53f
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-31 (Wed, 31 Dec 2014)

  Changed paths:
    M src/dynoplibs/Rules.in

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


  Commit: 7090211d41263424c6b8ca63b6c64b02f0dd3284
      https://github.com/parrot/parrot/commit/7090211d41263424c6b8ca63b6c64b02f0dd3284
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-31 (Wed, 31 Dec 2014)

  Changed paths:
    M src/string/sprintf.c

  Log Message:
  -----------
  Parrot_vfprintf: strlen oops


  Commit: 81360753eef296cf063f73d05b6b891a90478f66
      https://github.com/parrot/parrot/commit/81360753eef296cf063f73d05b6b891a90478f66
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-31 (Wed, 31 Dec 2014)

  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: 3a3d78559fa14fb88c19162c269aa68d14501c31
      https://github.com/parrot/parrot/commit/3a3d78559fa14fb88c19162c269aa68d14501c31
  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

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.


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


More information about the parrot-commits mailing list