Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67439 - trunk/libs/serialization/test
From: ramey_at_[hidden]
Date: 2010-12-23 17:34:56


Author: ramey
Date: 2010-12-23 17:34:54 EST (Thu, 23 Dec 2010)
New Revision: 67439
URL: http://svn.boost.org/trac/boost/changeset/67439

Log:
shorten names of temporary files
Text files modified:
   trunk/libs/serialization/test/test_tools.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/serialization/test/test_tools.hpp
==============================================================================
--- trunk/libs/serialization/test/test_tools.hpp (original)
+++ trunk/libs/serialization/test/test_tools.hpp 2010-12-23 17:34:54 EST (Thu, 23 Dec 2010)
@@ -92,7 +92,7 @@
             // (C) Copyright 2010 Dean Michael Berris. <mikhailberis_at_[hidden]>
             // Instead of using std::tmpnam, we use Boost.Filesystem's unique_path
             boost::filesystem::path tmp_path =
- boost::filesystem::unique_path("%%%%%%%%%%%%%%%%%%%%%%%%%%%%");
+ boost::filesystem::unique_path("%%%%%");
             std::strcat(ibuffer, tmp_path.string().c_str());
             chdir(old_dir);
         }
@@ -144,7 +144,7 @@
         if (name[0] == 0) {
             boost::filesystem::path tempdir(tmpdir());
             boost::filesystem::path tempfilename =
- boost::filesystem::unique_path("serialization-%%%%%%%%%%%%%%%%");
+ boost::filesystem::unique_path("serialization-%%%%");
             boost::filesystem::path temp = tempdir / tempfilename;
             std::strcat(name, temp.string().c_str());
         }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk