[PATCH 2 of 4 V3] chg: implement validate in hgclient
Jun Wu
quark at fb.com
Sun Mar 6 12:57:28 UTC 2016
On 03/06/2016 11:07 AM, Yuya Nishihara wrote:
> I found unpackcmdargsnul() do the same job. Perhaps we can use it if we take
> the original free-by-caller design. Though it won't be nice to expose an
> internally-allocated buffer, it will be simple as there is the function.
The behavior is a bit different when the buffer has "\0\0". I will use it and
make sure it's not free by caller.
More information about the Mercurial-devel
mailing list