Path: utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!augean.oz.au!mpope From: mpope@augean.oz.au (Michael T Pope) Newsgroups: gnu.g++.lib.bug Subject: File::File Message-ID: <8907131219.8985@munnari.oz.au> Date: 14 Jul 89 03:48:05 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 15 (G++/Gcc/Libg++ 1.35, Sun 4, SunOS 3.x) The a_createonly argument to File::File fails due to bad arguments to open() in File.cc--- O_EXCL needs O_CREAT as well. Fix by either converting File.cc:94 to--- sa_createonly = O_CREAT|O_EXCL or File.cc:112 to--- case a_createonly: return arg | sa_create | sa_createonly; ---whichever makes best sense. Cheers, Mike Pope