Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: a.out.h Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 12 Aug 1999 13:14:54 +0900 Message-ID: Lines: 38 X-Mailer: Gnus v5.3/Emacs 19.34 In a.out.h, several equal symbols have been errneously deleted since the 1999-Aug-04 snapshot. --- winsup/include/a.out.h- Wed Aug 04 13:27:38 1999 +++ winsup/include/a.out.h Wed Aug 11 18:29:40 1999 @@ -45,10 +45,10 @@ #define LYNXCOFFMAGIC 0415 -#define I386BADMAG(x) (((x).f_magic ! I386MAGIC) \ - && (x).f_magic ! I386AIXMAGIC \ - && (x).f_magic ! I386PTXMAGIC \ - && (x).f_magic ! LYNXCOFFMAGIC) +#define I386BADMAG(x) (((x).f_magic != I386MAGIC) \ + && (x).f_magic != I386AIXMAGIC \ + && (x).f_magic != I386PTXMAGIC \ + && (x).f_magic != LYNXCOFFMAGIC) #define FILHDR struct external_filehdr #define FILHSZ 20 @@ -409,9 +409,9 @@ #define DT_FCN (2) /* function */ #define DT_ARY (3) /* array */ -#define ISPTR(x) (((x) & N_TMASK) (DT_PTR << N_BTSHFT)) -#define ISFCN(x) (((x) & N_TMASK) (DT_FCN << N_BTSHFT)) -#define ISARY(x) (((x) & N_TMASK) (DT_ARY << N_BTSHFT)) +#define ISPTR(x) (((x) & N_TMASK) == (DT_PTR << N_BTSHFT)) +#define ISFCN(x) (((x) & N_TMASK) == (DT_FCN << N_BTSHFT)) +#define ISARY(x) (((x) & N_TMASK) == (DT_ARY << N_BTSHFT)) #ifdef __cplusplus } ____ | AIST Kazuhiro Fujieda | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology