1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Moved the address alignment test macros for memchr(), memcmp(), memcpy(),

memmove() and memset() into "string_headers.h".


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14709 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2004-08-14 11:11:01 +00:00
parent a0c638e3d6
commit a9b217d3f8
9 changed files with 31 additions and 43 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdio_vfprintf.c,v 1.3 2004-08-08 10:55:57 obarthel Exp $
* $Id: stdio_vfprintf.c,v 1.4 2004-08-14 11:11:01 obarthel Exp $
*
* :ts=4
*
@ -635,6 +635,7 @@ vfprintf(FILE * stream,const char * format, va_list arg)
char * buffer_start = buffer;
__long_double_t v;
int sign;
output_buffer = buffer_start;
@ -645,14 +646,14 @@ vfprintf(FILE * stream,const char * format, va_list arg)
else
v = va_arg(arg, double);
if(isinf(v) != 0)
if((sign = isinf(v)) != 0)
{
SHOWMSG("infinity");
strcpy(output_buffer,"Inf");
output_len = 3;
if(v < 0.0)
if(sign < 0)
SET_FLAG(format_flags,FORMATF_IsNegative);
fill_character = ' ';