mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[libpng16] Fixed #include in filter_neon_intrinsics.c and ctype macros. The
ctype char checking macros take an unsigned char argument, not a signed char.
This commit is contained in:
		
							parent
							
								
									dee5a914fc
								
							
						
					
					
						commit
						08b0620202
					
				
							
								
								
									
										6
									
								
								ANNOUNCE
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								ANNOUNCE
									
									
									
									
									
								
							| @ -1,5 +1,5 @@ | |||||||
| 
 | 
 | ||||||
| Libpng 1.6.7rc02 - November 2, 2013 | Libpng 1.6.7rc02 - November 4, 2013 | ||||||
| 
 | 
 | ||||||
| This is not intended to be a public release.  It will be replaced | This is not intended to be a public release.  It will be replaced | ||||||
| within a few weeks by a public version or by another test version. | within a few weeks by a public version or by another test version. | ||||||
| @ -93,7 +93,9 @@ Version 1.6.7beta04 [October 26, 2013] | |||||||
| Version 1.6.7rc01 [November 2, 2013] | Version 1.6.7rc01 [November 2, 2013] | ||||||
|   No changes. |   No changes. | ||||||
| 
 | 
 | ||||||
| Version 1.6.7rc02 [November 2, 2013] | Version 1.6.7rc02 [November 4, 2013] | ||||||
|  |   Fixed #include in filter_neon_intrinsics.c and ctype macros. The ctype char | ||||||
|  |     checking macros take an unsigned char argument, not a signed char. | ||||||
| 
 | 
 | ||||||
| Send comments/corrections/commendations to png-mng-implement at lists.sf.net | Send comments/corrections/commendations to png-mng-implement at lists.sf.net | ||||||
| (subscription required; visit | (subscription required; visit | ||||||
|  | |||||||
							
								
								
									
										4
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								CHANGES
									
									
									
									
									
								
							| @ -4707,7 +4707,9 @@ Version 1.6.7beta04 [October 26, 2013] | |||||||
| Version 1.6.7rc01 [November 2, 2013] | Version 1.6.7rc01 [November 2, 2013] | ||||||
|   No changes. |   No changes. | ||||||
| 
 | 
 | ||||||
| Version 1.6.7rc02 [November 2, 2013] | Version 1.6.7rc02 [November 4, 2013] | ||||||
|  |   Fixed #include in filter_neon_intrinsics.c and ctype macros. The ctype char | ||||||
|  |     checking macros take an unsigned char argument, not a signed char. | ||||||
| 
 | 
 | ||||||
| Send comments/corrections/commendations to png-mng-implement at lists.sf.net | Send comments/corrections/commendations to png-mng-implement at lists.sf.net | ||||||
| (subscription required; visit | (subscription required; visit | ||||||
|  | |||||||
| @ -12,7 +12,7 @@ | |||||||
|  * and license in png.h |  * and license in png.h | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #include "pngpriv.h" | #include "../pngpriv.h" | ||||||
| 
 | 
 | ||||||
| /* This code requires -mfpu=neon on the command line: */ | /* This code requires -mfpu=neon on the command line: */ | ||||||
| #if PNG_ARM_NEON_IMPLEMENTATION == 1 /* intrinsics code */ | #if PNG_ARM_NEON_IMPLEMENTATION == 1 /* intrinsics code */ | ||||||
|  | |||||||
| @ -15,6 +15,7 @@ | |||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <ctype.h> | #include <ctype.h> | ||||||
|  | #include <limits.h> | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <assert.h> | #include <assert.h> | ||||||
| 
 | 
 | ||||||
| @ -908,10 +909,10 @@ emit_string(const char *str, FILE *out) | |||||||
|     */ |     */ | ||||||
| { | { | ||||||
|    for (; *str; ++str) |    for (; *str; ++str) | ||||||
|       if (isgraph(*str)) |       if (isgraph(UCHAR_MAX & *str)) | ||||||
|          putc(*str, out); |          putc(*str, out); | ||||||
| 
 | 
 | ||||||
|       else if (isspace(*str)) |       else if (isspace(UCHAR_MAX & *str)) | ||||||
|          putc('_', out); |          putc('_', out); | ||||||
|     |     | ||||||
|       else |       else | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 John Bowler
						John Bowler