Displaying 4 results from an estimated 4 matches for "a1c1e918".
Did you mean:
1c1d918
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Add printf support for format string a, A, and F
...lying printf function.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/bltin/printf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/usr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index add89095..a1c1e918 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -194,9 +194,12 @@ pc:
break;
}
#ifdef HAVE_STRTOD
+ case 'a':
+ case 'A':
case 'e':
case 'E':
case 'f':
+ case 'F':
case 'g':
case 'G...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Add printf support for format string a, A, and F
...ff-by: Herbert Xu <herbert at gondor.apana.org.au>
[bwh: Adjust context for klibc]
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/dash/bltin/printf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/usr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index add89095..a1c1e918 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -194,9 +194,12 @@ pc:
break;
}
#ifdef HAVE_STRTOD
+ case 'a':
+ case 'A':
case 'e':
case 'E':
case 'f':
+ case 'F':
case 'g':
case 'G...
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Handle embedded NULs correctly in printf
...n/printf.c | 80 ++++++++++++++++++++++++++++++++++++-----------
usr/dash/output.c | 82 ++++++++++++++++++++++++++++++++-----------------
usr/dash/output.h | 3 ++
3 files changed, 118 insertions(+), 47 deletions(-)
diff --git a/usr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index a1c1e918..d49d4454 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -40,7 +40,7 @@
#include <string.h>
#include <unistd.h>
-static int conv_escape_str(char *);
+static int conv_escape_str(char *, char **);
static char *conv_escape(char *, int *);
static int getchr(v...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Handle embedded NULs correctly in printf
...n/printf.c | 80 ++++++++++++++++++++++++++++++++++++-----------
usr/dash/output.c | 82 ++++++++++++++++++++++++++++++++-----------------
usr/dash/output.h | 3 ++
3 files changed, 118 insertions(+), 47 deletions(-)
diff --git a/usr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index a1c1e918..d49d4454 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -40,7 +40,7 @@
#include <string.h>
#include <unistd.h>
-static int conv_escape_str(char *);
+static int conv_escape_str(char *, char **);
static char *conv_escape(char *, int *);
static int getchr(v...