Merge pull request #6986 from iSevenDays/patch-11

Fix CCImage to be compatible with UNIX2003
add some comment