Aucbvax.4211 net.2bsd-bugs utzoo!decvax!ucbvax!dist2 Sun Oct 4 05:04:45 1981 FIX: to kernel/include/a.out.h In diff, there is a call to a macro N_BADMAG, which I found in the VAX a.out.h, but not in the supplied one. These changes should be made to kernel/include/a.out.h: diff kernel/include/a.out.h.old kernel/include/a.out.h: 23a24,36 > /* > * Macros which take exec structures as arguments and tell whether > * the file has a reasonable magic number or offsets to text|symbols. > */ > #define N_BADMAG(x) \ > (((x).a_magic)!=A_MAGIC1 && ((x).a_magic)!=A_MAGIC2 && \ > ((x).a_magic)!=A_MAGIC3 && ((x).a_magic)!=A_MAGIC4 && \ > ((x).a_magic)!=A_MAGIC5 && ((x).a_magic)!=A_MAGIC6) > > #define N_TXTOFF(x) \ > ((x).a_magic==A_MAGIC5 || (x).a_magic==A_MAGIC6 ? \ > sizeof (struct ovlhdr) + sizeof (struct exec) : sizeof (struct exec)) > They should be applied to all tapes written before 10/5/81. Carl ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.