adb import
As well as adding the necessary methods, a few other changes to the adb remote: * Use ".annextmp" extension for temp files, to avoid conflict with other temp files. * Stop using "echo $?" to get exit status of command inside adb. There were two problems; first the "echo" just before it meant it was always 0! And secondly, it seems kind of random on my phone whether it's 1 or 0, not dependant on whether the command seems to have succeeded.
This commit is contained in:
parent
1a1a5177fd
commit
7b6d0da9b8
5 changed files with 176 additions and 42 deletions
|
@ -367,10 +367,9 @@ retrieveExportWithContentIdentifierM dir loc cid dest mkkey p =
|
|||
-- being copied.
|
||||
--
|
||||
-- When possible (not on Windows), check the same handle
|
||||
-- Check the same handle that the file was copied from.
|
||||
-- Avoids some race cases where the file is modified while
|
||||
-- it's copied but then gets restored to the original content
|
||||
-- afterwards.
|
||||
-- that the file was copied from. Avoids some race cases where
|
||||
-- the file is modified while it's copied but then gets restored
|
||||
-- to the original content afterwards.
|
||||
--
|
||||
-- This does not guard against every possible race, but neither
|
||||
-- can InodeCaches detect every possible modification to a file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue