Displaying 3 results from an estimated 3 matches for "priumax".
Did you mean:
primax
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Use PRIdMAX instead of %j in printf
...sr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index dcff0992..add89095 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -320,16 +320,24 @@ out:
static char *
mklong(const char *str, const char *ch)
{
+ /*
+ * Replace a string like "%92.3u" with "%92.3"PRIuMAX.
+ *
+ * Although C99 does not guarantee it, we assume PRIiMAX,
+ * PRIoMAX, PRIuMAX, PRIxMAX, and PRIXMAX are all the same
+ * as PRIdMAX with the final 'd' replaced by the corresponding
+ * character.
+ */
+
char *copy;
size_t len;
- len = ch - str + 3;
+ len = ch - str + size...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Use PRIdMAX instead of %j in printf
...sr/dash/bltin/printf.c b/usr/dash/bltin/printf.c
index dcff0992..add89095 100644
--- a/usr/dash/bltin/printf.c
+++ b/usr/dash/bltin/printf.c
@@ -320,16 +320,24 @@ out:
static char *
mklong(const char *str, const char *ch)
{
+ /*
+ * Replace a string like "%92.3u" with "%92.3"PRIuMAX.
+ *
+ * Although C99 does not guarantee it, we assume PRIiMAX,
+ * PRIoMAX, PRIuMAX, PRIxMAX, and PRIXMAX are all the same
+ * as PRIdMAX with the final 'd' replaced by the corresponding
+ * character.
+ */
+
char *copy;
size_t len;
- len = ch - str + 3;
+ len = ch - str + size...
2004 Jan 14
2
Remap not enabled on some builds...
Hi-
Here at Columbia Unix Systems Group we experienced difficulty getting
tftpd-hpa to build on certain systems (including Debian Woody), and
after investigation, my officemate Lev discovered that it is a problem
with the autoconf script, not the source code for the
application itself. Perhaps others will be helped by this info...
Good luck!
Erik Dykema
Sent by lev at columbia.edu on