Submitter | phabricator |
---|---|
Date | Sept. 17, 2019, 10:58 p.m. |
Message ID | <differential-rev-PHID-DREV-xxfj7ek7gro77vb76pvi-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/41705/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/cext/osutil.c b/mercurial/cext/osutil.c --- a/mercurial/cext/osutil.c +++ b/mercurial/cext/osutil.c @@ -765,6 +765,8 @@ #endif /* CMSG_LEN */ +/* allow disabling setprocname via compiler flags */ +#ifndef SETPROCNAME_USE_NONE #if defined(HAVE_SETPROCTITLE) /* setproctitle is the first choice - available in FreeBSD */ #define SETPROCNAME_USE_SETPROCTITLE @@ -775,6 +777,7 @@ #else #define SETPROCNAME_USE_NONE #endif +#endif /* ndef SETPROCNAME_USE_NONE */ #ifndef SETPROCNAME_USE_NONE static PyObject *setprocname(PyObject *self, PyObject *args)