[CMAKE/MSVC]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 18 Oct 2014 14:45:02 +0000 (14:45 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 18 Oct 2014 14:45:02 +0000 (14:45 +0000)
* Rename the lib to runtmchk. Really.
CORE-8626

svn path=/trunk/; revision=64808

reactos/lib/sdk/RunTmChk/CMakeLists.txt [deleted file]
reactos/lib/sdk/runtmchk/CMakeLists.txt [new file with mode: 0644]
reactos/lib/sdk/runtmchk/i386/_RTC_CheckEsp.S [moved from reactos/lib/sdk/RunTmChk/i386/_RTC_CheckEsp.S with 100% similarity]
reactos/lib/sdk/runtmchk/rtcapi.c [moved from reactos/lib/sdk/RunTmChk/rtcapi.c with 92% similarity]

diff --git a/reactos/lib/sdk/RunTmChk/CMakeLists.txt b/reactos/lib/sdk/RunTmChk/CMakeLists.txt
deleted file mode 100644 (file)
index 9ec1ac0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-
-list(APPEND SOURCE rtcapi.c)
-
-if(ARCH STREQUAL "i386")
-    list(APPEND ASM_SOURCE i386/_RTC_CheckEsp.S)
-endif()
-
-add_asm_files(RunTmChk_asm ${ASM_SOURCE})
-add_library(RunTmChk  ${SOURCE} ${RunTmChk_asm})
-add_dependencies(RunTmChk asm)
diff --git a/reactos/lib/sdk/runtmchk/CMakeLists.txt b/reactos/lib/sdk/runtmchk/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4b55bc3
--- /dev/null
@@ -0,0 +1,10 @@
+
+list(APPEND SOURCE rtcapi.c)
+
+if(ARCH STREQUAL "i386")
+    list(APPEND ASM_SOURCE i386/_RTC_CheckEsp.S)
+endif()
+
+add_asm_files(runtmchk_asm ${ASM_SOURCE})
+add_library(runtmchk ${SOURCE} ${runtmchk_asm})
+add_dependencies(runtmchk asm)
similarity index 92%
rename from reactos/lib/sdk/RunTmChk/rtcapi.c
rename to reactos/lib/sdk/runtmchk/rtcapi.c
index 7829451..1e9bbf5 100644 (file)
@@ -30,7 +30,6 @@ _RTC_Failure(
     void* retaddr,
     int errnum)
 {
-    DbgPrint("Invalid stack pointer value caught at %p, error %d\n", retaddr, errnum);
     __debugbreak();
 }
 
@@ -39,7 +38,6 @@ __cdecl
 _RTC_UninitUse(
     const char *_Varname)
 {
-    DbgPrint("Use of uninitialized variable %s!\n", _Varname);
     __debugbreak();
 }
 
@@ -61,7 +59,6 @@ _RTC_CheckStackVars(
         /* Check if they contain the guard bytes */
         if ((*guard1 != 0xCCCCCCCC) || (*guard2 != 0xCCCCCCCC))
         {
-            DbgPrint("Stack corruption near '%s'\n", _Fd->variables[i].name);
             __debugbreak();
         }
     }
@@ -127,4 +124,3 @@ _RTC_AllocaHelper(
         *_PAllocaInfoList = _PAllocaBase;
     }
 }
-