Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!pyrltd!tetrauk!rick From: rick@tetrauk.UUCP (Rick Jones) Newsgroups: comp.lang.eiffel Subject: Re: Catching signals Keywords: Patch for Eiffel 2.2B: rescue clause ignored in package Message-ID: <617@tetrauk.UUCP> Date: 25 Jul 90 10:10:59 GMT References: <375@eiffel.UUCP> <3463@goanna.cs.rmit.oz.au> Reply-To: rick@tetrauk.UUCP (Rick Jones) Organization: Tetra Ltd., Maidenhead, UK Lines: 25 In article <3463@goanna.cs.rmit.oz.au> ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes: >In article <375@eiffel.UUCP>, jp@eiffel.UUCP (Jean-Pierre Sarkis) writes: >> ... >>... sprintf(rout_nm, "%s", " "); >>... etc > >I suppose this is more of a comp.lang.c question than a comp.lang.eiffel >question, but what do the calls to sprintf() here buy you that calls to >strcpy() wouldn't? The answer is "not a lot". I re-worked the exception handling in _eiffel.c in my version (and a few of the other run-time things as well). Changing this stuff into strcpy's was one of the more trivial fixes. ISE have a copy of all my changes, so I hope they'll include them in future versions. Although I'm a devotee of Eiffel, I found the quality of the run-time C code one of the main dissapointments of the product. Hopefully it will improve. It seems to show that to get a quality implementation of the Eiffel language and environment still needs a good C programmer. There must be a moral in this somewhere ... -- Rick Jones You gotta stand for something Tetra Ltd. Maidenhead, Berks Or you'll fall for anything rick@tetrauk.uucp (...!ukc!tetrauk.uucp!rick) - John Cougar Mellencamp