Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!nic.MR.NET!xanth!mcnc!rti!sunpix!matthew From: matthew@sunpix.UUCP ( Sun NCAA) Newsgroups: comp.sources.d Subject: Re: v17i064: Zoo archive program, Part01/10 Keywords: slight change. Message-ID: <389@greens.UUCP> Date: 8 Feb 89 20:39:28 GMT Organization: Sun Microsystems, Research Triangle Park, NC Lines: 37 After unpacking, compiling and studying the compiler "warning" messages I've got Zoo - version 2.01 up and running on Sun 3's, 4's and 386i's running SunOS 3.4, 3.5 and 4.0. Executing the 'mkbsd' script worked perfectly under SunOS 3.4 and 3.5, but the compiler complained of warning: illegal pointer combination under 4.0. The problem simply turned out to be, that the value returned from signal() under pre-4.0 was a pointer to an int. Under 4.0 it is now a pointer to a void. The fix is (take your choice): 1) Ignore the compiler warnings. The executable works perfectly dispite the warning messages (though I did get an e-mail message that his may not be correct on a Sun 4). -- or -- 2) Redefine the oldsignal declaration in comment.c, misc.c (2 declarations), zoodel.c, zooext.c, and zoopack.c from: int (*oldsignal)(); -- to -- void (*oldsignal)(); Thats all folks!! -- Matthew Lee Stier (919) 469-8300| Sun Microsystems --- RTP, NC 27560| "Wisconsin Escapee" uucp: {sun, rti}!sunpix!matthew |