From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70036: 30.0.50; Move file-truename to the C level Date: Thu, 28 Mar 2024 09:14:00 +0800 Message-ID: <87zfuj40pz.fsf@yahoo.com> References: <87le63xzjt.fsf@thornhill.no> <861q7vihnm.fsf@gnu.org> <87frwbxrs6.fsf@thornhill.no> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26896"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 70036@debbugs.gnu.org To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 02:15:26 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rpeMX-0006lH-KK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 02:15:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpeMC-0003UZ-NI; Wed, 27 Mar 2024 21:15:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpeMA-0003UL-2I for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2024 21:15:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpeM9-000537-P7 for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2024 21:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpeMA-0003nb-2A for bug-gnu-emacs@gnu.org; Wed, 27 Mar 2024 21:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Mar 2024 01:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70036 X-GNU-PR-Package: emacs Original-Received: via spool by 70036-submit@debbugs.gnu.org id=B70036.171158848614482 (code B ref 70036); Thu, 28 Mar 2024 01:15:02 +0000 Original-Received: (at 70036) by debbugs.gnu.org; 28 Mar 2024 01:14:46 +0000 Original-Received: from localhost ([127.0.0.1]:38596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpeLs-0003lJ-ES for submit@debbugs.gnu.org; Wed, 27 Mar 2024 21:14:45 -0400 Original-Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]:32922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpeLm-0003kL-8g for 70036@debbugs.gnu.org; Wed, 27 Mar 2024 21:14:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1711588472; bh=z/CY5bCwxbTjNm/iSViwcKxJlNb8iGeon4u8sBERP8M=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=OaOlUfhY1XIK4y9V+D2RuNPLmVW7IiOVaYdLWsWsphrs/6/MiAa/LbtY6vty9ta8VzNU0q1E8xAWEINJfnfp48g3keoCx3DV/XPBU//phu9o/QA1UrFbPweGm44iRKty6jVxjGWaQeUuXcXMZ9cL05TJi8hoj3uGQy7XaFmF1qxDAlxfXw8hG3TlpWzXVcjmApYvg+bJKPzU4s6qPmQV1saJB3rxhtqi5ZrkKk7dXUxkrk2vPvmMIXa7KovVM4xyrk5S98dGXRxcr2uDwChUpLYYTiiskE/9J0uYvLRtcMVE/35bPAiXzoFDIzC6ypUxsGJC4iglXMif1Z+3kaGppw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1711588472; bh=vyfatMqo+XoKvOAp2OmYnURD+TiT7393nFFO17t6jcy=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=LehGx/t5IFbdrH4lWxQ7fDqrBumxgdRjRYl67m9qm90pxpdwrGh6d8/x9ANWWE8E/Iz91u19tVbKXQ96oXmiALdSs5r7WpaluRjtMxSnTQ0l1VYBg+AZFxEJ7tERwhb19tZaFrCeLRX4pmtSs/cRgoFQEI9p20V9XkjGqTBI1UO9BC+FHmz/XRsy4E+dvYHYP8EGaiukDgzq7RWy/g50p72VWSY2jBL1mUznfs/gZt9umLMqd5MgFnWBcEhIMflJ38hGdvPOu5vHrrZ/MWkjzomNBa21ANzFQ4JkOSe01G3Cnyf2gUcvKubIZTnwzKCAooPSqhmGUH6cU8zCxfGtDA== X-YMail-OSG: CBVzzgAVM1kGs0NR7F9RT0Mk1dmNR_X3p4uEDO5DjNDJwIyLwwaVn.newBRKdqu fH2mdx0wvdR1CMgeWw9svd0bc.HAE1CRTKLSpp4NNUzekSYXy0Zd.Ag2UKma33iLVYqWruApPDQi XvxTzDITZMBjs2JRU84r.Aer3uXVPxpZW2Dk0ECoFjLCeC4sa_UgJaKzlvlXzZAlw8IINve82Vdc XxULrmzTX5lTuHc662burTp_bCCNI9ii2SOUcs1wqlrsyIiGZfycu3OGSLaMzZxxCUEodgvYa3Sp vHnsYEFFaZFCgzIvbuQjdrMaDwXuS5ma3waBym.scnHavYmC7LIdhdW.zSlM9keLUhkcS5Z28IFI Z.JGT8jDRqw.kuQCDpdRpxMjSAe1Fuuol9VIFO9NO9TPRXwVKuu63rjr77AJK8D2YF_IsZdW9Y_l yuC5Vqrr0CrEPjFkBulrBrgdfW5rU7X1fi0c1V4zFrIgRZn4osCo06ZTNStgY2IFRbN_bTxxggf8 V92CpHtgiLr.KJRI6TSkqqJ4wlwFvSiQKEQKWRDNDqPWjRyBaXu9lINQC8LK1eDmY9KhVjul7Qth KNwF506JB7lUUjfKuId7l0kguJkN.wwGasPYXUBI4WPx4Xs2uCUkKA.ZWRyn69.4a6SA2cBUC1CT xwfPMBXJ1tRsW8Y0Xie7Ct8EYLaFYEaY8E98PDe3HRH3c9ekutLU8wPh3dm2cSjtFf1wM_ZzaUo_ i3_emqb4nWRUBkEhrL0HjEOoXymzqrp4QcL0vPrQXYlHc8BN7YIMS6poDX0TdIrtiy51oK.T0CUf 3gfAU.gUI4_5j4lB404rLPUcqHYni.1x.nRYcaHm_d X-Sonic-MF: X-Sonic-ID: 6790214f-feee-45c7-921b-dfb3e912a7f5 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Thu, 28 Mar 2024 01:14:32 +0000 Original-Received: by hermes--production-sg3-6dc75bc8fb-pl74c (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 089139d690e4c49945154efcaf8257a1; Thu, 28 Mar 2024 01:14:26 +0000 (UTC) In-Reply-To: <87frwbxrs6.fsf@thornhill.no> (Theodor Thornhill's message of "Wed, 27 Mar 2024 22:56:41 +0100") X-Mailer: WebService/1.1.22205 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282168 Archived-At: Theodor Thornhill writes: > OK - for my education on the portability argument. Is that because of > Emacs support targets like haiku and old versions of windows, or > something else inherent in these functions? Haiku supports realpath, but not wordexp. We must reimplement virtually all POSIX functions of this nature on Windows, as the versions provided by system C libraries, if they exist at all, are inadequate for some reason or another. Furthermore, these functions are absent from a number of other operating systems, such as OpenBSD and Android 14.0, and on others (Alpine, I believe) wordexp is severely inefficient for being implemented as a wrapper around /bin/sh.