search for: hlink_count

Displaying 3 results from an estimated 3 matches for "hlink_count".

2004 Jan 25
2
scan for first existing hard-link file
...write_int(f_out,i); write_sum_head(f_out, NULL); return; --- hlink.c 22 Jan 2004 04:38:18 -0000 1.30 +++ hlink.c 25 Jan 2004 09:22:23 -0000 @@ -38,8 +38,8 @@ static int hlink_compare(struct file_str return file_compare(file1, file2); } -static struct file_struct **hlink_list; -static int hlink_count; +struct file_struct **hlink_list; +int hlink_count; #define LINKED(p1,p2) ((p1)->F_DEV == (p2)->F_DEV \ && (p1)->F_INODE == (p2)->F_INODE) @@ -56,13 +56,14 @@ static void link_idev_data(void) head = hlink_list[start]; while (from < hlink_count-1 &&...
2004 Feb 06
4
memory reduction
...CLEAR_STRUCT); + + clear_file(i, flist); } else prev_i = i; } Binary files cvs/getgroups and pool2/getgroups differ diff -rupNP --exclude-from cvs/.ignore cvs/hlink.c pool2/hlink.c --- cvs/hlink.c Mon Feb 2 22:21:19 2004 +++ pool2/hlink.c Wed Feb 4 01:35:49 2004 @@ -46,26 +46,41 @@ int hlink_count; /* Analyze the data in the hlink_list[], remove items that aren't multiply * linked, and replace the dev+inode data with the hlindex+next linked list. */ -static void link_idev_data(void) +static void link_idev_data(struct file_list *flist) { struct file_struct *head; int from, to, s...
2002 Jan 13
1
rsynd-2.5.1 / hlink.c patches
...{ if (!S_ISREG(f1->mode) && !S_ISREG(f2->mode)) return 0; if (!S_ISREG(f1->mode)) return -1; @@ -60,7 +61,7 @@ qsort(hlink_list,flist->count, sizeof(hlink_list[0]), - (int (*)())hlink_compare); + (hlink_compare); hlink_count=flist->count; #endif