/[projet1]/public/pc/tools/osdk/main/common/sources/common.cpp
Defence Force logotype

Diff of /public/pc/tools/osdk/main/common/sources/common.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1305 by dbug, Sun May 11 09:59:38 2014 UTC revision 1306 by dbug, Thu Oct 22 19:04:48 2015 UTC
# Line 107  bool LoadFile(const char* pcFileName,voi Line 107  bool LoadFile(const char* pcFileName,voi
107    if (read(nHandle,pcBuffer,cBufferSize)!=(int)cBufferSize)    if (read(nHandle,pcBuffer,cBufferSize)!=(int)cBufferSize)
108    {    {
109      free(pcBuffer);      free(pcBuffer);
110        close(nHandle);
111      return false;      return false;
112    }    }
113    close(nHandle);    close(nHandle);
# Line 355  ArgumentParser::ArgumentParser(int argc, Line 356  ArgumentParser::ArgumentParser(int argc,
356    m_argv(argv),    m_argv(argv),
357    m_first_param(1),    m_first_param(1),
358    m_nb_arg(-1),    m_nb_arg(-1),
359    m_remaining_argc(argc)    m_remaining_argc(argc),
360      m_ptr_arg(0)
361  {  {
362    assert(argc>=1);    assert(argc>=1);
363    

Legend:
Removed from v.1305  
changed lines
  Added in v.1306

  ViewVC Help
Powered by ViewVC 1.1.26