Re: [Boost-bugs] [Boost C++ Libraries] #2324: Use of tmpnam may produce spurious test results

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2324: Use of tmpnam may produce spurious test results
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-19 23:12:56


#2324: Use of tmpnam may produce spurious test results
---------------------------+------------------------------------------------
  Reporter: dave | Owner: ramey
      Type: Bugs | Status: reopened
 Milestone: Boost 1.37.0 | Component: serialization
   Version: Boost 1.36.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment(by ramey):

 when I looked into using mktemp I couldn't figure out how to use it to
 open temporary C++ stream as on fstream(?).

 mkstemp returns a file handle, and I couldn't figure out how to initialize
 a stream with the handle to an already open file. I saw no portable way
 to avoid using tmpname.

 Robert Ramey

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2324#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC