Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 22:17:56 +0000 (UTC)
From:      Julio Merino <jmmv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r260578 - stable/10/contrib/atf/atf-c++/detail
Message-ID:  <201401122217.s0CMHucD039990@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmmv
Date: Sun Jan 12 22:17:56 2014
New Revision: 260578
URL: http://svnweb.freebsd.org/changeset/base/260578

Log:
  MFC r260491: Use .cpp as the extension for temporary C++ files.

Modified:
  stable/10/contrib/atf/atf-c++/detail/test_helpers.cpp
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/atf/atf-c++/detail/test_helpers.cpp
==============================================================================
--- stable/10/contrib/atf/atf-c++/detail/test_helpers.cpp	Sun Jan 12 22:17:10 2014	(r260577)
+++ stable/10/contrib/atf/atf-c++/detail/test_helpers.cpp	Sun Jan 12 22:17:56 2014	(r260578)
@@ -67,14 +67,14 @@ build_check_cxx_o(const atf::tests::tc& 
 void
 header_check(const char *hdrname)
 {
-    std::ofstream srcfile("test.c");
+    std::ofstream srcfile("test.cpp");
     ATF_REQUIRE(srcfile);
     srcfile << "#include <" << hdrname << ">\n";
     srcfile.close();
 
     const std::string failmsg = std::string("Header check failed; ") +
         hdrname + " is not self-contained";
-    build_check_cxx_o_aux(atf::fs::path("test.c"), failmsg.c_str(), true);
+    build_check_cxx_o_aux(atf::fs::path("test.cpp"), failmsg.c_str(), true);
 }
 
 atf::fs::path



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401122217.s0CMHucD039990>