diff hgext3rd/__init__.py @ 38190:1ec4cb8cbc87 stable

mpatch: introduce a safeadd() helper to work around UB int overflow We're about to make extensive use of this. This change duplicates some stdbool.h portability hacks from cext/util.h. We should probably clean that up in the future, but we'll skip that for now in order to make security backports easier.
author Augie Fackler <augie@google.com>
date Mon, 30 Apr 2018 22:13:42 -0400
parents 4b81487a01d4
children 2372284d9457
line wrap: on
line diff