R. Timothy Edwards wrote: > Dear Philip, > >> Today XCircuit seg faulted when I was saving a file. It lost _all_ the >> original data and wrote a empty file in it's place. > > Not good. Yeah, I know! And my backup file is 2000 miles away. (my fault!)
>> I'm not sure which version I was using. It was built from CVS. >> >> So today I checked out the source from CVS (it reports revison >> 3.6.83), built it with tcl-enable. > > How did you get 3.6.83? I looked at the last CVS updated distribution on > opencircuitdesign.com, and it is 3.6.131! I don't know. I ran cvs -d :pserver:[EMAIL PROTECTED]:/usr/cvsroot checkout xcircuit-3.6 complied, make install, and xcircuit --version. Maybe I goofed and was in the wrong directory. I have a tgz of .83.... > >> 4856 stcount += strlen(fonts[i].psname) + 1; > > I think the problem is that line 4854 (and also about 10 lines above > that) has > > for (i = 0; i <= fontcount; i++) > > where it ought to be > > for (i = 0; i < fontcount; i++) > > Try making that change and see if it corrects the segfault. Um, maybe I'm dense - but which file should I be changing? I ran "grep -n fontfile ./*.c and didn't get any results with a line number that are close to 4854. -- Philip _______________________________________________ Xcircuit-dev mailing list [email protected] http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev
