Roxen.git / server / tools / ntroxen / startdll / cmdline.cpp

version» Context lines:

Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1:   // cmdline.cpp: implementation of the CCmdLine class.   // - // $Id: cmdline.cpp,v 1.24 2011/01/20 17:23:46 mast Exp $ + // $Id$   //   //////////////////////////////////////////////////////////////////////      #include "stdafx.h"   #include "startdll.h"   #include "cmdline.h"   #include "roxen.h"   #include "enumproc.h"      #ifdef _DEBUG
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1030:    type = eArgPike;    return 1;    }       //'--no-threads'|'--without-threads'|'--disable-threads')    // DEFINES="`echo $DEFINES | sed -e 's/-DENABLE_THREADS//g'`"    if (Match(*argv, "--no-threads", NULL, NULL) ||    Match(*argv, "--without-threads", NULL, NULL) ||    Match(*argv, "--disable-threads", NULL, NULL) )    { -  m_saPikeDefines.Remove("-DENABLE_THREADS"); +  OutputLine(hOut, "Thread support not optional -- ignoring " + *argv);    type = eArgPike;    return 1;    }       //'--with-profile'|'--profile')    // DEFINES="-DPROFILE $DEFINES"    if (Match(*argv, "--profile", NULL, NULL) ||    Match(*argv, "--with-profile", NULL, NULL) )    {    m_saPikeDefines.Add("-DPROFILE");
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1361:    }       // This must be after anything that changes the PikeDefines    if (m_bCheckVersion)    {    if (CRoxen::CheckVersionChange())    {    m_saRoxenArgs.AddIfNew("--remove-dumped");    HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);    if (m_iVerbose >= 1) -  OutputLine(hOut, " : Removing old precompiled files (defines or pike version changed)"); +  OutputLine(hOut, " : Removing old precompiled files (defines or pike version changed)");    }    }   }         BOOL CCmdLine::Parse(char * cmdline)   {    int numargs;    int numchars;   
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1503:    // Make sure that mysql is not running    KillMySql(m_ConfigDir.c_str());       SetEnvironmentVariable("COPYCMD", "/Y");    system("rmdir /Q /S ..\\var\\test_config >NUL:");       std::string setupCmd = m_SelfTestDir + "\\scripts\\setup.pike";    DWORD attr = GetFileAttributes(setupCmd.c_str());    if (attr != -1 && !(attr & FILE_ATTRIBUTE_DIRECTORY))    { +  setupCmd += stracat(" ", m_saPikeDefines.GetList());    setupCmd += " " + selfTestDirUnx + " ../var";    CRoxen::RunPike(setupCmd.c_str());    }       }    //OutputLineFmt(hOut, ".BSelfTest argument: %sB.", argv[i]);    break;       case eArgHelp:    // No extra handling here