From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#56963: 29.0.50; trampified make-empty-file on macOS Date: Thu, 04 Aug 2022 11:04:55 +0200 Message-ID: <87les48jm0.fsf@gmx.de> References: <87tu6tdp6z.fsf@dick> <874jysy3tx.fsf@gmx.de> <878ro4e6sn.fsf@dick> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10480"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56963@debbugs.gnu.org To: dick Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 04 11:06:27 2022 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 1oJWoF-0002SG-P3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 11:06:27 +0200 Original-Received: from localhost ([::1]:49868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJWoE-00047N-OK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 05:06:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJWnq-000476-Hv for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 05:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33173) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJWnq-0002I1-9H for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 05:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJWnq-0002Hk-54 for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 05:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Aug 2022 09:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56963 X-GNU-PR-Package: emacs Original-Received: via spool by 56963-submit@debbugs.gnu.org id=B56963.16596039098674 (code B ref 56963); Thu, 04 Aug 2022 09:06:02 +0000 Original-Received: (at 56963) by debbugs.gnu.org; 4 Aug 2022 09:05:09 +0000 Original-Received: from localhost ([127.0.0.1]:51146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJWmz-0002Fp-9u for submit@debbugs.gnu.org; Thu, 04 Aug 2022 05:05:09 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:37185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJWmv-0002F5-Nq for 56963@debbugs.gnu.org; Thu, 04 Aug 2022 05:05:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1659603899; bh=UenuXFPiUuTWspVdGoi6B94sDs8mUrLoHNxfwAO2Tho=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=QLWAqLje5L9XwKYhugjryQmuwjZOZkgfzNmPtRaGeq/lmCwRdaJte9gR4nVPqafAA YWa939z+9IFuCQjQE99idxMxd/fGP/IKFmZorsSL75n4PnqPrJhQ+85Gi3Ynp7UQMG QTuwO6gQpXevCtYNFyQLiZ+mcbz9mLISRw2cuCXw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.118.211]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mel3n-1nl1Je0j7V-00akVq; Thu, 04 Aug 2022 11:04:59 +0200 In-Reply-To: <878ro4e6sn.fsf@dick> (dick's message of "Thu, 04 Aug 2022 04:45:12 -0400") X-Provags-ID: V03:K1:FjsqblfxGlppSmFdaIL8vSRTlNF3g/A/qyTsl4gU/EshICn4MvX 5imbC1yB8mre1GD+4hKERwjEGaufBScPYapmI2KJCt9vp0WXoR5NxU0IJJUIxAAWXQU6u3B b2CAc+ME5YRUk9fmQ01WHwx+M7QYnhQj9RsKa4zsjsI05TVXzOekC9h6w96+aCHkwuH6Os4 W2Ino0c4xFZ6uk5PPCe8A== X-UI-Out-Filterresults: notjunk:1;V03:K0:0MMpb+WuSyI=:XYy1Sr5jyK7sFEAU7pum7U JruiFSRtxAOpa5NWGVpvqHgNt9rs/yB67VeYgqSzini3DC0CixbfX4T2ZPwNwqnEffos65wWC LO0WLKvrYZYcUMOEgDufHYsxC2DdLia9Gb630nRAkN31ePvuSskX0Cn1Y7cQIzHpSX+mcdpgs tfnclTS2Hh+Tf0jIbMBYa6kuz6qXX2TubrO2F6WW3lBLH6V/4XVFISkg7nNaZ7ZuOBhz6jCZr d/HE8iZbCHFCCf6vuicfPE/vSt3I0v7aBZTSv89gwGwcm8iBB0IGL6txTr+puNVIpbwPfookz fazyiXlEbdEj7AOxgnwUD1QM6spIwEIWVendvGNBH8qloMcd+4H49Iln7knUI5KrrBrcKmbGj MszKNJvLoKXmZ+X5hxmgYV0DBGkNvxZ5sb5Te7mkaq5xIyFI0FcHb6V1WrE8WvjJW8jJPb3WA WeXs5nMvENtpkLxDw3b++rwjkzPhm81bGe23AQR3QeWKJqJtvzIzk3t4LzbcUyUW4qvKqH7b+ X1uetfdk49WSLwWJkn5UUSHmZ0UTTxHTf3zTmzS/hjc1i8NYbFA6h3rYMuFIjrzEegUnoyTPu O5BVlkEezN4LYukM8neR6tNK3vmI1o2BoB7aWnLDMB3NFq4ehPlaj6G9igZmfnIh6IF+p4+LJ /EHPxjJCTTTH+wC0464ZOUaBnfjpTv3it341fyrx/x3bDlCTumgSQ/Xc3t/juwf8XpYJeg83r BOpxLctRQkmgQuC+dxunH8kOP0e5PYwQHvDvRZ9ajdfncUl659106O8HSnUREVp8T9+qaw8s 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" Xref: news.gmane.io gmane.emacs.bugs:238703 Archived-At: dick writes: Hi, > Oh, it's probably just "echo -n" not being portable in > tramp-sh-handle-write-region. I attach the instrumented log > as per your instructions. Thanks. Well, there is a missing space in the command: > 2022-08-04T08:34:37.0618380Z 08:29:48.506172 tramp-send-command (6) # echo -n "">/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tramp-testB8ibE4 Would it work if the command is --8<---------------cut here---------------start------------->8--- echo -n "" >/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tramp-testB8ibE4 --8<---------------cut here---------------end--------------->8--- If not, what else would be portable? Something like this? --8<---------------cut here---------------start------------->8--- cat /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tramp-testB8ibE4 --8<---------------cut here---------------end--------------->8--- Best regards, Michael.