• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rurban / Cpanel-JSON-XS / 505
69%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2019 12:54PM UTC
Jobs 1
Files 3
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
505

push

travis-ci

rurban
Fix JSON_TYPE_INT encoder with numeric values above 2^64 in PV slot

When PV variable was used in numeric context, perl put loose numeric value
in private IV slot. So encoder should not use private IV slot as it
contains either rounded, loose or incorrect value.

So use SvIOK() macro for checking if variable has value in public IV slot.

New test demonstrate this problem. Variable $stringified_int is not
modified, but after "do" block it has private IV slot with rounded value
and public PV slot with correct value. And because encoder used SvIOKp()
check, it got value from private IV slot where was stored rounded value.
Now after this change it does not use private IV slot, but rather public PV
slot where is stored correct unmodified value.

78 of 89 relevant lines covered (87.64%)

32.63 hits per line

Jobs
ID Job ID Ran Files Coverage
16 505.16 (COVERAGE=1 AUTHOR_TESTING=1) 09 Oct 2019 12:54PM UTC 0
87.64
Travis Job 505.16
Source Files on build 505
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #505
  • dacac416 on github
  • Prev Build on master (#503)
  • Next Build on master (#507)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc