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.10 2001/10/02 10:00:02 tomas Exp $ + // $Id: cmdline.cpp,v 1.11 2001/10/02 12:48:37 tomas Exp $   //   //////////////////////////////////////////////////////////////////////      #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:1362:    case eArgVersion:    // No extra handling here    //OutputLineFmt(hOut, ".BVersion argument: %sB.", argv[i]);    break;       case eArgSelfTest:    {    // Make sure that mysql is not running    KillMySql();    +  // Make sure the var directory exists +  CreateDirectory("..\\var", NULL); +     std::string selfTestDirUnx;    selfTestDirUnx.resize(m_SelfTestDir.length());    for (int i=0; i<m_SelfTestDir.length(); i++)    {    if (m_SelfTestDir[i] == '\\')    selfTestDirUnx[i] = '/';    else    selfTestDirUnx[i] = m_SelfTestDir[i];    }