compat/snprintf.c: clarify SNPRINTF_SIZE_CORR
Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
							parent
							
								
									f00ecbe42b
								
							
						
					
					
						commit
						d1094fdd1b
					
				|  | @ -3,7 +3,8 @@ | ||||||
| /* | /* | ||||||
|  * The size parameter specifies the available space, i.e. includes |  * The size parameter specifies the available space, i.e. includes | ||||||
|  * the trailing NUL byte; but Windows's vsnprintf expects the |  * the trailing NUL byte; but Windows's vsnprintf expects the | ||||||
|  * number of characters to write without the trailing NUL. |  * number of characters to write, and does not necessarily write the | ||||||
|  |  * trailing NUL. | ||||||
|  */ |  */ | ||||||
| #ifndef SNPRINTF_SIZE_CORR | #ifndef SNPRINTF_SIZE_CORR | ||||||
| #if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ < 4 | #if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ < 4 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Junio C Hamano
						Junio C Hamano