Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site cvl.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!rlgvax!cvl!jcw From: jcw@cvl.UUCP (Jay C. Weber) Newsgroups: net.sources Subject: bug fix to XLISP Message-ID: <1257@cvl.UUCP> Date: Wed, 25-Jul-84 12:21:51 EDT Article-I.D.: cvl.1257 Posted: Wed Jul 25 12:21:51 1984 Date-Received: Sat, 28-Jul-84 10:23:59 EDT Organization: U. of Md. Computer Vision Lab Lines: 24 Russ has pointed out a bug in XLISP that others may be running across. It seems that the XLISP code, "xldmem.c" in particular, counts on statics being initialized to NULL. Although that may be a problem in other parts, he has pointed out two places where it is can be fatal (Segmentation fault): $ diff xldmem.c xldmem.old 49,50c49,50 < static struct segment *segs = NULL; < static struct node *fnodes = NULL; --- > static struct segment *segs; > static struct node *fnodes; If others find bugs, I would be glad to hear about them and then post a bug fix. I asked before not to address questions to me because I knew little about the internals of the program; I wouldn't mind being in charge of bug fixes you report. Jay Weber ..!seismo!rlgvax!cvl!jcw ..!seismo!rochester!jay jay@rochester.arpa