some last-minute minor changes
authorceriel <none@none>
Fri, 6 May 1988 17:03:30 +0000 (17:03 +0000)
committerceriel <none@none>
Fri, 6 May 1988 17:03:30 +0000 (17:03 +0000)
mach/proto/as/comm0.h
mach/proto/as/comm4.c

index 6a1b211..d828685 100644 (file)
@@ -112,8 +112,8 @@ _include    <signal.h>
 #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()
 
index b0c058d..801fa07 100644 (file)
@@ -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)