From 85fb63cfbbda16ca99a1218585c0afbda2053677 Mon Sep 17 00:00:00 2001 From: Denis Silakov Date: Fri, 19 Feb 2016 18:03:32 +0300 Subject: [PATCH] Fix macro usage --- glibc-rh1296031.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glibc-rh1296031.patch b/glibc-rh1296031.patch index f214ba1..56b1816 100644 --- a/glibc-rh1296031.patch +++ b/glibc-rh1296031.patch @@ -530,7 +530,7 @@ diff -Naur glibc-2.15-a316c1f.orig/resolv/res_send.c glibc-2.15-a316c1f/resolv/r + MSG_TRUNC which is only available on Linux. We + can abstract out the Linux-specific feature in the + future to detect truncation. */ -+ if (__glibc_unlikely (*thisanssizp < *thisresplenp)) { ++ if (__builtin_expect((*thisanssizp < *thisresplenp),0)) { + Dprint(statp->options & RES_DEBUG, + (stdout, ";; response may be truncated (UDP)\n") + );