mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- <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
12 lines
522 B
Plaintext
12 lines
522 B
Plaintext
c.lib 1.175 (10.9.2004)
|
|
|
|
- The timeval definition in <sys/time.h> can now be used without
|
|
having to include <exec/types.h> and <devices/timer.h>. Just
|
|
define the __USE_CLIB2_TIMEVAL preprocessor symbol. However,
|
|
this is intended only for code which for certain reasons cannot
|
|
include these header files. Don't use this approach if your
|
|
code may include <devices/timer.h> at some point.
|
|
|
|
- The sprintf() function family did not properly terminate the
|
|
output string if the format string itself was empty. Fixed.
|