[parrot/parrot] 6ce862: [t][GH #368] Fix library search path tests

GitHub noreply at github.com
Wed Dec 19 19:56:23 UTC 2012


  Branch: refs/heads/library_path-gh368
  Home:   https://github.com/parrot/parrot
  Commit: 6ce8625848a2cd7ed5a8ed1472d6310e0bf36922
      https://github.com/parrot/parrot/commit/6ce8625848a2cd7ed5a8ed1472d6310e0bf36922
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-19 (Wed, 19 Dec 2012)

  Changed paths:
    M t/library/lib_search_path.t

  Log Message:
  -----------
  [t][GH #368] Fix library search path tests

Works ok with the next commit to fix the duplicate
call to Parrot_lib_update_paths_from_config_hash.


  Commit: 0540e535bf0b5082b50f9621871af4c3a9f2942a
      https://github.com/parrot/parrot/commit/0540e535bf0b5082b50f9621871af4c3a9f2942a
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-12-19 (Wed, 19 Dec 2012)

  Changed paths:
    M src/embed/api.c

  Log Message:
  -----------
  [GH #368] Fix duplicate library search paths

Remove the duplicate call to Parrot_lib_update_paths_from_config_hash()
from Parrot_api_set_configuration_hash().

1.
  0  Parrot_lib_update_paths_from_config_hash (interp=0x412050) at src/library.c:214
  1  0x00007ffff7ab8d35 in Parrot_gbl_set_config_hash_interpreter (interp=0x412050) at src/global_setup.c:131
  2  0x00007ffff7ab8c54 in Parrot_set_config_hash_pmc (interp=0x412050, config=PMC<Hash> = {...}) at src/global_setup.c:98
  3  0x00007ffff7a99aca in Parrot_api_set_configuration_hash (interp_pmc=0x4dcb00, confighash=0x4e9a18) at src/embed/api.c:506
  4  0x0000000000402713 in Parrot_set_config_hash (interp_pmc=0x4dcb00) at src/parrot_config.c:3870
  5  0x000000000040175c in main (argc=2, argv=0x7fffffffe6b8) at frontend/parrot2/main.c:151
2.
  0  Parrot_lib_update_paths_from_config_hash (interp=0x412050) at src/library.c:214
  1  0x00007ffff7a99ad9 in Parrot_api_set_configuration_hash (interp_pmc=0x4dcb00, confighash=0x4e9a18) at src/embed/api.c:507
  2  0x0000000000402713 in Parrot_set_config_hash (interp_pmc=0x4dcb00) at src/parrot_config.c:3870
  3  0x000000000040175c in main (argc=2, argv=0x7fffffffe6b8) at frontend/parrot2/main.c:151

Parrot_set_config_hash_pmc already calls Parrot_lib_update_paths_from_config_hash, no need to
call it again.


Compare: https://github.com/parrot/parrot/compare/fab0b0f6aefe...0540e535bf0b


More information about the parrot-commits mailing list