[PATCH 13 of 14] chg: extra the logic opening current directory to opencwdx()

Yuya Nishihara yuya at tcha.org
Wed Apr 13 11:28:37 EDT 2016


On Mon, 11 Apr 2016 00:57:30 +0100, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1460332228 -3600
> #      Mon Apr 11 00:50:28 2016 +0100
> # Node ID 58ea17bb6caad0e680f23473b37f68c03c546146
> # Parent  a4651e43ceb70c27db15ebe43950e9a788192096
> chg: extra the logic opening current directory to opencwdx()

Looks good, please resend with V2.

>  void fchdirx(int dirfd);
>  void fsetcloexec(int fd);
> +int opencwdx();
>  void *mallocx(size_t size);
>  void *reallocx(void *ptr, size_t size);

OT: Maybe we can sort out functions that causes hard failure. I mean
s/fsetcloexec/fsetcloexecx/.


More information about the Mercurial-devel mailing list