OSDN Git Service

Merge with stable
authorsdottaka <sdottaka@users.sourceforge.net>
Wed, 18 Feb 2015 07:00:20 +0000 (16:00 +0900)
committersdottaka <sdottaka@users.sourceforge.net>
Wed, 18 Feb 2015 07:00:20 +0000 (16:00 +0900)
1  2 
Src/Merge.vcxproj
Src/MergeCmdLineInfo.cpp
Src/MergeDoc.cpp
Src/Plugins.cpp
Src/TempFile.cpp
Src/VSSHelper.cpp

        <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='UnicodeRelease|x64'">NotUsing</PrecompiledHeader>\r
        <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>\r
        <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='UnicodeDebug|x64'">NotUsing</PrecompiledHeader>\r
+       <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug Unicode + Code Analysis|x64'">NotUsing</PrecompiledHeader>\r
      </ClCompile>\r
 +    <ClCompile Include="Common\SplitterWndEx.cpp">\r
 +    </ClCompile>\r
      <ClCompile Include="Common\StatLink.cpp">\r
      </ClCompile>\r
      <ClCompile Include="StdAfx.cpp">\r
Simple merge
Simple merge
diff --cc Src/Plugins.cpp
Simple merge
@@@ -177,23 -177,12 +177,19 @@@ static bool CleanupWMtempfolder(const v
                        tempfolderPID = foldername.substr(_tcslen(TempFolderPrefix));
  
                        // Check if this instance of WM is still running
 -                      if (!WMrunning(processIDs, _ttoi (tempfolderPID.c_str())))
 +                      try
 +                      {
 +                              int pid = string_stoi(tempfolderPID);
 +                              if (!WMrunning(processIDs, pid))
 +                              {
 +                                      tempfolderPID = paths_ConcatPath(paths_GetParentPath(pattern), ff.cFileName); 
 +                                      if (res = ClearTempfolder(tempfolderPID))
-                                       {
-                                               if (!res)
-                                                       break;
 +                                              bok = !!FindNextFile(h, &ff) ;
-                                       }
 +                                      continue;
 +                              }
 +                      }
 +                      catch (...)
                        {
 -                              tempfolderPID = paths_ConcatPath(paths_GetParentPath(pattern), ff.cFileName); 
 -                              if (res = ClearTempfolder(tempfolderPID))
 -                                      bok = !!FindNextFile(h, &ff) ;
 -                              continue;
                        }
                }
                bok = !!FindNextFile(h, &ff) ;
Simple merge