From 718574aae5363c075247431362bc9206e94ed464 Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Fri, 24 Apr 2015 14:00:23 +0000 Subject: [PATCH] m.lib 1.206 (24.4.2015) - The fscanf() family failed to parse and convert %f parameters correctly if the respective number did not begin with a digit, but a decimal point. Hence ".7" would not be processed, but "0.7" would. c.lib 1.206 (24.4.2015) - Reworked the __putc() and putc() macros to reference the 'c' input parameter only once, and to be free of side-effects when tinkering with the buffer position. - isatty() had the __fd_lock() call in the wrong place, which could have led to cleanup problems later. - The close action in the stdio, socket and termios hook code now also zaps the fd pointer itself after cleaning up the file descriptor table entry. - Removed the remains of all the stack extension and stack overflow/underflow checking code. It never actually worked. The bit that does work is the stack usage measurement code, plus the bit that sets up the the custom stack according to local setting or by calling a query function. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15215 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/c.lib_rev.h | 10 +++++----- library/c.lib_rev.rev | 2 +- library/changes | 8 ++++++++ 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/library/c.lib_rev.h b/library/c.lib_rev.h index 06c85fb..e97d79b 100644 --- a/library/c.lib_rev.h +++ b/library/c.lib_rev.h @@ -1,6 +1,6 @@ #define VERSION 1 -#define REVISION 205 -#define DATE "21.8.2010" -#define VERS "c.lib 1.205" -#define VSTRING "c.lib 1.205 (21.8.2010)\r\n" -#define VERSTAG "\0$VER: c.lib 1.205 (21.8.2010)" +#define REVISION 206 +#define DATE "24.4.2015" +#define VERS "c.lib 1.206" +#define VSTRING "c.lib 1.206 (24.4.2015)\r\n" +#define VERSTAG "\0$VER: c.lib 1.206 (24.4.2015)" diff --git a/library/c.lib_rev.rev b/library/c.lib_rev.rev index 485369e..b35cfaf 100644 --- a/library/c.lib_rev.rev +++ b/library/c.lib_rev.rev @@ -1 +1 @@ -205 +206 diff --git a/library/changes b/library/changes index c764229..bbf7144 100644 --- a/library/changes +++ b/library/changes @@ -1,3 +1,11 @@ +m.lib 1.206 (24.4.2015) + +- The fscanf() family failed to parse and convert %f parameters correctly + if the respective number did not begin with a digit, but a decimal + point. Hence ".7" would not be processed, but "0.7" would. + +c.lib 1.206 (24.4.2015) + - Reworked the __putc() and putc() macros to reference the 'c' input parameter only once, and to be free of side-effects when tinkering with the buffer position.