mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	magic number changes of CR/LF are swapped
This commit is contained in:
		
							parent
							
								
									8c89a6fdc7
								
							
						
					
					
						commit
						c388068431
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -48,7 +48,9 @@ extern int verbose; /* Defined in pythonrun.c */
 | 
			
		|||
extern long getmtime(); /* In getmtime.c */
 | 
			
		||||
 | 
			
		||||
/* Magic word to reject .pyc files generated by other Python versions */
 | 
			
		||||
#define MAGIC 0x999903L /* Increment by one for each incompatible change */
 | 
			
		||||
/* Increment by one for each incompatible change */
 | 
			
		||||
/* MPW swaps CR and LF, so their value is incorporated as well */
 | 
			
		||||
#define MAGIC (0x999903L ^ (('\n'^10L)<<16) ^ (('\r'^13L)<<8))
 | 
			
		||||
 | 
			
		||||
object *import_modules; /* This becomes sys.modules */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue