]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/vfs/vfs.c
Fix copyfile: do nothing in the VFS
[netatalk.git] / libatalk / vfs / vfs.c
index 6cbf1463c79e4ac8cdaa140edd3e594500a3e1ec..270e2a25b5328ad35d64559d7a6a27ad93b4ebfa 100644 (file)
@@ -328,6 +328,8 @@ static int RF_renamefile_adouble(VFS_FUNC_ARGS_RENAMEFILE)
 static int RF_copyfile_adouble(VFS_FUNC_ARGS_COPYFILE)
 /* const struct vol *vol, int sfd, const char *src, const char *dst */
 {
+    return 0;
+#if 0
     EC_INIT;
     bstring s = NULL, d = NULL;
     char *dup1 = NULL;
@@ -383,6 +385,7 @@ EC_CLEANUP:
     if (dup4) free(dup4);
 
     EC_EXIT;
+#endif
 }
 
 #ifdef HAVE_SOLARIS_ACLS
@@ -610,6 +613,8 @@ static int RF_deletefile_ea(VFS_FUNC_ARGS_DELETEFILE)
 }
 static int RF_copyfile_ea(VFS_FUNC_ARGS_COPYFILE)
 {
+    return 0;
+#if 0
     EC_INIT;
 
     /* copy meta EA */
@@ -694,6 +699,7 @@ EC_CLEANUP:
 #endif
 out:
     EC_EXIT;
+#endif
 }
 
 /* ---------------- */