delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/08/12/00:17:05

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
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)
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Date: 12 Aug 1999 13:14:54 +0900
Message-ID: <s1swvv1vdmp.fsf@jaist.ac.jp>
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 <fujieda AT jaist DOT ac DOT jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019