mirror of
				https://github.com/jart/cosmopolitan.git
				synced 2025-10-25 18:50:57 +00:00 
			
		
		
		
	
							parent
							
								
									446a1f7c5a
								
							
						
					
					
						commit
						06f9a5b627
					
				
					 34 changed files with 115 additions and 51 deletions
				
			
		|  | @ -38,6 +38,10 @@ | |||
| #include "third_party/python/Modules/_decimal/libmpdec/typearith.h" | ||||
| /* clang-format off */ | ||||
| 
 | ||||
| #if __GNUC__ >= 11 | ||||
| #pragma GCC diagnostic ignored "-Wmisleading-indentation" | ||||
| #endif | ||||
| 
 | ||||
| asm(".ident\t\"\\n\\n\
 | ||||
| libmpdec (BSD-2)\\n\ | ||||
| Copyright 2008-2016 Stefan Krah\""); | ||||
|  |  | |||
|  | @ -90,7 +90,7 @@ NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr, | |||
| static const ENCODING * | ||||
| NS(findEncoding)(const ENCODING *enc, const char *ptr, const char *end) { | ||||
| #  define ENCODING_MAX 128
 | ||||
|   char buf[ENCODING_MAX]; | ||||
|   char buf[ENCODING_MAX] = {0}; /* [jart] wut */ | ||||
|   char *p = buf; | ||||
|   int i; | ||||
|   XmlUtf8Convert(enc, &ptr, end, &p, p + ENCODING_MAX - 1); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue