This is the fork of original "Grive" (https://github.com/Grive/grive) Google Drive client with the support for the new Drive REST API and partial sync. Grive can be considered still beta or pre-beta quality. It simply downloads all the files in your Google Drive into the current directory. After you make some changes to the local files, run grive again and it will upload your changes back to your Google Drive. New files created locally or in Google Drive will be uploaded or downloaded respectively. Deleted files will also be "removed". Currently Grive will NOT destroy any of your files: it will only move the files to a directory named .trash or put them in the Google Drive trash. You can always recover them.
15 lines
576 B
C++
15 lines
576 B
C++
$NetBSD: patch-libgrive_src_util_OS.cc,v 1.1.1.1 2015/06/16 16:15:37 abs Exp $
|
|
|
|
Add __NetBSD__ to the 64bit Apple ctimespec stat case
|
|
|
|
--- libgrive/src/util/OS.cc.orig 2015-05-31 19:35:15.000000000 +0000
|
|
+++ libgrive/src/util/OS.cc
|
|
@@ -57,7 +57,7 @@ DateTime FileCTime( const std::string& f
|
|
) ;
|
|
}
|
|
|
|
-#if defined __APPLE__ && defined __DARWIN_64_BIT_INO_T
|
|
+#if defined __NetBSD__ || ( defined __APPLE__ && defined __DARWIN_64_BIT_INO_T )
|
|
return DateTime( s.st_ctimespec.tv_sec, s.st_ctimespec.tv_nsec ) ;
|
|
#else
|
|
return DateTime( s.st_ctim.tv_sec, s.st_ctim.tv_nsec);
|