[PATCH 2 of 2 V2] chg: exec pager in child process

Yuya Nishihara yuya at tcha.org
Tue Jun 14 10:13:11 EDT 2016


On Mon, 13 Jun 2016 13:33:46 +0100, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1465673149 -3600
> #      Sat Jun 11 20:25:49 2016 +0100
> # Node ID db7573f73600fe84252859a00b3e3476aeecf7c9
> # Parent  e095b9e753f7c8e729d5624891d1ea67ed18344d
> # Available At https://bitbucket.org/quark-zju/hg-draft
> #              hg pull https://bitbucket.org/quark-zju/hg-draft -r db7573f73600
> chg: exec pager in child process

Queued these, thanks.

> +		int stat = 0;
> +		pid_t ret = waitpid(pid, &stat, 0);

I've dropped &stat since NULL is allowed here.


More information about the Mercurial-devel mailing list