Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!ames!ucbcad!ucbvax!ucsfcgl!cgl.ucsf.edu!conrad From: conrad@cgl.ucsf.edu (Conrad Huang%CGL) Newsgroups: comp.sources.bugs Subject: Re: problems with tcsh for 4.3 Message-ID: <10423@cgl.ucsf.EDU> Date: Mon, 5-Oct-87 16:43:49 EDT Article-I.D.: cgl.10423 Posted: Mon Oct 5 16:43:49 1987 Date-Received: Thu, 8-Oct-87 06:29:46 EDT References: <433@oswego.UUCP> Sender: daemon@cgl.ucsf.edu Reply-To: conrad@socrates.ucsf.edu.UUCP (Conrad Huang%CGL) Distribution: comp Organization: UCSF Computer Graphics Lab Lines: 28 In article <433@oswego.UUCP> stjohn@oswego.UUCP (David St. John) writes: >When I type a tab on the command line as the first character the tcsh gives >me a 'segmentation fault (core dump)'. There is a small bug in the tw_add_builtins() function in file tw.init.c where it passes an uninitialized pointer to another function. Here is a context diff: *** tw.init.c Fri Oct 2 14:43:03 1987 --- tw.init.old Mon Oct 5 13:53:30 1987 *************** *** 124,130 **** #ifdef OUTDEF for (bptr = bfunc; cp = bptr->bname; bptr++) { #endif ! tw_add_comm_name (bptr->bname); } } --- 124,130 ---- #ifdef OUTDEF for (bptr = bfunc; cp = bptr->bname; bptr++) { #endif ! tw_add_comm_name (cp); } } Conrad