[ros-diffs] [fireball] 34806: Jon Griffiths msvcrt: Implement ___setlc_active_func/___unguarded_readlc_active_add_func

fireball at svn.reactos.org fireball at svn.reactos.org
Sat Jul 26 13:54:55 CEST 2008


Author: fireball
Date: Sat Jul 26 06:54:54 2008
New Revision: 34806

URL: http://svn.reactos.org/svn/reactos?rev=34806&view=rev
Log:
Jon Griffiths
msvcrt: Implement ___setlc_active_func/___unguarded_readlc_active_add_func

Modified:
    trunk/reactos/dll/win32/msvcrt/msvcrt.def
    trunk/reactos/lib/sdk/crt/locale/locale.c

Modified: trunk/reactos/dll/win32/msvcrt/msvcrt.def
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/msvcrt.def?rev=34806&r1=34805&r2=34806&view=diff
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/msvcrt.def [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msvcrt/msvcrt.def [iso-8859-1] Sat Jul 26 06:54:54 2008
@@ -104,8 +104,8 @@
 ;  ___lc_collate_cp_func @99
 ;  ___lc_handle_func @100
 ;  ___mb_cur_max_func @101
-;  ___setlc_active_func @102
-;  ___unguarded_readlc_active_add_func @103
+  ___setlc_active_func @102
+  ___unguarded_readlc_active_add_func @103
   __argc @104 DATA
   __argv @105 DATA
   __badioinfo @106 DATA

Modified: trunk/reactos/lib/sdk/crt/locale/locale.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/locale/locale.c?rev=34806&r1=34805&r2=34806&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/crt/locale/locale.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/locale/locale.c [iso-8859-1] Sat Jul 26 06:54:54 2008
@@ -875,3 +875,19 @@
 {
     return MSVCRT___lc_codepage;
 }
+
+/*********************************************************************
+ *		___unguarded_readlc_active_add_func (MSVCRT.@)
+ */
+unsigned int * CDECL ___unguarded_readlc_active_add_func(void)
+{
+  return &__unguarded_readlc_active;
+}
+
+/*********************************************************************
+ *		___setlc_active_func (MSVCRT.@)
+ */
+unsigned int CDECL ___setlc_active_func(void)
+{
+  return __setlc_active;
+}



More information about the Ros-diffs mailing list