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=-6.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 F12511F4B4 for ; Tue, 29 Dec 2020 02:33:21 +0000 (UTC) Received: from localhost ([::1]:55858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ku4p6-00007l-Qj for normalperson@yhbt.net; Mon, 28 Dec 2020 21:33:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku4p2-00007P-VJ for bug-gnulib@gnu.org; Mon, 28 Dec 2020 21:33:16 -0500 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:39731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ku4p0-0004bW-Te for bug-gnulib@gnu.org; Mon, 28 Dec 2020 21:33:16 -0500 Received: by mail-pj1-x102e.google.com with SMTP id hk16so749532pjb.4 for ; Mon, 28 Dec 2020 18:33:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=jPSIa+wmMn/QtvXkF+kxNoeD27TW5f36i3b2WJpnRbo=; b=Kfu5KOk3Q/Ao7vLHHyfGCGVUlqGEayfDBuly9qAdZZr7lY4W+NA65zU5SuktjuPqeb z/7ym5rnZZKWNvon/RVZCUu+XU4W3NIqkl6rypz/2IML04MWt5ZiiFk6Ke764US1U1ae 2Fhuk6Sn+efNqQiiiQLqXgvBuIUK/a9RYWbS77TNwwJE4K2bMiKiEf8Baax6dGb7kH6X XsS8HYIiYKcIYkYXriJ9o1JMliqrvrK4yliLXlInLoamWYrjIBPTbOYhKDN1gg6tmCdJ f6/q+FpxK+UbliKeOATfilXyxY42ioULI8VlJEaPQpitb0rB/1i9I0DCk9/nz/Xs2/XD CXzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=jPSIa+wmMn/QtvXkF+kxNoeD27TW5f36i3b2WJpnRbo=; b=kxqVUW5E91V9ez0yyGcISXbYbu6aJZMqnMWowTHB/0YcV7AMvL9VpYbGODPhm3rq7r mzoamrOaNFK90sNwjaDSpF1YvxtJJHMX6Gs0ckwPo5DGpqpaim92vKUmEfSDnBLWDNAu qJDsaybsW4Nfz/jZ42jX1rNyGcvVeFniJkf5V1o3lqe/dOO43fnWQPj1F+k5dbll+pRv i/lI7xfR5vwXtbZlST+KkkGxrSu2ActWE7jxd5UtP/TPirbXUJ3f7UfCwxqJ/UNkQFsF IH3537HwPFFhJPnpm/KGGiZH7aGz6Lc63C2TgV/PzAfyGii7lnk4iMOZ8pCbVSF6/NMh AuUg== X-Gm-Message-State: AOAM530SDmlIJX24rz/9xItxMwbI06kQSR6XeKPIFOO1Fkp5AJqjazn/ RxY5kqIBxIoKGCWafHtj8ILWFR9wA/wYTg== X-Google-Smtp-Source: ABdhPJzH0c7f05LdgiVpgl0OI13DjO2u3Jyi3TCD90Hrg60yb9QY0sGN7878UnuzrQIxFdzlvzwkdg== X-Received: by 2002:a17:90b:350a:: with SMTP id ls10mr1838949pjb.192.1609209189141; Mon, 28 Dec 2020 18:33:09 -0800 (PST) Received: from [192.168.1.222] (S01069483c4016a90.vc.shawcable.net. [70.79.36.17]) by smtp.gmail.com with ESMTPSA id v11sm810584pju.40.2020.12.28.18.33.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Dec 2020 18:33:08 -0800 (PST) Subject: Re: port freadahead.c & fseeko.c To: Bruno Haible , bug-gnulib@gnu.org References: <11177953.afHAXk0WbW@omega> From: Ron Eggler Message-ID: <6072c1ba-eddf-5fcf-676c-3ce25a3bc9d6@gmail.com> Date: Mon, 28 Dec 2020 18:32:44 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <11177953.afHAXk0WbW@omega> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=ron.eggler@gmail.com; helo=mail-pj1-x102e.google.com X-Spam_score_int: -47 X-Spam_score: -4.8 X-Spam_bar: ---- X-Spam_report: (-4.8 / 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-2.698, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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" On 2020-12-28 2:08 p.m., Bruno Haible wrote: > Ron Eggler wrote: >> On 2020-12-23 4:17 p.m., Paul Eggert wrote: >>> On 12/23/20 1:56 PM, Ron Eggler wrote: >>>> How can I patch these files to work with my platform? >>> Look in your stdio.h (commonly /usr/include/stdio.h), and the files it >>> includes, to see how it defines ungetc etc. Then use that knowledge to >>> update lib/freadahead.c and lib/fseeko.c. It'll require some expertise >>> in low-level C hacking. >> I'm having troubles with finding the correct definition, when I grep the >> sources for ungetc I get the following: >> >> x86_64-linux$ grep -rn --include \*.h ungetc >> m4-native/1.4.17-r0/m4-1.4.17/lib/stdio-impl.h:65: struct __sbuf _ub; >> /* ungetc buffer */ > Ron, > > Please don't waste Paul's time. You got the answer already: > > https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00197.html My apologies, I didn't mean to waste anyone's time! As for your answer, I have downloaded, extracted & copied the new directory (m4-2020-12-26/) parallel to the existing m4-native/ directory but have not been able to update the paths correctly yet.