Displaying 4 results from an estimated 4 matches for "pridmax".
Did you mean:
pid_max
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Use PRIdMAX instead of %j in printf
...=libs/klibc/klibc.git;a=commit;h=dd94c677c8f33bfbcce12b3c597bf558d60a7338
Author: Harald van Dijk <harald at gigawatt.nl>
AuthorDate: Fri, 23 Aug 2013 20:30:28 +1000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:57:21 +0000
[klibc] [BUILTIN] Use PRIdMAX instead of %j in printf
On 12/03/2012 05:59 PM, Harald van Dijk wrote:
> On 12/03/2012 08:42 AM, Roy wrote:
>> MSYS libc does not support %j[dXx] format, only %ll[dXx] is supported.
>>
>> diff --git a/src/bltin/printf.c b/src/bltin/printf.c
>> index 893295c..12ce660 1006...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Use PRIdMAX instead of %j in printf
...klibc/klibc.git;a=commit;h=a436ea0721c8d7ff6d0d9e4d46d8ae4655e8a73a
Author: Harald van Dijk <harald at gigawatt.nl>
AuthorDate: Fri, 23 Aug 2013 20:30:28 +1000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 28 Mar 2020 21:42:54 +0000
[klibc] dash: [BUILTIN] Use PRIdMAX instead of %j in printf
[ dash commit 5464ae7d9e226586b79527cb445d892177b70271 ]
On 12/03/2012 05:59 PM, Harald van Dijk wrote:
> On 12/03/2012 08:42 AM, Roy wrote:
>> MSYS libc does not support %j[dXx] format, only %ll[dXx] is supported.
>>
>> diff --git a/src/bltin/printf.c...
2020 Mar 28
0
[klibc:update-dash] dash: expand: Ensure result is escaped in cvtnum
...@@ casematch(union node *pattern, char *val)
* Our own itoa().
*/
-STATIC int
-cvtnum(intmax_t num)
+static size_t cvtnum(intmax_t num, int flags)
{
int len = max_int_length(sizeof(num));
+ char buf[len];
- expdest = makestrspace(len, expdest);
- len = fmtstr(expdest, len, "%" PRIdMAX, num);
- STADJUST(len, expdest);
- return len;
+ len = fmtstr(buf, len, "%" PRIdMAX, num);
+ return memtodest(buf, len, flags);
}
STATIC void
2012 Jul 02
0
[klibc:master] dash: sync with latest git
...e. */
#define PACKAGE_TARNAME "dash"
@@ -114,7 +111,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "0.5.6"
+#define PACKAGE_VERSION "0.5.7"
/* Define to printf format string for intmax_t */
/* #undef PRIdMAX */
@@ -154,7 +151,10 @@
/* Version number of package */
-#define VERSION "0.5.6"
+#define VERSION "0.5.7"
+
+/* Define if you build with -DWITH_LINENO */
+#define WITH_LINENO 1
/* Define to 1 if on MINIX. */
/* #undef _MINIX */