search for: free_fil

Displaying 6 results from an estimated 6 matches for "free_fil".

Did you mean: free_file
2002 Feb 19
1
rsync bug in clean_flist() while removing duplicted names
....2/flist.c Mon Feb 18 16:55:30 2002 --- rsync-2.3.2-patched/flist.c Mon Feb 18 18:26:12 2002 *************** *** 976,982 **** if (verbose > 1 && !am_server) rprintf(FINFO,"removing duplicate name %s from file list %d\n", f_name(flist->files[i-1]),i-1); ! free_file(flist->files[i]); } } --- 976,982 ---- if (verbose > 1 && !am_server) rprintf(FINFO,"removing duplicate name %s from file list %d\n", f_name(flist->files[i-1]),i-1); ! free_file(flist->files[i-1]); } } diff -acr rsync-2.3.2/l...
2004 Feb 06
4
memory reduction
..._stat(fname, &st)) return 1; #endif - file = make_file(fname, NO_EXCLUDES); + file = make_file(fname, NULL, NO_EXCLUDES); /* the file could have disappeared */ if (!file) return 1; @@ -282,7 +283,7 @@ static int keep_backup(char *fname) } } set_perms(keep_name, file, NULL, 0); - free_file(file, FREE_STRUCT); + free(file); if (verbose > 1) rprintf(FINFO, "keep_backup %s -> %s\n", fname, keep_name); diff -rupNP --exclude-from cvs/.ignore cvs/batch.c pool2/batch.c --- cvs/batch.c Thu Feb 5 20:47:31 2004 +++ pool2/batch.c Thu Feb 5 20:51:14 2004 @@ -136,9 +136,...
2002 Jun 21
1
small security-related rsync extension
...X*************** X*** 271,276 **** X--- 303,314 ---- X fname, keep_name, strerror(errno)); X }; X set_perms (keep_name, file, NULL, 0); X+ /* may mean an extra stat */ X+ #ifdef HAVE_CHMOD X+ if (!priv_backups && strip_perm(keep_name) == 0) { X+ return 0; X+ } X+ #endif X free_file (file); X free (file); X SHAR_EOF $TOUCH -am 06211315102 backup-priv-backups && chmod 0644 backup-priv-backups || echo "restore of backup-priv-backups failed" set `wc -c backup-priv-backups`;Wc_c=$1 if test "$Wc_c" != "1798"; then echo original size 1798,...
2003 Feb 12
3
duplicated file removal: call for comment
...name, i); --- > prev_name, i-1); 1281c1281 < flist->files[i][0] = null_file; --- > flist->files[i-1][0] = null_file; 1283c1283 < free_file(flist->files[i]); --- > free_file(flist->files[i-1]); ===== Our discussion -------------- My mail: Subject: rsync: duplicate name deletion - problems with rsync-2.5.6 Dear Wayne, i'd like to diskuss some problems with your fix of rsync-2.5.6: | *...
2004 Mar 10
4
HFS+ resource forks: WIP patch included
...*fname, + int recursive, unsigned base_flags); +struct file_list *send_file_list(int f, int argc, char *argv[]); +struct file_list *recv_file_list(int f); +int file_compare(struct file_struct **f1, struct file_struct **f2); +int flist_find(struct file_list *flist, struct file_struct *f); +void free_file(struct file_struct *file); +struct file_list *flist_new(void); +void flist_free(struct file_list *flist); +char *f_name(struct file_struct *f); +char *f_name_dst(struct file_struct *f); +void show_flist_stats(void); +int readlink_stat(const char *path, STRUCT_STAT * buffer, char *linkbuf); +int li...
2011 May 25
1
[GIT PULL] elflink ldlinux
Hi, These patches contain support for some features that are already in Syslinux 4 but weren't working properly on the elflink branch. It's another step closer to feature parity with Syslinux 4. Having to jump through the comboot API for localboot support is less than ideal and I'll eventually fix that, probably when we move a big chunk of code from asm to C. Also, there's a