From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2114.outbound.protection.outlook.com [40.107.236.114]) by sourceware.org (Postfix) with ESMTPS id 65FC2385B835 for ; Fri, 17 Apr 2020 11:46:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 65FC2385B835 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PdHnQPjg11K4yNQfC9ifDoT/9ZLoYpvceTpQrawrxduvQLgtouaYePp03lzOQ4Mm1q0jYtn1k2gBFgsMhn+63VDX1x9Y4lHdu32u7ktugfiGFFpx7lVSE/KcSoho+od0bJHO/5X2fwAqb6YZtmT9doVGdvZ/OcfNlXHFpD0ALIIQ4SVwsB3xSrnX4eu0DXhi6nYQonfivPN5/eVhrTUd9X44bkrHAjhaE4eYyTDYcJvlYTnMC2AvsKEe5FUP7ea7iBOzXKIAUsHbMTHA6/Fgqaav4N6qaZ348/IXoiFqRaCuAUEJ4LTjiViGYpL55ciQH5d3rMnvrwgmO3b+wYucsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RDw4zhuQhTahrbaQ8Fm/h1c9jOOSBSQiOGUo4d1h9K8=; b=hc4nn077XH8HgEYvwTpxrY1fD9iHXHfWTWwfEzKYi7PsR1f7qES5FfYi5KoMKtFDK2wt3k36OCZR1FgS02IwOuV/hCaV5mfaWuBKlnNXLCDHEcGGJengAg230RErE6WxJG/PEC2AYgVaGTY9b+Ndj28/bt81b2dpyvRE/tRFHpVtWMi2Uo/DnLU5OXR+jm7yASg2SgcHpAKIZR2J0hpVx7QqcdSSR8Ny07EWG3dbNBK599T7lapd7Z6wd3NYWyMXXpyfVZ34nlJO28BEhxH0/bzNZcYkTMQfSe4+CARr5kr+Vf3Sy3OaUscVauRsIJXcOMkzo7fXjVMdOekIEWKz2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none Received: from DM6PR04MB6075.namprd04.prod.outlook.com (2603:10b6:5:127::31) by DM6PR04MB6249.namprd04.prod.outlook.com (2603:10b6:5:127::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.17; Fri, 17 Apr 2020 11:46:28 +0000 Received: from DM6PR04MB6075.namprd04.prod.outlook.com ([fe80::f48b:4e13:94d7:f7c4]) by DM6PR04MB6075.namprd04.prod.outlook.com ([fe80::f48b:4e13:94d7:f7c4%4]) with mapi id 15.20.2900.028; Fri, 17 Apr 2020 11:46:28 +0000 Subject: Re: unlink does not remove named pipe To: cygwin@cygwin.com References: <00aa01d61491$d4f1d400$7ed57c00$@gmail.com> From: Ken Brown Message-ID: <1871b998-8961-b105-5da5-35c6e9f2293c@cornell.edu> Date: Fri, 17 Apr 2020 07:46:27 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 In-Reply-To: <00aa01d61491$d4f1d400$7ed57c00$@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MN2PR05CA0052.namprd05.prod.outlook.com (2603:10b6:208:236::21) To DM6PR04MB6075.namprd04.prod.outlook.com (2603:10b6:5:127::31) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.17] (68.175.129.7) by MN2PR05CA0052.namprd05.prod.outlook.com (2603:10b6:208:236::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.9 via Frontend Transport; Fri, 17 Apr 2020 11:46:27 +0000 X-Originating-IP: [68.175.129.7] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0f80b945-81ca-44eb-1320-08d7e2c4f6f5 X-MS-TrafficTypeDiagnostic: DM6PR04MB6249: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-Forefront-PRVS: 0376ECF4DD X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR04MB6075.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(4636009)(346002)(366004)(376002)(39860400002)(396003)(136003)(316002)(16576012)(31696002)(5660300002)(66556008)(86362001)(36756003)(6486002)(786003)(8676002)(8936002)(81156014)(6916009)(66476007)(52116002)(75432002)(66946007)(478600001)(956004)(2616005)(31686004)(26005)(2906002)(186003)(4744005)(53546011)(16526019); DIR:OUT; SFP:1102; Received-SPF: None (protection.outlook.com: cornell.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nhSqXPpL4xm6RvMds2iZpvG1wK27d5Bme081VLjlYhRjhb8PFHgP77rOClrimTtPocqlK9dpoXZcQHF+2B2qheIg8Xz08sPKDSOKQnctrDcGD8Tq03QWUI++za5VxHFr22d8FeG9D3Xiu+n/7C0cNGA2ZrNWEg/CRmMcwslYlqKCHpB6S9fWVnbCXfJ65Oi+ckytz1wwUzyWVla/wnf1nxOoGQVZ7ObqZhWfP+dW6EhHp6vxCzbSy6R03tnc9fTLe8ndw/ijjj775iCTYwvhA6olKe7ifqGX9e6iRCpV3fEnmUJ38NzPy3iU8j5KmCu8OMAp+JK9oDFHqM6fbSomP8z2wBg5wzDgXN0SLSRSPxD1uSZAJIIDTwRhi5HhiRssDxpPNEGO4hrmk3erLOf4/aCtw/QzmSdxdVO5a4IwuAZo/q18iq+P0H8Rch7ngqtV X-MS-Exchange-AntiSpam-MessageData: pfyL/C+HXiQsk6PoP9Rlb8750BjWAk55sV5s2trcZ+AR5ltu0/JJl/FZdYfTjcsCvBdsXGtl7cMRBG+7dvlYSjqbn1vQOu9ZSRl50IAgh4hEPq1Ku/o9LH1y735vXghsduy6rdo3jG2frc2QWrGx8g== X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 0f80b945-81ca-44eb-1320-08d7e2c4f6f5 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2020 11:46:28.4266 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HdIbeP7YAFDDNxwd2la2r59WRm/+c3ScnUbPD2TZoy4pXqGb96HmoaF9t6FhgQrtoL9R6ZU+Vtc4W8rn/wpErg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB6249 X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2020 11:46:31 -0000 Hi Kristian, On 4/17/2020 4:26 AM, Kristian Ivarsson via Cygwin wrote: > If you're creating a lot's of named pipes in main process and in children > and then using unlink, some of the named pipe files are not removed from the > file system and no error is issued, i.e. unlink doesn't return -1 Thanks for the report. As usual, a test case would be helpful. Ken