diff hgext/journal.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 9954d0e2ad00
children dea771e63c3c
line wrap: on
line diff