🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #105

File::File

#105
From: Michael T Pope
Date: Fri, 14 Jul 1989 03:48
15 lines
765 bytes
(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
Technical Details
Message-ID: <8907131219.8985@munnari.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!augean.oz.au!mpope

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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