Displaying 1 result from an estimated 1 matches for "hlink1".
Did you mean:
hlink
2004 Jan 25
2
scan for first existing hard-link file
...hlink_list[from]->F_NEXT = NULL;
+ hlink_list[from]->F_INDEX = to;
+ hlink_list[from]->F_NEXT = head;
+ hlink_list[from]->flags |= FLAG_HLINK_LAST;
hlink_list[to++] = head;
} else {
free((char*)head->link_u.idev);
@@ -136,7 +137,7 @@ static void hard_link_one(char *hlink1,
void do_hard_links(void)
{
#if SUPPORT_HARD_LINKS
- struct file_struct *file;
+ struct file_struct *file, *first;
char hlink1[MAXPATHLEN];
char *hlink2;
STRUCT_STAT st1, st2;
@@ -146,10 +147,10 @@ void do_hard_links(void)
return;
for (i = 0; i < hlink_count; i++) {
- file = hl...