comparison hgext/schemes.py @ 38198:3c84493556db stable

chg: fix an undefined behavior about memcpy Spot by Wez Furlong. `memcpy(x, NULL, 0)` is undefined according to [1]. [1]: https://stackoverflow.com/questions/5243012 Differential Revision: https://phab.mercurial-scm.org/D3698
author Jun Wu <quark@fb.com>
date Wed, 06 Jun 2018 12:53:26 -0700
parents 0664be4f0c1f
children e637dc0b3b1f
comparison
equal deleted inserted replaced
38197:0a3ff7af24a9 38198:3c84493556db