Path: utzoo!attcan!uunet!super!udel!gatech!ukma!rutgers!bellcore!tness7!tness1!sugar!peter From: peter@sugar.uu.net (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: IEEE libraries Keywords: IEEE library opencount Message-ID: <2627@sugar.uu.net> Date: 14 Sep 88 10:50:09 GMT References: <1356@percival.UUCP> <4724@cbmvax.UUCP> Distribution: na Organization: Sugar Land Unix - Houston, TX Lines: 19 In article <4724@cbmvax.UUCP>, ditto@cbmvax.UUCP (Michael "Ford" Ditto) writes: > 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 > doesn't contain a library anyway). Except that it doesn't kill() your program, it just returns an error code. I just wonder why we've been so worried about making IPC safe from crazy programmers, when the system software is so dangerously open. What would it cost to use a bunch of static tables for things like file handles and libraries. Things that could be tracked. All these pointers flying around are pretty dangerous... (Marvin voice: I'm not getting you down, am I?) -- Peter da Silva `-_-' peter@sugar.uu.net Have you hugged U your wolf today?