From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 1982F1F9FC for ; Sun, 21 Mar 2021 13:58:36 +0000 (UTC) Received: from localhost ([::1]:57620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNybC-0006Wx-M5 for normalperson@yhbt.net; Sun, 21 Mar 2021 09:58:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNyb8-0006V2-UN for bug-gnulib@gnu.org; Sun, 21 Mar 2021 09:58:30 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.24]:25915) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNyb6-0005Tr-PK for bug-gnulib@gnu.org; Sun, 21 Mar 2021 09:58:30 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1616335105; cv=none; d=strato.com; s=strato-dkim-0002; b=ebfnsTjkQtoeMVF+eQxn1g+oJ0Q14H32C+6UxYDfVUaamc8R1bN74tL+8g72Tr/NQ6 UzZeNR+OwOvVQ/CEBI41eLbLNz93jJqtMzDdeR+40BUc1zzI8OV9jjCLNjSqwHREeL0M 76BZvHrL+Hyk6VTgG69RR/zlUn2ZeA57TbI6CnmV/1D9fEbVY/GC6HFWL2vRAkHk+0k4 VP60B5IJNbRQSUObQ+2apjeen6ZsKW/5ZuaVZP1OpUUbnvVrHwAH6YDP8xJNHkPeKQEG F0AOsWdA0aUOPAHyqK8q2/dKSogQh9IS1Ra0YuzhckXDFj0A/eQz4aE+/OzrmRZMZ+IE PZow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1616335105; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=fPhaqomDjBDzG6yPXXMz76mzHb0U7/cL11evXllgFMs=; b=nM8cBdu2INa1Z+ojQOLMQFpBlcUoMUp72JW62vDW8kL97/X9oz5N91xjpGNaijnmVq ZnvvdOAykr9zb6twRpI1JxumJkpodRauDJLK4XejgIVRWYxPRI89mHVvvrGVWg3jeVk8 N95O30D0141od0ndjHPRAXKhg5FtLFWkeFD1EF2W/VqFVvHQfYt47rJdSuu2szpxQyYS dlA9TXKeR1uC+eY+v0DevrqK5T3Pcafnuy5lPOnaBWk4IK3y2oM6AuSwa57+JGqcgktw 0gWByoz0h3ERArPCGtNCvUjXM0P9aR7FbhQJc/zRo/lxFnm6wIg1sjBDD4WhC8mUSyKl p+nw== ARC-Authentication-Results: i=1; strato.com; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1616335105; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=fPhaqomDjBDzG6yPXXMz76mzHb0U7/cL11evXllgFMs=; b=s4tQEdNdSgqwAKkt49nkze+UoipxX5TqLbsY9LDKwLvVkpXslYI4d+3pQ6P6INNlsJ hFPgQVmnblpSmsHEjxSfBG+yP1ah1W/iH0RMgn43oh3luOSx3Qk02mC2gyaPgPPUgT/A OMZ2gSXNT/2TlKzFcUO3SQXODNZwC85aLPOTtEfs/TR1PbPZpHZYjqHxWpZW0zzbVSUw Qo1YV9U9MxTVAWiosuDyyfc6LsLg033hHOQg6isDtpPUKLAQWFfuWpdGIFpW4xZ+UmAp 41RxT6xovnRki8Vvuz9uGvh9LB2ImbjzBnNo/NGoPP70Ts6FGOTBKkhxZTRwi0WZyl/U qPnQ== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOHqf0y5JW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 47.21.0 DYNA|AUTH) with ESMTPSA id t05ec5x2LDwPFh2 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Sun, 21 Mar 2021 14:58:25 +0100 (CET) From: Bruno Haible To: bug-gnulib@gnu.org Subject: Re: Issues with posix functions on modern macOS/Xcode Date: Sun, 21 Mar 2021 14:58:24 +0100 Message-ID: <1703506.j4lkT4YATv@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-203-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <2615029.Q7US0F6XX7@omega> References: <1827966.Sqf4WByit0@omega> <2615029.Q7US0F6XX7@omega> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=85.215.255.24; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" > * doc/posix-functions/ftello.texi: Mention the macOS bug. The ftello bug is, of course, also reflected as an ftell bug. 2021-03-21 Bruno Haible ftell: Document bug in macOS >= 10.15. * doc/posix-functions/ftell.texi: Mention the macOS bug. diff --git a/doc/posix-functions/ftell.texi b/doc/posix-functions/ftell.texi index 21ebc00..3d405bf 100644 --- a/doc/posix-functions/ftell.texi +++ b/doc/posix-functions/ftell.texi @@ -15,6 +15,11 @@ mingw, MSVC 14. This function produces incorrect results after @code{putc} that followed a @code{getc} call that reached EOF on some platforms: Solaris 11 2010-11. +@item +This function, when invoked after @code{ungetc}, throws away the @code{ungetc} +buffer, changes the stream's file position, and returns the wrong position on +some platforms: +macOS 10.15 and newer. @end itemize Portability problems not fixed by Gnulib: