mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Patch #1494387: SVN longobject.c compiler warnings
The SIGCHECK macro defined here has always been bizarre, but it apparently causes compiler warnings on "Sun Studio 11". I believe the warnings are bogus, but it doesn't hurt to make the macro definition saner. Bugfix candidate (but I'm not going to bother).
This commit is contained in:
		
							parent
							
								
									c285e62d76
								
							
						
					
					
						commit
						d89fc22dc6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -40,7 +40,7 @@ static PyObject *long_format(PyObject *aa, int base, int addL);
 | 
			
		|||
#define SIGCHECK(PyTryBlock) \
 | 
			
		||||
	if (--_Py_Ticker < 0) { \
 | 
			
		||||
		_Py_Ticker = _Py_CheckInterval; \
 | 
			
		||||
		if (PyErr_CheckSignals()) { PyTryBlock; } \
 | 
			
		||||
		if (PyErr_CheckSignals()) PyTryBlock \
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
/* Normalize (remove leading zeros from) a long int object.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue