Path: utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!mit-eddie!bu-cs!xylogics!world!madd From: madd@world.std.com (jim frost) Newsgroups: comp.os.minix Subject: Re: POSIX Message-ID: <1989Oct26.143100.4916@world.std.com> Date: 26 Oct 89 14:31:00 GMT References: <3819@ast.cs.vu.nl> Reply-To: madd@world.UUCP (jim frost) Organization: Software Tool & Die Lines: 30 In article <3819@ast.cs.vu.nl> ast@cs.vu.nl (Andy Tanenbaum) writes: |When running the test program, I found a gross bug in Doug Gwyn's directory |package. However, if you call closedir() |with a dirp that has already been closed, closedir() assumes that dirp |points to a valid DIR I'm not certain I'd call this a directory package bug, although an attempt to trap it is certainly a feature. GIGO and all. A legitimate closedir bug is something like the one in the SysV closedir. Paraphrased: closedir(dir) DIRP *dir; { free(dir); return(close(dir->dirf)); } |If you don't like all the stupid underscores in the headers, may I |congratulate you on your good taste. Maybe we underscore-haters could |join X3J11 en masse and vote the underscore-lovers down. I'd be happy to. It's kind of annoying to have to migrate up to that top row all the time. :-) Happy hacking, jim frost software tool & die madd@std.com