mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 16:40:03 +00:00
68c8fe1aba
ARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
checking file configure.ac
Hunk #1 succeeded at 27 with fuzz 1 (offset 8 lines).
and others
Signed-off-by: Armin Kuster <akuster808@gmail.com>
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
From 660fce9cfa00a57e5b7cec46116a31e21595c306 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Mon, 19 Jun 2017 23:47:01 -0700
|
|
Subject: [PATCH] squid: Upgrade to 3.5.26
|
|
|
|
../../squid-3.5.26/src/DiskIO/DiskThreads/aiops.cc: In function 'void squidaio_init()': ../../squid-3.5.26/src/DiskIO/DiskThreads/DiskThreads.h:30:50: error: '*' in boolean context, suggest '&&' instead [-Werror=int-in-bool-context] #define NUMTHREADS (Config.cacheSwap.n_configured*16)
|
|
|
|
Upstream-Status: Backport
|
|
|
|
---
|
|
src/DiskIO/DiskThreads/aiops.cc | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/DiskIO/DiskThreads/aiops.cc b/src/DiskIO/DiskThreads/aiops.cc
|
|
index b44adfa..e11f948 100644
|
|
--- a/src/DiskIO/DiskThreads/aiops.cc
|
|
+++ b/src/DiskIO/DiskThreads/aiops.cc
|
|
@@ -290,7 +290,7 @@ squidaio_init(void)
|
|
/* Create threads and get them to sit in their wait loop */
|
|
squidaio_thread_pool = memPoolCreate("aio_thread", sizeof(squidaio_thread_t));
|
|
|
|
- assert(NUMTHREADS);
|
|
+ assert(NUMTHREADS != 0);
|
|
|
|
for (i = 0; i < NUMTHREADS; ++i) {
|
|
threadp = (squidaio_thread_t *)squidaio_thread_pool->alloc();
|