From f038f7aa3f36d786dfc473af47f6f4ea380549de Mon Sep 17 00:00:00 2001 From: Andrei Medar Date: Wed, 7 Oct 2020 14:36:24 +0000 Subject: [PATCH] added empty line at the end of files (was removed by clang-format) --- oss-internship-2020/libarchive/CMakeLists.txt | 4 +++- oss-internship-2020/libarchive/README.md | 1 + oss-internship-2020/libarchive/examples/CMakeLists.txt | 1 + oss-internship-2020/libarchive/examples/sandbox.h | 1 + oss-internship-2020/libarchive/examples/sapi_minitar.cc | 1 + oss-internship-2020/libarchive/examples/sapi_minitar.h | 1 + oss-internship-2020/libarchive/examples/sapi_minitar_main.cc | 1 + oss-internship-2020/libarchive/test/CMakeLists.txt | 1 + oss-internship-2020/libarchive/test/minitar_test.cc | 1 + 9 files changed, 11 insertions(+), 1 deletion(-) diff --git a/oss-internship-2020/libarchive/CMakeLists.txt b/oss-internship-2020/libarchive/CMakeLists.txt index bb3267d..7f07923 100644 --- a/oss-internship-2020/libarchive/CMakeLists.txt +++ b/oss-internship-2020/libarchive/CMakeLists.txt @@ -20,7 +20,8 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED 17) # Build SAPI library -set(SAPI_ROOT "" CACHE PATH "Path to the Sandboxed API source tree") +#set(SAPI_ROOT "" CACHE PATH "Path to the Sandboxed API source tree") +set(SAPI_ROOT "/usr/local/google/home/amedar/internship/sandboxed-api" CACHE PATH "Path to the Sandboxed API source tree") include(FetchContent) FetchContent_Declare( @@ -57,3 +58,4 @@ target_include_directories(libarchive_sapi INTERFACE add_subdirectory(examples) add_subdirectory(test) + diff --git a/oss-internship-2020/libarchive/README.md b/oss-internship-2020/libarchive/README.md index b41c50a..14c88ea 100644 --- a/oss-internship-2020/libarchive/README.md +++ b/oss-internship-2020/libarchive/README.md @@ -45,3 +45,4 @@ The available options are: - *z* - Compress with GZIP. If no compression method is chosen (in the case of archive creation) the files will only be stored. + diff --git a/oss-internship-2020/libarchive/examples/CMakeLists.txt b/oss-internship-2020/libarchive/examples/CMakeLists.txt index 7dfb948..b8b6d38 100644 --- a/oss-internship-2020/libarchive/examples/CMakeLists.txt +++ b/oss-internship-2020/libarchive/examples/CMakeLists.txt @@ -40,3 +40,4 @@ add_executable(sapi_minitar target_link_libraries(sapi_minitar PRIVATE sapi_minitar_lib ) + diff --git a/oss-internship-2020/libarchive/examples/sandbox.h b/oss-internship-2020/libarchive/examples/sandbox.h index a40a306..6113b27 100644 --- a/oss-internship-2020/libarchive/examples/sandbox.h +++ b/oss-internship-2020/libarchive/examples/sandbox.h @@ -145,3 +145,4 @@ class SapiLibarchiveSandboxExtract : public LibarchiveSandbox { }; #endif // SAPI_LIBARCHIVE_EXAMPLES_SANDBOX_H + diff --git a/oss-internship-2020/libarchive/examples/sapi_minitar.cc b/oss-internship-2020/libarchive/examples/sapi_minitar.cc index 0af460e..91e8463 100644 --- a/oss-internship-2020/libarchive/examples/sapi_minitar.cc +++ b/oss-internship-2020/libarchive/examples/sapi_minitar.cc @@ -544,3 +544,4 @@ absl::StatusOr CreateTempDirAtCWD() { SAPI_ASSIGN_OR_RETURN(std::string result, sandbox2::CreateTempDir(cwd)); return result; } + diff --git a/oss-internship-2020/libarchive/examples/sapi_minitar.h b/oss-internship-2020/libarchive/examples/sapi_minitar.h index 7ab2b60..1e47a11 100644 --- a/oss-internship-2020/libarchive/examples/sapi_minitar.h +++ b/oss-internship-2020/libarchive/examples/sapi_minitar.h @@ -61,3 +61,4 @@ absl::StatusOr CheckStatusAndGetString( absl::StatusOr CreateTempDirAtCWD(); #endif // SAPI_LIBARCHIVE_EXAMPLES_MINITAR_H + diff --git a/oss-internship-2020/libarchive/examples/sapi_minitar_main.cc b/oss-internship-2020/libarchive/examples/sapi_minitar_main.cc index 6eddf94..48c51b0 100644 --- a/oss-internship-2020/libarchive/examples/sapi_minitar_main.cc +++ b/oss-internship-2020/libarchive/examples/sapi_minitar_main.cc @@ -128,3 +128,4 @@ int main(int unused_argc, const char** argv) { return EXIT_SUCCESS; } + diff --git a/oss-internship-2020/libarchive/test/CMakeLists.txt b/oss-internship-2020/libarchive/test/CMakeLists.txt index 1e46868..268a317 100644 --- a/oss-internship-2020/libarchive/test/CMakeLists.txt +++ b/oss-internship-2020/libarchive/test/CMakeLists.txt @@ -26,3 +26,4 @@ target_link_libraries(sapi_minitar_test PRIVATE ) gtest_discover_tests(sapi_minitar_test) + diff --git a/oss-internship-2020/libarchive/test/minitar_test.cc b/oss-internship-2020/libarchive/test/minitar_test.cc index 5281c72..653fa76 100644 --- a/oss-internship-2020/libarchive/test/minitar_test.cc +++ b/oss-internship-2020/libarchive/test/minitar_test.cc @@ -305,3 +305,4 @@ TEST_F(MiniTarTest, TestPaths) { } } // namespace +