Displaying 6 results from an estimated 6 matches for "getintmax".
Did you mean:
getuintmax
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Remove getintmax in printf
...libc/klibc.git;a=commit;h=858e50330e2c7834bb81095fb666fd08ff0d4869
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 27 Oct 2014 16:04:44 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [BUILTIN] Remove getintmax in printf
This patch removes getintmax and moves its functionality into
getuintmax in order to reduce code duplication.
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 | 45 +++++++++++------...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Remove getintmax in printf
...libc.git;a=commit;h=bdfdde71b9ec8f4678f498445d38f5361bb08138
Author: Herbert Xu <herbert at gondor.apana.org.au>
AuthorDate: Mon, 27 Oct 2014 16:04:44 +0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [BUILTIN] Remove getintmax in printf
[ dash commit 33b1ccbdab76baf9acad6f57d7e7a18e74c02cca ]
This patch removes getintmax and moves its functionality into
getuintmax in order to reduce code duplication.
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
[bwh: Adjust context for klibc]
Signed-off-by: Ben Hut...
2004 Aug 13
1
[PATCH] make spotless update
make spotless leaves 2 generated files.
diff -purN klibc-0.159.orig/klibc/Makefile klibc-0.159/klibc/Makefile
--- klibc-0.159.orig/klibc/Makefile 2004-08-03 23:07:05.000000000 +0200
+++ klibc-0.159/klibc/Makefile 2004-08-13 22:23:35.696699671 +0200
@@ -156,6 +156,7 @@ clean: archclean
rm -f sha1hash errlist.c
spotless: clean
+ rm -f include/klibc/havesyscall.h syscalls.nrs
find . \( -name
2019 Jan 25
0
[klibc:update-dash] dash: Fix some cosmetic differences from upstream dash
...c
index b32b54f8..dcff0992 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -43,14 +43,14 @@
static int conv_escape_str(char *);
static char *conv_escape(char *, int *);
static int getchr(void);
+#ifdef HAVE_STRTOD
+static double getdouble(void);
+#endif
static intmax_t getintmax(void);
static uintmax_t getuintmax(void);
static char *getstr(void);
static char *mklong(const char *, const char *);
static void check_conversion(const char *, const char *);
-#ifdef HAVE_STRTOD
-static double getdouble(void);
-#endif
static int rval;
static char **gargv;
diff --git...
2020 Mar 28
0
[klibc:update-dash] dash: Fix some cosmetic differences from upstream dash
...c
index b32b54f8..dcff0992 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -43,14 +43,14 @@
static int conv_escape_str(char *);
static char *conv_escape(char *, int *);
static int getchr(void);
+#ifdef HAVE_STRTOD
+static double getdouble(void);
+#endif
static intmax_t getintmax(void);
static uintmax_t getuintmax(void);
static char *getstr(void);
static char *mklong(const char *, const char *);
static void check_conversion(const char *, const char *);
-#ifdef HAVE_STRTOD
-static double getdouble(void);
-#endif
static int rval;
static char **gargv;
diff --git...
2007 Aug 23
0
[git patch] klibc dash 0.5.4 update
...4
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -40,7 +40,7 @@
#include <string.h>
#include <unistd.h>
-static char *conv_escape_str(char *);
+static int conv_escape_str(char *);
static char *conv_escape(char *, int *);
static int getchr(void);
static intmax_t getintmax(void);
@@ -157,11 +157,12 @@ pc:
switch (ch) {
case 'b': {
- char *p = conv_escape_str(getstr());
+ int done = conv_escape_str(getstr());
+ char *p = stackblock();
*fmt = 's';
PF(start, p);
/* escape if a \c was encountered */
- if (rval & 0x...