[parrot/parrot] df0ae5: [Coverity] Removed #include of thread.h from atomi...

noreply at github.com noreply at github.com
Sat Mar 19 14:34:22 UTC 2011


Branch: refs/heads/master
Home:   https://github.com/parrot/parrot

Commit: df0ae5e0a9c3ab98a668d477be2a074968acf37e
    https://github.com/parrot/parrot/commit/df0ae5e0a9c3ab98a668d477be2a074968acf37e
Author: Bruce Gray <bruce.gray at acm.org>
Date:   2011-03-19 (Sat, 19 Mar 2011)

Changed paths:
  M include/parrot/atomic.h
  M include/parrot/string.h

Log Message:
-----------
[Coverity] Removed #include of thread.h from atomic.h, and parrot.h from string.h.
These unneeded includes were causing loops (harmless in most compilers).
    Fixes Coverity defect #473: PW.INCLUDE_RECURSION in string.h
        parrot.h
            -> platform_interface.h
                -> interpreter.h
                    -> context.h
                        -> string.h
                            -> parrot.h
    Fixes Coverity defect #474: PW.INCLUDE_RECURSION in atomic.h
        thread.h
            -> atomic.h
                -> thread.h
    Fixes Coverity defect #475: PW.INCLUDE_RECURSION in parrot.h
        encoding.h
            -> parrot.h
                -> encoding.h


Commit: f83909e8e64fefe11a85c3bba78feedb3ecab5da
    https://github.com/parrot/parrot/commit/f83909e8e64fefe11a85c3bba78feedb3ecab5da
Author: Bruce Gray <bruce.gray at acm.org>
Date:   2011-03-19 (Sat, 19 Mar 2011)

Changed paths:
  M include/parrot/atomic.h
  M include/parrot/string.h

Log Message:
-----------
Merge branch 'coverity_474'


Compare: https://github.com/parrot/parrot/compare/80bcb73...f83909e


More information about the parrot-commits mailing list