Author: hyperion
Date: Thu Aug 27 21:34:19 2009
New Revision: 42957
URL:
http://svn.reactos.org/svn/reactos?rev=42957&view=rev
Log:
Add a missing include
"msc_helper" -> "rbuild_helper" in error messages
Modified:
trunk/reactos/tools/rbuild_helper/rbuild_helper.cpp
Modified: trunk/reactos/tools/rbuild_helper/rbuild_helper.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild_helper/rbuild…
==============================================================================
--- trunk/reactos/tools/rbuild_helper/rbuild_helper.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild_helper/rbuild_helper.cpp [iso-8859-1] Thu Aug 27 21:34:19
2009
@@ -27,6 +27,7 @@
#else
+#include <algorithm>
#include <functional>
#include <iterator>
#include <limits>
@@ -95,7 +96,7 @@
DWORD cchMessage = FormatMessageA
(
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_ARGUMENT_ARRAY |
FORMAT_MESSAGE_FROM_STRING,
- "msc_helper: %1!s!() failed: error %2!lu!\n",
+ "rbuild_helper: %1!s!() failed: error %2!lu!\n",
0,
0,
(LPSTR)&pszMessage,
@@ -135,7 +136,7 @@
DECLSPEC_NORETURN
void OutOfMemory()
{
- DieMessage("msc_helper: out of memory\n");
+ DieMessage("rbuild_helper: out of memory\n");
}
template<class CharT>
@@ -156,7 +157,7 @@
void push_back(TCHAR x)
{
if(x > std::numeric_limits<CharT>::max() || x <
std::numeric_limits<CharT>::min())
- DieMessage("msc_helper: invalid character in command line\n");
+ DieMessage("rbuild_helper: invalid character in command line\n");
m_arg = static_cast<CharT *>(HeapReAlloc(GetProcessHeap(), 0, m_arg, (m_argLen +
1) * sizeof(CharT)));
@@ -304,7 +305,7 @@
DWORD cchPipeName = FormatMessage
(
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_ARGUMENT_ARRAY |
FORMAT_MESSAGE_FROM_STRING,
- TEXT("\\\\.\\pipe\\msc_helper-%1!08X!-%2!08X!"),
+ TEXT("\\\\.\\pipe\\rbuild_helper-%1!08X!-%2!08X!"),
0,
0,
(LPTSTR)&m_pszPipeName,