From 0be2e884b1c087529f3e830a403c2f6cd69bab87 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 6 May 1988 17:03:30 +0000 Subject: [PATCH] some last-minute minor changes --- mach/proto/as/comm0.h | 4 ++-- mach/proto/as/comm4.c | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/mach/proto/as/comm0.h b/mach/proto/as/comm0.h index 6a1b21117..d828685ee 100644 --- a/mach/proto/as/comm0.h +++ b/mach/proto/as/comm0.h @@ -112,8 +112,8 @@ _include #define lowb(z) ((int)(z) & 0xFF) #define loww(z) ((int)(z) & 0xFFFF) -#define fitb(x) ((((x) + 0x80) & ~0xFF) == 0) -#define fitw(x) ((((x) + 0x8000) & ~0xFFFF) == 0) +#define fitb(x) ((((x) + 0x80) & ~(valu_t)0xFF) == 0) +#define fitw(x) ((((x) + 0x8000L) & ~0xFFFFL) == 0) #define fit(x) if (!(x)) nofit() diff --git a/mach/proto/as/comm4.c b/mach/proto/as/comm4.c index b0c058d1c..801fa0787 100644 --- a/mach/proto/as/comm4.c +++ b/mach/proto/as/comm4.c @@ -423,8 +423,14 @@ char *s; switchsect(S_UND); modulename = s; lineno = 1; - if ((sflag & (SYM_EXT|SYM_LOC|SYM_LAB)) && PASS_SYMB) - newsymb(s, S_MOD, (short)0, (valu_t)0); +#ifdef NEEDED + /* + * problem: it shows the name of the tempfile, not any name + * the user is familiar with. Moreover, it is not reproducable. + */ + if ((sflag & (SYM_EXT|SYM_LOC|SYM_LAB)) && PASS_SYMB) + newsymb(s, S_MOD, (short)0, (valu_t)0); +#endif #ifdef LISTING listtemp = 0; if (dflag & 01000) -- 2.34.1