- Timestamp:
- Apr 5, 2024 12:32:12 PM (10 months ago)
- Location:
- trunk/src/libs/libxml2-2.12.6
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/libxml2-2.12.6/Makefile.kmk
r104106 r104180 42 42 VBox-libxml2_CFLAGS.win += -wd4305 # 'type cast' : truncation from 'xmlChar *' to 'long' 43 43 VBox-libxml2_CFLAGS.win += -wd4306 # 'type cast' : conversion from 'long' to 'void *' of greater size [TODO: check these out?] 44 VBox-libxml2_CFLAGS.win += -wd4090 # 'function': different 'const' qualifiers 45 VBox-libxml2_CFLAGS.win += -wd4047 # dwarning C4047: 'function': 'xmlMutexPtr' differs in levels of indirection from 'xmlMutexPtr *' 46 VBox-libxml2_CFLAGS.win += -wd4024 # warning C4024: 'xmlMutexLock': different types for formal and actual parameter 1 47 VBox-libxml2_CFLAGS.win += -wd4098 # warning C4098: 'xmlInitMemoryInternal': 'void' function returning a value 48 VBox-libxml2_CFLAGS.win += -wd4703 # warning C4703: potentially uninitialized local pointer variable 'nsuri' used 49 VBox-libxml2_CFLAGS.win += -wd4013 # warning C4013: 'sprintf' undefined; assuming extern returning int 44 50 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC120" 45 51 VBox-libxml2_CFLAGS.win += -wd4311 # parser.c(1346) : warning C4311: 'type cast' : pointer truncation from 'void *' to 'long' … … 63 69 debugXML.c \ 64 70 dict.c \ 65 DOCBparser.c \66 71 encoding.c \ 67 72 entities.c \ … … 73 78 legacy.c \ 74 79 list.c \ 80 nanohttp.c \ 75 81 parser.c \ 76 82 parserInternals.c \ -
trunk/src/libs/libxml2-2.12.6/catalog.c
r104106 r104180 76 76 #if defined(_WIN32) && defined(_MSC_VER) 77 77 #undef XML_XML_DEFAULT_CATALOG 78 static char XML_XML_DEFAULT_CATALOG[256] = "file://" SYSCONFDIR "/xml/catalog"; 78 //static char XML_XML_DEFAULT_CATALOG[256] = "file://" SYSCONFDIR "/xml/catalog"; 79 static char XML_XML_DEFAULT_CATALOG[256] = "file:///etc/xml/catalog"; 79 80 #if !defined(_WINDOWS_) 80 81 void* __stdcall GetModuleHandleA(const char*); -
trunk/src/libs/libxml2-2.12.6/include/libxml/xmlversion.h
r104169 r104180 271 271 * Whether iconv support is available 272 272 */ 273 #if 1273 #if 0 274 274 #define LIBXML_ICONV_ENABLED 275 275 #endif -
trunk/src/libs/libxml2-2.12.6/include/vboxconfig.h
r104106 r104180 436 436 #undef LIBXML_ICONV_ENABLED 437 437 438 #define XML_HIDDEN 439 #define ATTRIBUTE_NO_SANITIZE_INTEGER 440 #define ATTRIBUTE_NO_SANITIZE(arg) 441 #undef NAN -
trunk/src/libs/libxml2-2.12.6/libxml.h
r104169 r104180 23 23 #endif 24 24 25 #if defined(VBOX) 26 #include <vboxconfig.h> 27 #include <libxml/xmlversion.h> 28 #endif 29 30 25 31 #if defined(macintosh) 26 32 #include "config-mac.h" … … 34 40 */ 35 41 #include "config.h" 36 #include <libxml/xmlversion.h>37 #elif defined(VBOX)38 #include <vboxconfig.h>39 42 #include <libxml/xmlversion.h> 40 43 #else -
trunk/src/libs/libxml2-2.12.6/xmlmemory.c
r104106 r104180 20 20 */ 21 21 #ifdef DEBUG_MEMORY_LOCATION 22 #ifndef MEM_LIST23 #define MEM_LIST /* keep a list of all the allocated memory blocks */24 #endif22 #ifndef MEM_LIST 23 #define MEM_LIST /* keep a list of all the allocated memory blocks */ 24 #endif 25 25 #endif 26 26 … … 33 33 #include "private/threads.h" 34 34 35 static int xmlMemInitialized = 0; 35 36 static unsigned long debugMemSize = 0; 36 37 static unsigned long debugMemBlocks = 0; 37 38 static unsigned long debugMaxMemSize = 0; 38 static xmlMutex xmlMemMutex;39 static xmlMutexPtr xmlMemMutex = NULL; 39 40 40 41 void xmlMallocBreakpoint(void); … … 47 48 48 49 #if !defined(LIBXML_THREAD_ENABLED) && !defined(LIBXML_THREAD_ALLOC_ENABLED) 49 #ifdef xmlMalloc 50 #undef xmlMalloc 51 #endif 52 #ifdef xmlRealloc 53 #undef xmlRealloc 54 #endif 55 #ifdef xmlMemStrdup 56 #undef xmlMemStrdup 57 #endif 50 #ifdef xmlMalloc 51 #undef xmlMalloc 52 #endif 53 54 #ifdef xmlRealloc 55 #undef xmlRealloc 56 #endif 57 58 #ifdef xmlMemStrdup 59 #undef xmlMemStrdup 60 #endif 58 61 #endif 59 62 … … 89 92 #define ALIGN_SIZE sizeof(double) 90 93 #endif 94 91 95 #define HDR_SIZE sizeof(MEMHDR) 92 96 #define RESERVE_SIZE (((HDR_SIZE + (ALIGN_SIZE-1)) \ … … 845 849 void 846 850 xmlInitMemoryInternal(void) { 851 847 852 #ifdef VBOX 848 853 const char *breakpoint; … … 850 855 char *breakpoint; 851 856 #endif 852 #endif 857 853 858 #ifdef DEBUG_MEMORY 854 859 xmlGenericError(xmlGenericErrorContext, -
trunk/src/libs/libxml2-2.12.6/xmlschemastypes.c
r104106 r104180 36 36 #include "private/error.h" 37 37 38 #ifndef LIBXML_XPATH_ENABLED39 38 #ifndef VBOX /* Avoid warnings about redefining DEBUG */ 40 39 #define DEBUG 41 40 #endif /* !VBOX */ 42 43 41 44 42 #ifndef LIBXML_XPATH_ENABLED -
trunk/src/libs/libxml2-2.12.6/xpath.c
r104106 r104180 167 167 void 168 168 xmlInitXPathInternal(void) { 169 #if defined(NAN) && defined(INFINITY) 169 #if defined(NAN) && defined(INFINITY) && !defined(VBOX) 170 170 xmlXPathNAN = NAN; 171 171 xmlXPathPINF = INFINITY;
Note:
See TracChangeset
for help on using the changeset viewer.