emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fractional file timestamps in tramp-adb


From: Paul Eggert
Subject: Re: fractional file timestamps in tramp-adb
Date: Fri, 15 Feb 2019 14:37:32 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0

On 2/15/19 12:11 AM, Michael Albinus wrote:
I'm afraid, I'm not an experienced Android developer (tramp-adb.el was
written by somebody else). Any help appreciated!

Older versions of toybox touch mishandle nanoseconds, and perhaps you've run into one of those. How about the attached patch, to try fractional timestamps (with "Z" for UTC) if it works, and fall back on the existing code otherwise? Plus, we can fall back on touch -t for hosts that don't yet support POSIX-2008, though that may be overkill nowadays.

Attachment: 0001-Port-tramp-adb-to-various-touch-platforms.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]