Submitter | Yuya Nishihara |
---|---|
Date | Nov. 3, 2020, 2:54 a.m. |
Message ID | <731ea8fa1f110b285682.1604372086@mimosa> |
Download | mbox | patch |
Permalink | /patch/47540/ |
State | Accepted |
Headers | show
Return-Path: <mercurial-devel-bounces@mercurial-scm.org> X-Original-To: patchwork@mercurial-scm.org Delivered-To: patchwork@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 7CEF12C724; Tue, 3 Nov 2020 12:03:04 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id D0QDEJY3qXmD; Tue, 3 Nov 2020 12:02:26 -0500 (EST) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id C07D22C607; Tue, 3 Nov 2020 11:30:33 -0500 (EST) X-Original-To: mercurial-devel@mercurial-scm.org Delivered-To: mercurial-devel@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 14FB52C606 for <mercurial-devel@mercurial-scm.org>; Tue, 3 Nov 2020 11:30:32 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wrtNDaG1SXpD for <mercurial-devel@mercurial-scm.org>; Tue, 3 Nov 2020 11:29:43 -0500 (EST) Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by mercurial-scm.org (Postfix) with ESMTPS id 9C075273902 for <mercurial-devel@mercurial-scm.org>; Mon, 2 Nov 2020 21:54:55 -0500 (EST) Received: by mail-pf1-x431.google.com with SMTP id b3so12962510pfo.2 for <mercurial-devel@mercurial-scm.org>; Mon, 02 Nov 2020 18:54:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:mime-version:content-transfer-encoding:subject:message-id :in-reply-to:references:user-agent:date:from:to; bh=x+dxaeVrL2ktRxf9FyTEv5B1wjZe9oyNnRZkbpxSoVk=; b=G6MBNnk3QKXO+byg9Q7jWcufVYyDJNbuyeePnmMGJcVq7OpYf2A5Wb/91AxxGlOVAq 8wFrcKx/8yjYnIDFNzgVd8Q1tQ2n7cco7kU7eI5ES6KkxW3gHVx//kpVJ1bG/3aJy48e loUKwgejHryxAtXYnx48/iThD3Pr+rMfvsxze6oDT90lF2bwDgjXQnhFFm4rvndePoCW 88uS+gPREYL7ZBQJ9l/aHgIUGBcqkI4XV/2P77zjsyTvoB/48qGMoYRVi4L7J6G8BiwC /q85/eRwTq95e06UXuPxoUv20Qzrc7GYYS6fwZUBVZZ5vdYrel0JHzEsxoMbtG5Y1a5a GnMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:mime-version:content-transfer-encoding :subject:message-id:in-reply-to:references:user-agent:date:from:to; bh=x+dxaeVrL2ktRxf9FyTEv5B1wjZe9oyNnRZkbpxSoVk=; b=jsZ+MDU0LFQc6KPlEt0fnmHEYALGFIKGBJct1z1yutMhNRUQXlY8JSchTUcIYVQLTm 1DBc1UDQoIuLohSNkjRj8oXtj6iqSc/KZjOyt7Ggq9lBPNjWtNTw4qQUV9Ffr+24J9mi U/wgjgJtgrR4bMKMzDI5pSCXce41XnXcqxWAeaYcYtcP0JWx9HuMd2V+Lluf0lhrnryQ fe7lJeuTlfDAqIG1hkkgaoAhctJfF7sX22KHfq++oeiFnOH6Ht/BKjwsCM0UTXbPChJs oqi1OSSjcJWAoqKd+R7tUqiIuhkKdoy3w5T5HjBhuZEr5c5bA1CFrJ/NQySCLUEq27PA 4ndg== X-Gm-Message-State: AOAM532J/rE8NX3yxqkPIgljw+0io6fq1thR2Y5cEfNLV0nKjJUCWX5Q kGa+KuPkI6FkwJF7HQ/j04+U8dVVxVk= X-Google-Smtp-Source: ABdhPJyM7PjS6y+SmLfim/3IQeR169oGRXZbCa1b82yvWKO9g8J5Oq4ZlbMN6C1+TGyLaxlZbcuRDA== X-Received: by 2002:a63:fb48:: with SMTP id w8mr15748395pgj.218.1604372094410; Mon, 02 Nov 2020 18:54:54 -0800 (PST) Received: from [127.0.1.1] ([2405:6580:8ce0:4000:7e7a:91ff:fec3:bcc]) by smtp.gmail.com with ESMTPSA id d123sm1073642pfa.206.2020.11.02.18.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 18:54:53 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH 2 of 4 STABLE] chg: show debug message for each fd to be closed X-Mercurial-Node: 731ea8fa1f110b2856826db5ed78fc1178dc1306 X-Mercurial-Series-Index: 2 X-Mercurial-Series-Total: 4 Message-Id: <731ea8fa1f110b285682.1604372086@mimosa> X-Mercurial-Series-Id: <41aaf960dc00d85712d4.1604372085@mimosa> In-Reply-To: <41aaf960dc00d85712d4.1604372085@mimosa> References: <41aaf960dc00d85712d4.1604372085@mimosa> User-Agent: Mercurial-patchbomb/5.6+4-8711dc13474c Date: Tue, 03 Nov 2020 11:54:46 +0900 From: Yuya Nishihara <yuya@tcha.org> To: mercurial-devel@mercurial-scm.org X-BeenThere: mercurial-devel@mercurial-scm.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <mercurial-devel.mercurial-scm.org> List-Unsubscribe: <https://www.mercurial-scm.org/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=unsubscribe> List-Archive: <http://www.mercurial-scm.org/pipermail/mercurial-devel/> List-Post: <mailto:mercurial-devel@mercurial-scm.org> List-Help: <mailto:mercurial-devel-request@mercurial-scm.org?subject=help> List-Subscribe: <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@mercurial-scm.org Sender: "Mercurial-devel" <mercurial-devel-bounces@mercurial-scm.org> |
Comments
Yuya Nishihara - Nov. 3, 2020, 2:54 a.m.
Patch
diff --git a/contrib/chg/chg.c b/contrib/chg/chg.c --- a/contrib/chg/chg.c +++ b/contrib/chg/chg.c @@ -289,6 +289,7 @@ static void execcmdserver(const struct c continue; } if (fd_value > STDERR_FILENO) { + debugmsg("closing fd %ld", fd_value); int res = close(fd_value); if (res) { debugmsg("tried to close fd %ld: %d "