Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!mit-eddie!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbvax!cbosgd!osu-cis!tut!paul From: paul@tut.cis.ohio-state.edu (Paul W. Placeway) Newsgroups: comp.sources.bugs Subject: Re: problems with tcsh for 4.3 Message-ID: <385@tut.cis.ohio-state.edu> Date: Fri, 9-Oct-87 16:40:51 EDT Article-I.D.: tut.385 Posted: Fri Oct 9 16:40:51 1987 Date-Received: Mon, 12-Oct-87 04:17:32 EDT References: <433@oswego.UUCP> Distribution: comp Organization: The Ohio State University Dept of Computer and Information Science Lines: 22 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)'. I really don't have the time to look < for this bug, (it doesn't do this if 4.2 code is used) so I was hoping < that someone else has encountered this error or knows how to fix it (maybe < even fixed it) and could give me some help. This is an easy one. In 4.3 csh, they re-arranged the way that builtins were indexed, so in tw.init.c, tw_add_builtins() should be: tw_add_builtins() { register struct biltins *bptr; for (bptr = bfunc; bptr < &bfunc[nbfunc]; bptr++) { */ /* for 4.3 csh */ /* for (bptr = bfunc; bptr->bname; bptr++) { */ /* for 4.2 csh */ tw_add_comm_name (bptr->bname); } } -- -- Paul Placeway ...!cbosgd!osu-cis!tut!paul paul@ohio-state.arpa, paul@cis.ohio-state.edu