Displaying 4 results from an estimated 4 matches for "d49d4454".
Did you mean:
c4d4454
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Remove unnecessary restoration of format string in printf
...ed once. This patch gets rid of it.
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 | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index d49d4454..5cd34a19 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -209,7 +209,6 @@ pc:
if (print_escape_str(start, param, array,
getstr()))
goto out;
- *fmt = 'b';
break;
case 'c': {
int p = getchr();
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Remove unnecessary restoration of format string in printf
...ed once. This patch gets rid of it.
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 | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index d49d4454..5cd34a19 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -209,7 +209,6 @@ pc:
if (print_escape_str(start, param, array,
getstr()))
goto out;
- *fmt = 'b';
break;
case 'c': {
int p = getchr();
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Handle embedded NULs correctly in printf
...| 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(void);
#if...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Handle embedded NULs correctly in printf
...| 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(void);
#if...