##// END OF EJS Templates
osutil: allow disabling setprocname via a define passed to the compiler...
Kyle Lippincott -
r43231:460f8bf5 default
parent child Browse files
Show More
@@ -765,6 +765,8 b' bail:'
765
765
766 #endif /* CMSG_LEN */
766 #endif /* CMSG_LEN */
767
767
768 /* allow disabling setprocname via compiler flags */
769 #ifndef SETPROCNAME_USE_NONE
768 #if defined(HAVE_SETPROCTITLE)
770 #if defined(HAVE_SETPROCTITLE)
769 /* setproctitle is the first choice - available in FreeBSD */
771 /* setproctitle is the first choice - available in FreeBSD */
770 #define SETPROCNAME_USE_SETPROCTITLE
772 #define SETPROCNAME_USE_SETPROCTITLE
@@ -775,6 +777,7 b' bail:'
775 #else
777 #else
776 #define SETPROCNAME_USE_NONE
778 #define SETPROCNAME_USE_NONE
777 #endif
779 #endif
780 #endif /* ndef SETPROCNAME_USE_NONE */
778
781
779 #ifndef SETPROCNAME_USE_NONE
782 #ifndef SETPROCNAME_USE_NONE
780 static PyObject *setprocname(PyObject *self, PyObject *args)
783 static PyObject *setprocname(PyObject *self, PyObject *args)
General Comments 0
You need to be logged in to leave comments. Login now