summaryrefslogtreecommitdiff
path: root/cross/dasm/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'cross/dasm/patches/patch-ab')
-rw-r--r--cross/dasm/patches/patch-ab26
1 files changed, 0 insertions, 26 deletions
diff --git a/cross/dasm/patches/patch-ab b/cross/dasm/patches/patch-ab
deleted file mode 100644
index 48e393cb5ac..00000000000
--- a/cross/dasm/patches/patch-ab
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2013/04/14 01:21:17 dholland Exp $
-
-- 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
- Localdollarindex = Lastlocaldollarindex = 0;
- #endif
-- _fmode = 0x8000;
- FI_temp = fopen(F_outfile, "w");
-- _fmode = 0;
- 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));