From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 31E8538618F2 for ; Wed, 8 Nov 2023 21:35:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 31E8538618F2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 31E8538618F2 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699479317; cv=none; b=mBBcNF+NjT9rRDoXXPspHwpyVK+PA/IYXWZnasgkqyZpprqPoDMGI6CQAmEwG0vbDfJrMKcYceJ1Dc9ZOzOBknrrk3QadTRr2QragusPZr2LjCj7r/Ra0qQCQQscj5hSplMER1zdIEnt/mIiqL6I9oQOEeSdZ+f/71HcNDvFM10= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699479317; c=relaxed/simple; bh=TMOYuPsexZY3uRqeTTkXOSoIvEkjM3lcgfPC8UfvUkc=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=hgWROi3mdTZDZqtH23yMSHnzmBb6sFPlIDiC2xS8MfmNmKjcH/XL09qTUyVdBzsaJjK9LkjIaon0tinhSNfutFnFNni2nF4ZNpotdi9potPnlaQJG7hRxCbv3QCnZT+jfQO/Qo57RuX0hTWVJK1S+qTWpekm6fuvDIcgzJw2HSg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1699479315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dL/4N83zVsoT7kaoP6b3tcu+qGlbt9ivJF3bw+W2/aU=; b=S6R8sWW40qddWg0AkZqgVJ2OFpwHNy5XQF7hpJWBMXxK2HSGXLjj8N5uQjVXt0NjHYT265 mhRRtxIVtRNdYrldC84eZQ8HDflWIDPkZXWA3KB8yV/Tza90hMx0MBGBHBOPbupDp0MzoH lla1SWqBzj20kvJ9DFbRDyWUsTUgKkw= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-642-SzWWv5QnNna1O-JdDgCYrw-1; Wed, 08 Nov 2023 16:35:14 -0500 X-MC-Unique: SzWWv5QnNna1O-JdDgCYrw-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-41cb6df5c7bso1931751cf.3 for ; Wed, 08 Nov 2023 13:35:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699479314; x=1700084114; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dL/4N83zVsoT7kaoP6b3tcu+qGlbt9ivJF3bw+W2/aU=; b=GBE0iGDMQ3LOh4lbWDHbXVeOf78N+0rldxzjx6ihmXaTXwmxla/rCJMGfomXudmJKR ctFPfAQ1Ca3PoJ1BRdN2qOeiduZ+z4TydE5fYa80OyfTsWG8OFDAV/tzfCLhqbTXb6Yq 84eLAbryMeKE8krC0kRc3snWX4vO0yMqRt+LYKiOvdeUkY9LCMgt37QaeYZkdogji6Aa NbQ5N182E8DsJt6q/OktywnX9QiROgNT//e/e3NErIspARP6AougqTDZ1VO5zKxKaVbC DeWYkSgF1DdgWLRauyK9z+khRJBdEY9MQwNe14/OPVp5Ou4tvbRARZJboNdeaiLDkm8A ICLw== X-Gm-Message-State: AOJu0YwI0Zz2TaJ5tVvNsbBV+TXAC22MAnXeGTSE0aYAauIystx207IE odn8qh5D09T+jLek5/Bdvkdt2DV/h3Q0flkqnw4asCISXA6smTMeLhQvgnGLPv8A0wkIBSmsVLT o9iGP1OlhrW5chcBzjp46CkSmUYuT X-Received: by 2002:ac8:5fd4:0:b0:41e:196c:3a37 with SMTP id k20-20020ac85fd4000000b0041e196c3a37mr4054248qta.35.1699479313839; Wed, 08 Nov 2023 13:35:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqIG3NCqyHxQM+DK9KBv7yDR2tvRPad7fiKtGfykg6VuP+dWrDnwId2FgZR4i++o1dXzgSLg== X-Received: by 2002:ac8:5fd4:0:b0:41e:196c:3a37 with SMTP id k20-20020ac85fd4000000b0041e196c3a37mr4054235qta.35.1699479313611; Wed, 08 Nov 2023 13:35:13 -0800 (PST) Received: from [192.168.0.241] ([198.48.244.52]) by smtp.gmail.com with ESMTPSA id o19-20020ac872d3000000b0041991642c62sm1289783qtp.73.2023.11.08.13.35.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Nov 2023 13:35:13 -0800 (PST) Message-ID: Date: Wed, 8 Nov 2023 16:35:12 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: strncpy clarify result may not be null terminated To: Alejandro Colomar , Zack Weinberg Cc: GNU libc development , Jonny Grant , 'linux-man' References: <929865e3-17b4-49c4-8fa9-8383885e9904@jguk.org> <16cc15a4-cfc0-49f4-9ebf-ecf0901700ce@app.fastmail.com> From: Carlos O'Donell Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 11/8/23 10:07, Alejandro Colomar wrote: > So we had it in ISO C in C89 and C99, and only in C11 they realized it > had to be removed. POSIX hasn't even removed it yet! I won't hesitate > to kill a function just because of bureaucracy. Attempting to get consensus at an international level, across cultural boundaries, use cases, workloads, and developer workflows is difficult and not intended to be bureaucracy for the sake of bureaucracy. -- Cheers, Carlos.