termux-packages/packages/squid/CpuAffinitySet.cc.patch
Vishal Biswas 27fa8f3854 tor update and enable squid cache server (#1077)
* tor: update from 0.3.0.7 to 0.3.0.8

* squid: update from 3.5.25 to 3.5.26 & enable package
2017-06-12 01:47:45 +02:00

12 lines
554 B
Diff

--- ./src/CpuAffinitySet.cc 2016-10-10 01:28:01.000000000 +0530
+++ ../CpuAffinitySet.cc 2016-12-07 22:53:47.745146503 +0530
@@ -37,7 +37,7 @@
} else {
cpu_set_t cpuSet;
memcpy(&cpuSet, &theCpuSet, sizeof(cpuSet));
- (void) CPU_AND(&cpuSet, &cpuSet, &theOrigCpuSet);
+ CPU_AND(&cpuSet, &cpuSet, &theOrigCpuSet);
if (CPU_COUNT(&cpuSet) <= 0) {
debugs(54, DBG_IMPORTANT, "ERROR: invalid CPU affinity for process "
"PID " << getpid() << ", may be caused by an invalid core in "