From a91ecc59b2753a3dcc93b2619559a980074e77bd Mon Sep 17 00:00:00 2001 From: Michael Runge Date: Mon, 21 Jul 2014 17:40:02 -0700 Subject: Auto create parent directories for rename support Sometimes renames will move a file into a directory that does not yet exist. This will create the parent directories, using the same symlink logic, to ensure that there is a valid destination. Change-Id: Iaa005a12ce800c39f4db20f7c25a2a68cb40a52d --- updater/install.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'updater/install.h') diff --git a/updater/install.h b/updater/install.h index 94f344f..659c8b4 100644 --- a/updater/install.h +++ b/updater/install.h @@ -19,4 +19,6 @@ void RegisterInstallFunctions(); +static int make_parents(char* name); + #endif -- cgit v1.1