mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
c.lib 1.175 (10.9.2004)
- <stdarg.h> now tries to use the compiler supplied, machine specific <stdarg.h> file and also includes the OS4-specifc <sys/amigaos-va.h> file, if necessary. - Added another test to <sys/time.h> to check if the "timeval" definition is already in place. If it is, <exec/types.h> will not be included. - <sys/time.h> can be made to define the timeval data structure locally if the __USE_CLIB2_TIMEVAL preprocessor symbol is defined. In this case no <exec/types.h> or <devices/timer.h> file will be read. - The sprintf() family did not properly handle empty strings as format specifications. This would result in a necessary buffer flush action getting skipped, which consequently did not put the string termination character into the output buffer. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14723 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdio_puts.c,v 1.1.1.1 2004-07-26 16:31:40 obarthel Exp $
|
||||
* $Id: stdio_puts.c,v 1.2 2004-09-10 07:39:19 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -94,7 +94,7 @@ puts(const char *s)
|
||||
|
||||
out:
|
||||
|
||||
/* Note: if buffering is disabled for this stdout, then we still
|
||||
/* Note: if buffering is disabled for this stream, then we still
|
||||
may have buffered data around, queued to be printed right now.
|
||||
This is intended to improve performance as it takes more effort
|
||||
to write a single character to a file than to write a bunch. */
|
||||
|
||||
Reference in New Issue
Block a user