Path: utzoo!censor!geac!torsqnt!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!ben From: ben@hpcvlx.cv.hp.com (Benjamin Ellsworth) Newsgroups: comp.windows.x Subject: Re: R4 Athena Widget question. Message-ID: <100920180@hpcvlx.cv.hp.com> Date: 1 Mar 90 01:35:44 GMT References: <1990Feb24.002324.14813@agate.berkeley.edu> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 23 Somebody condescended to give me the genesis of this thread. To quote The problem is that Joe Blow (whoever started this thread) wrote a widget that creates a 32 meg temp file. When applications exit with "exit(0);" the destroy callback for this widget is not called, and the file is not deleted. GOOD HEAVENS! Is THAT the problem???!!!! [ ...grumble, grumble... ] Every UN*X system that I've used allows the programmer to create a file, and then unlink it from the file system. As long as it is not closed, it exists known only by the program until it exits. (The Morris worm exploited this behavior.) When the program calls exit(), the system calls clean everything up very nicely. ---- Ben "It is a poor workman who blames his tools..."