Displaying 5 results from an estimated 5 matches for "link_by_hash_dir".
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...-0 +7 rsync.h
-------------- next part --------------
patchwork diff options.c
--- options.c 2004-02-09 15:42:40.000000000 -0500
+++ options.c 2004-02-09 15:42:40.000000000 -0500
@@ -117,6 +117,7 @@
char *password_file = NULL;
char *rsync_path = RSYNC_PATH;
char *backup_dir = NULL;
+char *link_by_hash_dir = NULL;
int rsync_port = RSYNC_PORT;
int link_dest = 0;
@@ -258,6 +259,7 @@
rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n");
rprintf(F," --compare-dest=DIR also compare destination files relative to DIR\n");
rprintf(F,&qu...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...ave received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+/* This file contains code used by the --link-by-hash option. */
+
+#include "rsync.h"
+
+extern char *link_by_hash_dir;
+
+#ifdef HAVE_LINK
+
+char* make_hash_name(struct file_struct *file)
+{
+ char hash[33], *dst;
+ unsigned char *src;
+ unsigned char c;
+ int i;
+
+ src = (unsigned char*)file->u.sum;
+ for (dst = hash, i = 0; i < 4; i++, src++) {
+ c = *src >> 4;
+ *(dst++) = (c >= 10) ? (c - 10...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...ave received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+/* This file contains code used by the --link-by-hash option. */
+
+#include "rsync.h"
+
+extern char *link_by_hash_dir;
+
+#ifdef HAVE_LINK
+
+char* make_hash_name(struct file_struct *file)
+{
+ char hash[33], *dst;
+ unsigned char *src;
+ unsigned char c;
+ int i;
+
+ src = (unsigned char*)file->u.sum;
+ for (dst = hash, i = 0; i < 4; i++, src++) {
+ c = *src >> 4;
+ *(dst++) = (c >= 10) ? (c - 10...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
...ave received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+/* This file contains code used by the --link-by-hash option. */
+
+#include "rsync.h"
+
+extern char *link_by_hash_dir;
+
+#ifdef HAVE_LINK
+
+char* make_hash_name(struct file_struct *file)
+{
+ char hash[33], *dst;
+ unsigned char *src;
+ unsigned char c;
+ int i;
+
+ src = (unsigned char*)file->u.sum;
+ for (dst = hash, i = 0; i < 4; i++, src++) {
+ c = *src >> 4;
+ *(dst++) = (c >= 10) ? (c - 10...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...ave received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+
+/* This file contains code used by the --link-by-hash option. */
+
+#include "rsync.h"
+
+extern char *link_by_hash_dir;
+
+#ifdef HAVE_LINK
+
+char* make_hash_name(struct file_struct *file)
+{
+ char hash[33], *dst;
+ unsigned char *src;
+ unsigned char c;
+ int i;
+
+ src = (unsigned char*)file->u.sum;
+ for (dst = hash, i = 0; i < 4; i++, src++) {
+ c = *src >> 4;
+ *(dst++) = (c >= 10) ? (c - 10...