Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-unix!ctnews!pyramid!hplabs!well!hoptoad!gnu From: gnu@hoptoad.uucp (John Gilmore) Newsgroups: comp.os.minix Subject: Re: cal(1) -- really exit(3) Message-ID: <2352@hoptoad.uucp> Date: Thu, 2-Jul-87 00:26:53 EDT Article-I.D.: hoptoad.2352 Posted: Thu Jul 2 00:26:53 1987 Date-Received: Sat, 4-Jul-87 04:30:16 EDT References: <3118@felix.UUCP> Organization: Nebula Consultants in San Francisco Lines: 13 zemon@felix.UUCP (Art Zemon) wrote: > Andy Tanenbaum posted source code for cal(1) a few weeks > ago, adding that the posted program did not work. The only > thing required to make it work is to add the line > _cleanup(); > before every call to exit(). Wouldn't it be easier to replace the supplied exit() with one that worked, e.g. that implemented onexit(), so stdio could get its buffers flushed without rewriting every program? -- {dasys1,ncoast,well,sun,ihnp4}!hoptoad!gnu gnu@ingres.berkeley.edu Alt.all: the alternative radio of the Usenet. Contributions welcome - post 'em