Path: utzoo!attcan!uunet!super!udel!rochester!rutgers!apple!voder!pyramid!prls!philabs!sbcs!root From: root@sbcs.sunysb.edu (root) Newsgroups: comp.sys.amiga.tech Subject: Re: IEEE libraries Keywords: IEEE library opencount Message-ID: <1590@sbcs.sunysb.edu> Date: 14 Sep 88 11:28:03 GMT References: <1356@percival.UUCP> <4724@cbmvax.UUCP> Distribution: na Organization: State University of New York at Stony Brook Lines: 31 In article <4724@cbmvax.UUCP>, ditto@cbmvax.UUCP (Michael "Ford" Ditto) writes: > In article <1570@sbcs.sunysb.edu> root@sbcs.sunysb.edu (root) writes: > >In article <358@boing.UUCP>, dale@boing.UUCP (Dale Luck) writes: > > I've > > seen plenty of programs do eg, more closes() than open()'s as part > > of badly written cleanup code - under systems like Unix the first > > close() sticks and the others just return a -1. > > On Unix, you can only close a file descriptor once; after that it's > gone and passing the same number to close() again is comparable to > doing a CloseLibrary(0x123456L) (i.e. "closing" an address which With the crucial difference that Unix doesn't crash and then paste up a big advertisement stating the fact to any reviewer who has the machine :-). > > Crashing the > > system (ie giving the Amiga BAD PRESS) is just bad form for > > announcing such a condition. > > So complain to the programmer who crashed the system. When a library When the machine is in eg, JP's hands we don't have this luxury. Guilt by association. > -=] Ford [=- > . . (In Real Life: Mike Ditto) > . : , ford@kenobi.cts.com Rick Spanbauer SUNY/Stony Brook