From 28644220497bedab1aaccbe0a7424b175a765a16 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 18 Oct 2014 14:45:02 +0000 Subject: [PATCH] [CMAKE/MSVC] * Rename the lib to runtmchk. Really. CORE-8626 svn path=/trunk/; revision=64808 --- reactos/lib/sdk/RunTmChk/CMakeLists.txt | 10 ---------- reactos/lib/sdk/runtmchk/CMakeLists.txt | 10 ++++++++++ .../sdk/{RunTmChk => runtmchk}/i386/_RTC_CheckEsp.S | 0 reactos/lib/sdk/{RunTmChk => runtmchk}/rtcapi.c | 4 ---- 4 files changed, 10 insertions(+), 14 deletions(-) delete mode 100644 reactos/lib/sdk/RunTmChk/CMakeLists.txt create mode 100644 reactos/lib/sdk/runtmchk/CMakeLists.txt rename reactos/lib/sdk/{RunTmChk => runtmchk}/i386/_RTC_CheckEsp.S (100%) rename reactos/lib/sdk/{RunTmChk => runtmchk}/rtcapi.c (92%) diff --git a/reactos/lib/sdk/RunTmChk/CMakeLists.txt b/reactos/lib/sdk/RunTmChk/CMakeLists.txt deleted file mode 100644 index 9ec1ac0474b..00000000000 --- a/reactos/lib/sdk/RunTmChk/CMakeLists.txt +++ /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 index 00000000000..4b55bc308e1 --- /dev/null +++ b/reactos/lib/sdk/runtmchk/CMakeLists.txt @@ -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) diff --git a/reactos/lib/sdk/RunTmChk/i386/_RTC_CheckEsp.S b/reactos/lib/sdk/runtmchk/i386/_RTC_CheckEsp.S similarity index 100% rename from reactos/lib/sdk/RunTmChk/i386/_RTC_CheckEsp.S rename to reactos/lib/sdk/runtmchk/i386/_RTC_CheckEsp.S diff --git a/reactos/lib/sdk/RunTmChk/rtcapi.c b/reactos/lib/sdk/runtmchk/rtcapi.c similarity index 92% rename from reactos/lib/sdk/RunTmChk/rtcapi.c rename to reactos/lib/sdk/runtmchk/rtcapi.c index 7829451dd94..1e9bbf5b35b 100644 --- a/reactos/lib/sdk/RunTmChk/rtcapi.c +++ b/reactos/lib/sdk/runtmchk/rtcapi.c @@ -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; } } -