Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: third_party/minicrt/charmax.c

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/minicrt/chandler4.obj ('k') | third_party/minicrt/chkstk.obj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/minicrt/charmax.c
diff --git a/third_party/minicrt/charmax.c b/third_party/minicrt/charmax.c
deleted file mode 100644
index f7252807527532268f23133f916d75a8ac18ea98..0000000000000000000000000000000000000000
--- a/third_party/minicrt/charmax.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/***
-*charmax.c - definition of _charmax variable
-*
-* Copyright (c) Microsoft Corporation. All rights reserved.
-*
-*Purpose:
-* defines _charmax
-*
-* According to ANSI, certain elements of the lconv structure must be
-* initialized to CHAR_MAX and the value of CHAR_MAX changes when
-* the user compiles -J. To reflect this change in the lconv structure,
-* we initialize the structure to SCHAR_MAX, and when any of the users
-* modules are compiled -J, the structure is updated.
-*
-* Note that this is not done for DLLs linked to the CRT DLL, because
-* we do not want such DLLs to override the -J setting for an EXE
-* linked to the CRT DLL. See comments in crtexe.c.
-*
-* Files involved:
-*
-* locale.h - if -J, generates an unresolved external to _charmax
-* charmax.c - defines _charmax and sets to UCHAR_MAX (255), places
-* _lconv_init in startup initializer table if pulled in by -J
-* lconv.c - initializes lconv structure to SCHAR_MAX (127),
-* since libraries built without -J
-* lcnvinit.c - sets lconv members to 25.
-**
-*******************************************************************************/
-
-#ifdef _MSC_VER
-
-//#include <sect_attribs.h>
-//#include <internal.h>
-
-//int __lconv_init(void);
-
-int _charmax = 255;
-
-//_CRTALLOC(".CRT$XIC") static _PIFV pinit = __lconv_init;
-
-#endif /* _MSC_VER */
« no previous file with comments | « third_party/minicrt/chandler4.obj ('k') | third_party/minicrt/chkstk.obj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698