mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
migrated to github
This commit is contained in:
+1
-1
@@ -3979,7 +3979,7 @@ void uwsgi_set_processname(char *name) {
|
||||
// end with \0
|
||||
memset(uwsgi.orig_argv[0] + amount + 1 + (uwsgi.max_procname - (amount)), '\0', 1);
|
||||
|
||||
#elif defined(__FreeBSD__)
|
||||
#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
if (uwsgi.procname_prefix) {
|
||||
if (!uwsgi.procname_append) {
|
||||
setproctitle("-%s%s", uwsgi.procname_prefix, name);
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
# uWSGI build system
|
||||
|
||||
uwsgi_version = '1.3'
|
||||
uwsgi_version = '1.3.1-dev'
|
||||
|
||||
import os
|
||||
import re
|
||||
@@ -87,9 +87,9 @@ def uniq_warnings(elements):
|
||||
|
||||
return new_elements
|
||||
|
||||
if uwsgi_version.endswith('-dev') and os.path.exists('%s/.hg' % os.path.dirname(os.path.abspath( __file__ ))):
|
||||
if uwsgi_version.endswith('-dev') and os.path.exists('%s/.git' % os.path.dirname(os.path.abspath( __file__ ))):
|
||||
try:
|
||||
uwsgi_version += spcall('hg tip --template "-{rev}"')
|
||||
uwsgi_version += spcall('git rev-parse --short HEAD')
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user