fixed: compiling on Debian with GCC 4.8
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@950 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -746,7 +746,7 @@ void App::ReadGetPostVars()
|
||||
|
||||
void App::CheckIE()
|
||||
{
|
||||
char * msie = strstr(cur.request->env_http_user_agent, "MSIE");
|
||||
const char * msie = strstr(cur.request->env_http_user_agent, "MSIE");
|
||||
|
||||
if( msie )
|
||||
cur.request->browser_msie = true;
|
||||
@@ -758,7 +758,7 @@ void App::CheckIE()
|
||||
|
||||
void App::CheckKonqueror()
|
||||
{
|
||||
char * kon = strstr(cur.request->env_http_user_agent, "Konqueror");
|
||||
const char * kon = strstr(cur.request->env_http_user_agent, "Konqueror");
|
||||
|
||||
if( kon )
|
||||
cur.request->browser_konqueror = true;
|
||||
@@ -1672,6 +1672,7 @@ void App::FetchPageOnExit()
|
||||
void * App::SpecialThreadForSignals(void * app_object)
|
||||
{
|
||||
sigset_t set;
|
||||
int sig;
|
||||
|
||||
App * app = reinterpret_cast<App*>(app_object);
|
||||
|
||||
@@ -1680,7 +1681,7 @@ sigset_t set;
|
||||
sigaddset(&set, SIGINT);
|
||||
|
||||
// waiting for SIGTERM or SIGINT
|
||||
sigwait(&set, 0);
|
||||
sigwait(&set, &sig);
|
||||
|
||||
app->Lock();
|
||||
app->synchro.was_stop_signal = true;
|
||||
|
Reference in New Issue
Block a user