diff options
Diffstat (limited to 'meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch')
-rw-r--r-- | meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch b/meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch deleted file mode 100644 index d1d5f9ca7..000000000 --- a/meta-networking/recipes-support/nis/yp-tools/0001-lib-yp_all_host.c-Fix-build-with-gcc-7.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 71fdfdfcea2bfa5f522512366bfcdf95f861ecc6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 23 Apr 2017 23:44:37 -0700 | ||
4 | Subject: [PATCH] lib/yp_all_host.c: Fix build with gcc 7 | ||
5 | |||
6 | fixes | ||
7 | |||
8 | | ../../../../../../../workspace/sources/yp-tools/lib/yp_all_host.c: In function 'yp_all_host': | ||
9 | | ../../../../../../../workspace/sources/yp-tools/lib/yp_all_host.c:109:30: error: comparison between pointer and zero character constant [-Werror=pointer-compare] | ||
10 | | inmap == NULL || inmap == '\0') | ||
11 | | ^~ | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | lib/yp_all_host.c | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/lib/yp_all_host.c b/lib/yp_all_host.c | ||
19 | index 59cf236..4a07a7e 100644 | ||
20 | --- a/lib/yp_all_host.c | ||
21 | +++ b/lib/yp_all_host.c | ||
22 | @@ -106,7 +106,7 @@ yp_all_host (const char *indomain, const char *inmap, | ||
23 | |||
24 | if (hostname == NULL || hostname[0] == '\0' || | ||
25 | indomain == NULL || indomain[0] == '\0' || | ||
26 | - inmap == NULL || inmap == '\0') | ||
27 | + inmap == NULL || inmap[0] == '\0') | ||
28 | return YPERR_BADARGS; | ||
29 | |||
30 | res = YPERR_YPERR; | ||
31 | -- | ||
32 | 2.12.2 | ||
33 | |||