diff options
Diffstat (limited to 'file_hierarchy.cpp')
-rw-r--r-- | file_hierarchy.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/file_hierarchy.cpp b/file_hierarchy.cpp index 672fd1b1..9e7d4d4e 100644 --- a/file_hierarchy.cpp +++ b/file_hierarchy.cpp @@ -199,20 +199,4 @@ SyncOperation FileSystemObject::getSyncOperation( } return SO_DO_NOTHING; //dummy -} - - -const Zstring& zen::getSyncDBFilename() -{ - //Linux and Windows builds are binary incompatible: char/wchar_t case, sensitive/insensitive - //32 and 64 bit db files ARE designed to be binary compatible! - //Give db files different names. - //make sure they end with ".ffs_db". These files will not be included into comparison when located in base sync directories -#ifdef FFS_WIN - static Zstring output = Zstring(Zstr("sync.")) + SYNC_DB_FILE_ENDING; -#elif defined FFS_LINUX - //files beginning with dots are hidden e.g. in Nautilus - static Zstring output = Zstring(Zstr(".sync.")) + SYNC_DB_FILE_ENDING; -#endif - return output; -} +}
\ No newline at end of file |