Displaying 2 results from an estimated 2 matches for "f853e9df".
Did you mean:
f853e9d
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Handle embedded NULs correctly in printf
...stackblocksize() ? len : stackblocksize()) + 1);
- ret = xvsnprintf(s, len + 1, f, ap);
- if (ret == len)
- __outstr(s, len, dest);
- else
- dest->flags |= OUTPUT_ERR;
+ outmem(s, len, dest);
+out:
popstackmark(&smark);
}
#endif
diff --git a/usr/dash/output.h b/usr/dash/output.h
index f853e9df..c43d4937 100644
--- a/usr/dash/output.h
+++ b/usr/dash/output.h
@@ -63,6 +63,7 @@ extern struct output memout;
extern struct output *out1;
extern struct output *out2;
+void outmem(const char *, size_t, struct output *);
void outstr(const char *, struct output *);
#ifndef USE_GLIBC_STDIO
voi...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Handle embedded NULs correctly in printf
...stackblocksize() ? len : stackblocksize()) + 1);
- ret = xvsnprintf(s, len + 1, f, ap);
- if (ret == len)
- __outstr(s, len, dest);
- else
- dest->flags |= OUTPUT_ERR;
+ outmem(s, len, dest);
+out:
popstackmark(&smark);
}
#endif
diff --git a/usr/dash/output.h b/usr/dash/output.h
index f853e9df..c43d4937 100644
--- a/usr/dash/output.h
+++ b/usr/dash/output.h
@@ -63,6 +63,7 @@ extern struct output memout;
extern struct output *out1;
extern struct output *out2;
+void outmem(const char *, size_t, struct output *);
void outstr(const char *, struct output *);
#ifndef USE_GLIBC_STDIO
voi...