From patchwork Tue Dec 31 17:01:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1216787 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-108386-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="MHz6196q"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47nLDp34DCz9sPV for ; Wed, 1 Jan 2020 04:01:46 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id :mime-version:content-type; q=dns; s=default; b=WkmwFbjTioyv7CFd NjLxHWlVuBWg8uAgsD22xgFM/XkBNii1xLf/C8071RfkSEi1jZcvNFzRJWcQIhCW LPoaAI0FRYGaAk7caxLY/ZCKF9Alt12qTT/k0YmT07e1BZv9Ie0Ysn+DxiDvomoX U6cgJxJva9+X2FHq7TBQZS09iEc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id :mime-version:content-type; s=default; bh=g6b9zo7hxFFz2fxzZV+++2 aYUxE=; b=MHz6196q5tNswQvShmoPhK+NXi53u3NzBLDQ1Ta+ZwQc+Rt7oEoN3D MFYEAwlcRv+MDQrNbwSk1fH8EuG14cgnn0PzgZnmlID7/KAwUgV6tc6PBaI++xx4 ItJF8HUvYaWAshVYh2RTPJ7LLTA0w5jW+ql+a8OHshyNtDJ2bJHSU= Received: (qmail 18667 invoked by alias); 31 Dec 2019 17:01:41 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 18658 invoked by uid 89); 31 Dec 2019 17:01:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.1 spammy=H*r:4.92.3, HX-Envelope-From:sk:samuel. X-HELO: hera.aquilenet.fr Date: Tue, 31 Dec 2019 18:01:35 +0100 From: Samuel Thibault To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: [PATCH] getpt.3: Remove mention of O_NOCTTY Message-ID: <20191231170135.gqbv35jdlqfmomee@function> Mail-Followup-To: Samuel Thibault , mtk.manpages@gmail.com, linux-man@vger.kernel.org, libc-alpha@sourceware.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170609 (1.8.3) The glibc implementation of getpt has actually never been setting O_NOCTTY when opening /dev/ptmx or BSD ptys. Signed-off-by: Samuel Thibault --- ./man3/getpt.3.orig 2019-12-31 17:58:50.046714199 +0100 +++ ./man3/getpt.3 2019-12-31 17:59:00.706722831 +0100 @@ -21,7 +21,7 @@ .PP .in +4n .EX -open("/dev/ptmx", O_RDWR | O_NOCTTY); +open("/dev/ptmx", O_RDWR); .EE .in .PP