From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28678 invoked from network); 20 Mar 2023 20:26:39 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 20 Mar 2023 20:26:39 -0000 Received: (qmail 28196 invoked by uid 550); 20 Mar 2023 20:26:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 28162 invoked from network); 20 Mar 2023 20:26:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679343984; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=C6rdHCetbsyHGY1aj0FkIhcZw9MMmYZ64o7h4DIcOoo=; b=SoWMEWJKsPh9uPXibZmwAnNOLCzrBlOQTXgxdSfKNmj1yJpKyuzfJrtYs3YpMZ3qZ6 HzF4bEZLLBZ7kZ5KlERE+s+DrouO+I6aKTAHgOKLEeQstN/2GCWUTEH2L9h5clCQVgSZ OeHKr8KR4KO0qBVuPw3o4TbLYFXlCvZ7Svm4w7/tCDeAxJv/+6RIn29phEsiFIcIaZwe 1xAnSFjAPT+r8YBrcbGBSE0/TXNVN5wVvu3PKdUd+ATgiaJy3Yoiu+1ZaQjgiYRSo/AS w8tG0EMPll5iDZfClBQylJ1Q9GHpKEVXC70RFX23pN0zTT1qTGE4yM2AIyeMexXp2nKN 8gUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679343984; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C6rdHCetbsyHGY1aj0FkIhcZw9MMmYZ64o7h4DIcOoo=; b=ni56ieW2HlykDNtbureGU3xBB63Du8j+Sxu2mD25sUJJLHxOB2Axnn8BcFCd4I8L1r U7Zy1qolYzbA1+tyW/zWGsUidQfC2mAulEkzb77tYR7DoSLqmKKsL6iT5kT89UBFVmcx EYU8V466zY60qgyaUh6lptx585hlFo+s2QyMUMEdKAe2LLi/u1hOmV5QvhmNdBpgWC0r V6xhs3LAyxkA6JbACwH+zMK72IpyzP/7FGBJ21x9gPjglrQD/ce5dbZGEdlXtg5mV5YP 7xdkA+OahmbmztFzg2gIwLiFVW3p4NQ67BG9VOGN+h5a+wnM5bcFbb1MIY1WKIA8Jzxj cyIg== X-Gm-Message-State: AO0yUKUw+/xzovwBi3QK49iC3iDN60khLR3pfk5Q7M8j3imyWiTLn10Q IsfM8QkqKgnSiDOBgeGzj5avfr2pLDwvhg== X-Google-Smtp-Source: AK7set9+BvmBmfyCyH0qhDJBoBwuQe2IozTjs1ddlI0qCEZsesQGFqic9lcilVT+ZSzXqTiPMrWw9A== X-Received: by 2002:a05:6000:1b04:b0:2cf:eb86:bd90 with SMTP id f4-20020a0560001b0400b002cfeb86bd90mr383691wrz.63.1679343984275; Mon, 20 Mar 2023 13:26:24 -0700 (PDT) Message-ID: Date: Mon, 20 Mar 2023 21:26:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: musl@lists.openwall.com, Rich Felker Cc: =?UTF-8?B?SuKCkeKCmeKCmyBHdXN0ZWR0?= References: <20230320202302.GT4163@brightrain.aerifal.cx> Content-Language: en-US From: Gabriel Ravier In-Reply-To: <20230320202302.GT4163@brightrain.aerifal.cx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [musl] WG14 hasn't fixed the ferror status issue for fputwc EILSEQ yet? On 3/20/23 21:23, Rich Felker wrote: > The issue for fgetwc has been fixed according to the discussion here: > > https://austingroupbugs.net/view.php?id=1022 > > and indeed is fixed in the C2x draft. But the corresponding issue for > fputwc is not fixed. POSIX still requires setting the error indicator > for the stream on EILSEQ, but ISO C (by omission/accident) disallows > it. > > Any chance we can get this fixed in time for C2x release? > > I noticed it while fixing the wide printf error handling bugs in musl > (reported by Bruno), while trying to confirm that it's correct to rely > on the error status being set. > > Rich A Defect Report to that effect can probably get in later pretty quickly (by WG14 standards) but IIRC unless I'm wrong about how WG14 works I'm pretty sure new proposals not directly related to national body comments are not gonna get into C2x (and C2x national body comments have already been made).