Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp152736pxk; Fri, 11 Sep 2020 03:07:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB2BEhk40FqrydOEuJQktktkXPFcWHdLLFMqEl60E+qdf0c/RK0KsWoMG6e+8LEV07H7xc X-Received: by 2002:a17:906:9443:: with SMTP id z3mr1399103ejx.156.1599818821851; Fri, 11 Sep 2020 03:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599818821; cv=none; d=google.com; s=arc-20160816; b=GCACxb6U9jrvG/3bN8z/Vd7dzP1k9DqqKMp1eFo3OYRZJAMIlxVwL32ZgEoaPmYZJC 7jkEYgVO+Ux7SH5HLC42fRYo6GVhS6JIuMFptfocuNZWlyz1/djzb+soJ/cV8HKFIVhT 5jB9orBRNnccso4R6Xw/mvYMtRvc5sKkhOZn388luxzE+Tud3jtZDbtpfP8jZd1IhywB lvpPu8SZrw/bII4JGYbc6OyTCp5tQZI5QssJf+vi3be0BN8jGnsc9cI0rtPI3rZwq9Mt 3aMoSpfAEBnfrHSQ/2nAfvy0G8/1O+UiHAoVcPbRSbpHX9jA0/ZVt9KBEVQw/H0CmW3x w62Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:cc:dkim-signature; bh=POhj3jegRGP6q3IKkaKl2cWKxOt99YGMVORLapBYKGY=; b=vhsoJSsR661lRgSh7nmhDWu6n6v28JccqOP4wuyiPeY27YoC94FctbXBTtBJTbkb1+ w5wCGFIzdk2yILjwacGSY55iOpwShlaH7o/NHowhUamF85vQmmoQimBSDqLFvISPb48o cwheM3zNd0jc5wED6FRhq0E6jZv9pgkTNPLYGnNLQl4F41NH3iTwQOaYX/TJb7celu/P 53WVB0gq7cAbjVwADRsWJlJs9t9ReMbvzw6lva/fpGFgpyFVakxs37YkYH4NwJbCE1TV lw/Z5cSTIYZLeCnTlrrbLpMaz69woKF0wl+KslI7E1/Ft3ZgMWGionJUKq+lcYbcu+dj rhrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Rv86pORE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q20si917898ejx.248.2020.09.11.03.06.39; Fri, 11 Sep 2020 03:07:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Rv86pORE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725802AbgIKKDs (ORCPT + 99 others); Fri, 11 Sep 2020 06:03:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgIKKDo (ORCPT ); Fri, 11 Sep 2020 06:03:44 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D690C061573; Fri, 11 Sep 2020 03:03:44 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id m6so10919319wrn.0; Fri, 11 Sep 2020 03:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=POhj3jegRGP6q3IKkaKl2cWKxOt99YGMVORLapBYKGY=; b=Rv86pOREL6ZX1Yj2fV1HOdVZ4Jf3FSIcJHQccO+6KcsvkozGG7gtLk+cKtfiXsce+Z AZfuL0MJN/qA70VRkN+T02YA5c31xZsbj3C0DQsHW1GMN2t0q2G5LHSpFl0SVUC0k1zE BAe7vS02FqFtmxaTwinKOa5sX6/JPuUYjUpJo1U+iE54RWvzT2FB/JW7D8Ua7ubtVR8G 0SwTLTYUZ4vT884Y+wKQwz46zdmukPCczHs5G5fSYDnnnOUB22DXWNAbq8/X6cNumvJc CHdQ7Awc0A2m0wYTxl0nAfMJ6KD3pkJLQ3s2ETpKJHtsiMlUzCGtjJSAI8x4mG5rYMKl +eUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=POhj3jegRGP6q3IKkaKl2cWKxOt99YGMVORLapBYKGY=; b=mRZZYe6RIV/ah5gt1n7DQaaeEnb7BjpmVqytGqgqwxPHedZsxclK1ir553GaYWOEop ufrMKG6Q0ujAQxa7L+9ww2MDdboSW3LfWIzrVrfiPrAhohIgyzdQoet1uOqKcN+ZneUh 2tmWsNFR++6SoVqssmsTJCm3MfKAO9YSkXwrEMNPAKUTWSD92k2UZ58Jpdy02Rjib+3V lSsLJVQfCMwjgdN9dtthPBS3Hv5BuiaA2p7o6Sbt7MCoDwrtNU6pPHAK+8w0UYzm+DJ3 FWCWti6PpLYs2sp18GDBpzCLm0nd3YGZUBitiyHuELlxRMDRvvWrZ7a5syoP+Fep8PRT 4/8A== X-Gm-Message-State: AOAM533V4JE7zdAvINRaFimJqpFJvlQoZAN6db9u29n2jx75Ahd22XY/ yZ6r1PYok7mskuW4XK+W89O4TS7Dajo= X-Received: by 2002:adf:e711:: with SMTP id c17mr1261191wrm.359.1599818622470; Fri, 11 Sep 2020 03:03:42 -0700 (PDT) Received: from ?IPv6:2001:a61:2479:6801:d8fe:4132:9f23:7e8f? ([2001:a61:2479:6801:d8fe:4132:9f23:7e8f]) by smtp.gmail.com with ESMTPSA id w14sm3629041wrk.95.2020.09.11.03.03.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 03:03:42 -0700 (PDT) Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 23/24] select_tut.2: Use MAX(a, b) from To: Alejandro Colomar References: <20200910211344.3562-1-colomar.6.4.3@gmail.com> <20200910211344.3562-24-colomar.6.4.3@gmail.com> From: "Michael Kerrisk (man-pages)" Message-ID: <3170056b-f99d-dad4-9418-777d3af80f03@gmail.com> Date: Fri, 11 Sep 2020 12:03:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/11/20 10:46 AM, Alejandro Colomar wrote: > Hi Michael, > > On 2020-09-11 09:54, Michael Kerrisk (man-pages) wrote: >> Hi Alex, >> >> On 9/10/20 11:13 PM, Alejandro Colomar wrote: >>> Signed-off-by: Alejandro Colomar >> >> I'm reluctant to apply this, because MAX() is not a standard >> macro. I suppose it may not be present on some other UNIX >> systems. You thoughts? > > I know the BSDs have it; maybe not all of them (I don't know them all), > but it is present at least in OpenBSD, libbsd, FreeBSD so I guess it's > common enough. > For other UNIX systems, I have no idea. > Maybe there's some unicorn UNIX that doesn't have it... impossible to tell. Yup. So, I think I will skip this patch. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/