mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-03 15:38:36 +00:00
applied Leonid Borisenko patch to allow -O2 and -fno-strict-aliasing CFLAGS
This commit is contained in:
@@ -83,7 +83,7 @@ void uwsgi_ini_config(char *file, struct option *long_options) {
|
||||
|
||||
char *ini_line;
|
||||
|
||||
char *section;
|
||||
char *section = "";
|
||||
char *key;
|
||||
char *val;
|
||||
|
||||
@@ -96,7 +96,9 @@ void uwsgi_ini_config(char *file, struct option *long_options) {
|
||||
colon = strchr(file, ':');
|
||||
if (colon) {
|
||||
colon[0] = 0;
|
||||
section_asked = colon+1 ;
|
||||
if (colon[1] != 0) {
|
||||
section_asked = colon+1 ;
|
||||
}
|
||||
}
|
||||
|
||||
fd = open(file, O_RDONLY);
|
||||
|
||||
@@ -2344,7 +2344,7 @@ void uwsgi_wsgi_config(char *filename) {
|
||||
PyObject *app_list;
|
||||
int ret;
|
||||
Py_ssize_t i;
|
||||
PyObject *app_mnt, *app_app;
|
||||
PyObject *app_mnt, *app_app = NULL;
|
||||
FILE *uwsgifile;
|
||||
|
||||
char *quick_callable = NULL;
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ STACKLESS=False
|
||||
PLUGINS = []
|
||||
USWALLOW=False
|
||||
UNBIT=False
|
||||
DEBUG=True
|
||||
DEBUG=False
|
||||
EMBED_PLUGINS=True
|
||||
UWSGI_BIN_NAME = 'uwsgi'
|
||||
UWSGI_PLUGIN_DIR = '.'
|
||||
|
||||
Reference in New Issue
Block a user