this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix some format string warnings

+3 -3
+1 -1
src/CoreServices/CMakeLists.txt
··· 58 58 59 59 SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/darling") 60 60 #SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--enable-new-dtags") 61 - SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) 61 + SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) 62 62 SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) 63 63 64 64 add_library(CoreServices SHARED ${CoreServices_SRCS})
+2 -2
src/CoreServices/Processes.cpp
··· 20 20 char path[100]; 21 21 int fd, len; 22 22 23 - sprintf(path, "/proc/%lu/comm", psn->lowLongOfPSN); 23 + sprintf(path, "/proc/%u/comm", psn->lowLongOfPSN); 24 24 25 25 fd = ::open(path, O_RDONLY); 26 26 if (fd == -1) ··· 154 154 if (status != noErr) 155 155 return nullptr; 156 156 157 - sprintf(lpath, "/proc/%lu/exe", PSN->lowLongOfPSN); 157 + sprintf(lpath, "/proc/%u/exe", PSN->lowLongOfPSN); 158 158 len = ::readlink(lpath, procpath, sizeof(procpath)-1); 159 159 if (len < 0) 160 160 return nullptr;