This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/24217] New: filebuf.open call sets the error bits incorrectly


We are using filebuf.open call to open a file in readonly mode in a
multi-threaded application.  The result of the open call is checked with
is_open.  The truss log shows that the file was opened successfully giving the
file handle.  However, the application log shows that the open call failed and
that fail() was true with rdstate=4.  This behaviour is seen only after a few
minutes of application running (during which time it successfully opens the
same file).


-- 
           Summary: filebuf.open call sets the error bits incorrectly
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hemasai at yahoo dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24217


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]