emacs-devel
[Top][All Lists]
Advanced

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

fractional file timestamps in tramp-adb


From: Paul Eggert
Subject: fractional file timestamps in tramp-adb
Date: Thu, 14 Feb 2019 10:43:30 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0

The attached recently-installed patchchanges the tramp-adb's generated shell command from this format:

touch -t 201902141023.17 file

to this format:

touch -d 2019-02-14T18:23:17 file

A downside of the new approach is that it assumes POSIX.1-2008 or later, but I guess that's OK nowadays. An upside is that 'touch -d' lets one specify the fractional part of the timestamp, and also lets one specify that the timestamp is UTC by appending "Z" (I don't see how the current code is arranging for UTC). So, how about the attached followup patch? It would change the format to:

touch -d 2019-02-14T18:23:17.318491822Z file

Attachment: 0001-Add-fractional-file-timestamps-to-tramp-adb.patch
Description: Text Data


reply via email to

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