From: ceriel Date: Fri, 6 May 1988 17:03:30 +0000 (+0000) Subject: some last-minute minor changes X-Git-Tag: release-5-5~3258 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0be2e884b1c087529f3e830a403c2f6cd69bab87;p=ack.git some last-minute minor changes --- 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)