Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!unido!gmdzi!mayer From: mayer@gmdzi.gmd.de (Hans Mayer) Newsgroups: comp.windows.x Subject: Re: Sun 386i server bug Summary: Problem solved. Patch included - but not yet understood :-) Message-ID: <4366@gmdzi.gmd.de> Date: 22 Mar 91 09:57:50 GMT References: <4343@gmdzi.gmd.de> Organization: GMD, St. Augustin, F.R. Germany Lines: 22 I received a patch from Danny Backx that solves the crashing server problem (Thanks Danny!). I have applied it to my server but haven't had the time to look how it solves the problem. Maybe a server guru could comment on it. - Hans *** mifillarc.c.orig Mon Jun 25 10:40:58 1990 --- mifillarc.c Thu Jan 3 13:41:47 1991 *************** *** 253,258 **** --- 253,260 ---- k += edge->dy; edge->dx <<= 1; edge->dy <<= 1; + if (!edge->dx) goto vert; /* gross */ + if (!edge->dy) goto horz; /* gross */ miGetArcEdge(arc, edge, k, top, left); } -- Hans J. Mayer, mayer@gmdzi.gmd.de (or mayer@ddagmd11.BITNET) German National Research Center for Computer Science (GMD)