Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp114014pxk; Fri, 11 Sep 2020 01:50:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAAJoDoPpnoBpIgIIBcsjU5c6SStLuMjx7SaA/FiPp5of1qe3POT37SgWU5LftCSiC3qzE X-Received: by 2002:a17:906:3913:: with SMTP id f19mr1086936eje.83.1599814225618; Fri, 11 Sep 2020 01:50:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599814225; cv=none; d=google.com; s=arc-20160816; b=UENABn+5Uen2QjhKlv7GsM9PId0koeEwJSwuCVSVSDr2YPi63+KYVkF0bo9CxXOx1A vBmxcDl9+S23sP3qA0Xd6uSsncLiYrnv2l/89x0tZf0cpeuH/JF7CUFq4URzN1iINg3Z QaFltjh9JiIeT3AaWF7J0eXlAkJJgKTvcGggzRmL6K1wT9R9ZQoKGS0tWMEC8ECNjcXA OcyD0Ol/1+GR1NzizZBUlA5vFlb3go9DPEJdTMcPUtopetHu/jAf5ua5Leng87EXBdgJ 4lW6FFefpjTDymhB7KkFYmsF5YUIzvVAjf+G54N5H+PAZNRCqqufg7jX0eIWSKQRzJgw PyRQ== 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:cc:to:subject:dkim-signature; bh=eJ0yT3gfPHpaAjung1PNqKo0Lcs/UYE3s1xPfQ/WBMY=; b=It1YpA27YcN4ZRt/f1oZXAsVcDd310oyla31LLTesMjlR5JJHHgFAsXOVNl5bnXuVI o/pfsLFSEtPsv3Yk9jtERYMA2bboD090r0ueDg4P9J5XhSYIaumzYzYedE5sbGlST/0x qQv6/ihWBPXPlCY1ujtTw1igXhVEzLgodp2ctV8JEbM8Ie2rt/JMXDfy0o577w9VI0EL E1dy8Rk6rkDxCJLYsOxwiwb6wkQrPzjveg0pCSweULNk6Vo2s4gE9vGxmWWrpA1pl1Cd Yo1rcGWlYf7p3vJJG2apfqeQfQT+cGLTtPYf+GKITd/9LPlBREhGiC0yXTzvlWXz8yjk 9Fpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B0mdWQvw; 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 a5si795157edt.556.2020.09.11.01.50.02; Fri, 11 Sep 2020 01:50:25 -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=B0mdWQvw; 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 S1725777AbgIKIqd (ORCPT + 99 others); Fri, 11 Sep 2020 04:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725550AbgIKIqa (ORCPT ); Fri, 11 Sep 2020 04:46:30 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 639FAC061573; Fri, 11 Sep 2020 01:46:29 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id z1so10653261wrt.3; Fri, 11 Sep 2020 01:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=eJ0yT3gfPHpaAjung1PNqKo0Lcs/UYE3s1xPfQ/WBMY=; b=B0mdWQvwCU3TIVMqLrIK4juZPymnz9Wkz8pceQZ5YEBCEEJwlWicaEfk5udMeMWRvw S7r8Nxaaf0C5vCYnWyCLwBIdsagVeptymFC2QCCachwK1FIHGip8xa1zFSv/YPfsnht3 9En4Gp3csGFrHP4ucwoC2XZy//grYyC7lfycUZmQqgma6vkMvPEvWEX8qGOHgx1Iwou2 /DMHRsquF3EGemHq/r7ESwhV504lAGnxm0ruyLn9Qs/BNpiomaI0CHP8YDDJLhw6w02y MTHPGRevdCFil+AW0vBBewAOTiZhhVwk1wWeoF94xJi7Bqzvn6NOCv8fJbnlxCfwB/aO uS6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=eJ0yT3gfPHpaAjung1PNqKo0Lcs/UYE3s1xPfQ/WBMY=; b=foDyAlEOHjjWah6PJI7jYnh8v9YMmzynttHrVm1xru3Af1YX+wWt0vNGnc0vgYNfBj 7764WokQOceJ7qOzJVD87XJnV0ST/c7dRctFPYBArC4lDaDHyzdHVujD5RCh67Hv+xoa 6qOzCkXLTDiY3jU1Cru26ylCT1NHvikCB12yhCekpl+A1ImXXWiTk8vmtsz+P3+dAGcP 11R7psgY3AYpXKSr1b0uc/8kjuoTK7RGGPxzB1qDQ0BkOzm+TJAnDJ0iH4Tm4j04LFDW +Pc7IrXTcRZW/JiNKQUZUrTmnpEQWqhrhvydAnlWA8fCQjHE6q6wZ8rfaDkIyX9kPGWq yruw== X-Gm-Message-State: AOAM533thSZNyvdHbciKTAkxs6tFUI4AzBgoEd3ax6nrtjoDDlF2mViq T+3npbZelXatXiq/t+Y51MRfc/Z516E= X-Received: by 2002:a5d:560d:: with SMTP id l13mr906697wrv.49.1599813987884; Fri, 11 Sep 2020 01:46:27 -0700 (PDT) Received: from [192.168.1.143] ([170.253.60.68]) by smtp.gmail.com with ESMTPSA id t16sm3201418wrm.57.2020.09.11.01.46.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 01:46:27 -0700 (PDT) Subject: Re: [PATCH 23/24] select_tut.2: Use MAX(a, b) from To: "Michael Kerrisk (man-pages)" Cc: linux-man@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200910211344.3562-1-colomar.6.4.3@gmail.com> <20200910211344.3562-24-colomar.6.4.3@gmail.com> From: Alejandro Colomar Message-ID: Date: Fri, 11 Sep 2020 10:46:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed 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 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. Cheers, Alex