diff options
Diffstat (limited to 'cross/dasm/patches/patch-ab')
-rw-r--r-- | cross/dasm/patches/patch-ab | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/cross/dasm/patches/patch-ab b/cross/dasm/patches/patch-ab index 4ce8490d3c5..48e393cb5ac 100644 --- a/cross/dasm/patches/patch-ab +++ b/cross/dasm/patches/patch-ab @@ -1,6 +1,9 @@ -$NetBSD: patch-ab,v 1.1.1.1 2004/11/20 16:24:43 minskim Exp $ +$NetBSD: patch-ab,v 1.2 2013/04/14 01:21:17 dholland Exp $ ---- main.c.orig 1998-03-02 06:28:34.000000000 -0600 +- remove nonportable use of _fmode, whatever that was +- fix printf format for LP64 platforms + +--- main.c.orig 1998-03-02 11:28:34.000000000 +0000 +++ main.c @@ -199,9 +199,7 @@ nextpass: #if OlafDol @@ -12,3 +15,12 @@ $NetBSD: patch-ab,v 1.1.1.1 2004/11/20 16:24:43 minskim Exp $ Fisclear = 1; CheckSum = 0; if (FI_temp == NULL) { +@@ -568,7 +566,7 @@ cleanup(char *buf) + if (strlist) { + add += strlen(strlist->buf); + if (Xdebug) +- printf("strlist: '%s' %d\n", strlist->buf, strlen(strlist->buf)); ++ printf("strlist: '%s' %zu\n", strlist->buf, strlen(strlist->buf)); + if (str + add + strlen(str) + 1 > buf + MAXLINE) { + if (Xdebug) + printf("str %8ld buf %8ld (add/strlen(str)): %d %ld\n", (unsigned long)str, (unsigned long)buf, add, (long)strlen(str)); |