Skip to content

Commit

Permalink
Fix builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 12, 2021
1 parent 9a100ba commit 51e4337
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClFS.cc
Expand Up @@ -350,7 +350,7 @@ XRootDStatus DoLS( FileSystem *fs,
std::cout << " " << std::setw( ownerwidth ) << info->GetOwner();
std::cout << " " << std::setw( groupwidth ) << info->GetGroup();
std::cout << " " << std::setw( sizewidth ) << info->GetSize();
if( info->HasChecksum() )
if( hascks && info->HasChecksum() )
std::cout << " " << std::setw( sizewidth ) << info->GetChecksum();
std::cout << " " << info->GetModTimeAsString() << " ";
}
Expand Down
1 change: 0 additions & 1 deletion src/XrdEc/CMakeLists.txt
Expand Up @@ -64,7 +64,6 @@ ExternalProject_add(
link_directories( ${ISAL_LIBDIR} )
include_directories( ${ISAL_INCDIR} )


#-------------------------------------------------------------------------------
# The XrdEc shared library
#-------------------------------------------------------------------------------
Expand Down
4 changes: 3 additions & 1 deletion src/XrdEc/XrdEcStrmWriter.hh
Expand Up @@ -13,7 +13,7 @@

#include "XrdCl/XrdClFileOperations.hh"
#include "XrdCl/XrdClParallelOperation.hh"
#include "XrdCl/XrdClZipArchive.hh"
#include "XrdCl/XrdClZipOperations.hh"

#include "XrdZip/XrdZipLFH.hh"
#include "XrdZip/XrdZipCDFH.hh"
Expand All @@ -32,6 +32,8 @@
#include <mutex>
#include <iterator>

#include <sys/stat.h>

namespace XrdEc
{
//---------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions tests/XrdEcTests/CMakeLists.txt
@@ -1,11 +1,11 @@

include( XRootDCommon )
include_directories( ${CPPUNIT_INCLUDE_DIRS} ../common)
include_directories( ${CPPUNIT_INCLUDE_DIRS} ../common )

add_library(
XrdEcTests MODULE
StrmWriterTests.cc
ReaderTests.cc
StrmWriterTest.cc
ReaderTest.cc
)

target_link_libraries(
Expand Down
2 changes: 1 addition & 1 deletion tests/common/CMakeLists.txt
Expand Up @@ -17,7 +17,7 @@ target_link_libraries(
XrdUtils)

add_executable(test-runner TextRunner.cc PathProcessor.hh)
target_link_libraries(text-runner ${CMAKE_DL_LIBS} ${CPPUNIT_LIBRARIES} pthread)
target_link_libraries(test-runner ${CMAKE_DL_LIBS} ${CPPUNIT_LIBRARIES} pthread)

#-------------------------------------------------------------------------------
# Install
Expand Down

0 comments on commit 51e4337

Please sign in to comment.