Author: fireball Date: Wed Nov 5 03:42:42 2008 New Revision: 37199
URL: http://svn.reactos.org/svn/reactos?rev=37199&view=rev Log: - Remove a duplicate of _i64toa, ReactOS has it for quite some time now in CRT lib.
Removed: trunk/rosapps/applications/sysutils/regexpl/CrtSupplement.c Modified: trunk/rosapps/applications/sysutils/regexpl/regexpl.rbuild
Removed: trunk/rosapps/applications/sysutils/regexpl/CrtSupplement.c URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/regex... ============================================================================== --- trunk/rosapps/applications/sysutils/regexpl/CrtSupplement.c [iso-8859-1] (original) +++ trunk/rosapps/applications/sysutils/regexpl/CrtSupplement.c (removed) @@ -1,50 +1,0 @@ -/* $Id$ - * - * Written by EA because ReactOS hasn't yet _ui64toa() - * (it's in msvcrt.dll, and not in crtdll.dll). - */ - -#include <stdlib.h> - -static -char DigitMap [] = "0123456789abcdefghijklmnopqrstuvwxyz"; - -char * -_ui64toa ( - unsigned __int64 value, - char * string, - int radix - ) -{ - int reminder = 0; - char buffer [17]; - char * w = buffer; - int len = 0; - int i = 0; - - /* Check the radix is valid */ - if ((2 > radix) || (36 < radix)) - { - return string; - } - /* Convert the int64 to a string */ - do { - reminder = (int) (value % (__int64) radix); - *(w ++) = DigitMap [reminder]; - value /= (__int64) radix; - ++ len; - - } while ((__int64) value > 0); - /* Reverse the string */ - while (i < len) - { - string [i ++] = *(-- w); - } - string [len] = '\0'; - - return string; -} - - - -/* EOF */
Modified: trunk/rosapps/applications/sysutils/regexpl/regexpl.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/regex... ============================================================================== --- trunk/rosapps/applications/sysutils/regexpl/regexpl.rbuild [iso-8859-1] (original) +++ trunk/rosapps/applications/sysutils/regexpl/regexpl.rbuild [iso-8859-1] Wed Nov 5 03:42:42 2008 @@ -26,7 +26,6 @@ <file>ShellCommandValue.cpp</file> <file>ShellCommandVersion.cpp</file> <file>ShellCommandsLinkedList.cpp</file> - <file>CrtSupplement.c</file> <file>TextHistory.cpp</file> <file>Completion.cpp</file> <file>Pattern.cpp</file>