Thread View: gnu.g++.lib.bug
2 messages
2 total messages
Started by Michael T Pope
Fri, 14 Jul 1989 03:48
File::File
Author: Michael T Pope
Date: Fri, 14 Jul 1989 03:48
Date: Fri, 14 Jul 1989 03:48
15 lines
765 bytes
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
File::File
Author: Doug Lea
Date: Fri, 14 Jul 1989 18:18
Date: Fri, 14 Jul 1989 18:18
7 lines
635 bytes
635 bytes
Thanks. You are right that this seems necessary on SunOS anyway. On my old vax, running straight 4.3 it wasn't, but it doesn't seem to hurt either to add O_CREAT. I'll put in it. -Doug
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads