Displaying 7 results from an estimated 7 matches for "cleanup_set".
Did you mean:
cleanup_net
2006 May 18
1
Partial files left on SIGINT
Hi,
As the man page says, the --partial flag is to "keep partially
transferred files". I'm assuming if I don't have partial flag any
partially transferred files should be deleted. However this is not what
I'm seeing.
Example:
(Using a big file so that rsync times a while to run. This gives me time
to hit CTRL-C for the SIGINT).
> mkdir example
> dd if=/dev/zero
2003 Jul 24
0
(no subject)
...--- rsync-2.5.6-remotebatch/proto.h Wed Jul 23 11:27:53 2003
***************
*** 31,37 ****
void sum_init(void);
void sum_update(char *p, int len);
void sum_end(char *sum);
! void close_all(void);
void _exit_cleanup(int code, const char *file, int line);
void cleanup_disable(void);
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
--- 31,37 ----
void sum_init(void);
void sum_update(char *p, int len);
void sum_end(char *sum);
! void close_all();
void _exit_cleanup(int code, const char *file, int line);
void cleanup_disable(void);
void cleanup_set(char *fnametm...
2006 Nov 21
1
rsync v2.6.9: small patch fixing NORETURN failures
...t chmod_mode_struct *chmod_modes);
int free_chmod_mode(struct chmod_mode_struct *chmod_modes);
void close_all(void);
-NORETURN void _exit_cleanup(int code, const char *file, int line);
+NORETURN void _exit_cleanup(int code, const char *file, int line) NORETURN2;
void cleanup_disable(void);
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
int fd_r, int fd_w);
@@ -276,8 +276,8 @@
void set_blocking(int fd);
int fd_pair(int fd[2]);
void print_child_argv(char **cmd);
-NORETURN void out_of_memory(char *str);
-NORETURN void overflow_exit(char *str);
+NORETURN void out_of_memory...
2003 Feb 01
0
Fw: Re: [Apt-rpm] I: [PATCH] 0.5.4cnc9: rsync method support
...00
@@ -319,6 +319,7 @@ int recv_files(int f_in,struct file_list
extern int preserve_perms;
extern int delete_after;
extern int orig_umask;
+ extern int apt_support;
struct stats initial_stats;
if (verbose > 2) {
@@ -444,6 +445,12 @@ int recv_files(int f_in,struct file_list
cleanup_set(fnametmp, fname, file, buf, fd1, fd2);
+ if (apt_support) {
+ rprintf(FINFO,"Tmp-Filename: %s\n",fnametmp);
+ rprintf(FINFO,"Size: %u\n",file->length);
+ rprintf(FINFO,"Start: %s\n",fname);
+ }
+
if (!am_server) {
log_transfer(file, fname);
}
@@...
2002 Apr 03
3
metadata in dryrun mode
As I reported a while back rsync doesn't handle metadata (permissions and
ownership) in dryrun mode.
I offered to make a patch and that offer still stands. I didn't have the
time for it until now and want to pick it up again. I had some ugly hack
back then but I want to redo it in a clean way.
I would like some input on my thoughts.
IMHO, it would be ideally if the check for dry_run
2004 Apr 27
1
[PATCH] Inplace option for rsync
...\n",
- full_fname(fnametmp), strerror(errno));
- receive_data(f_in,mapbuf,-1,NULL,file->length);
- if (mapbuf) unmap_file(mapbuf);
- if (fd1 != -1) close(fd1);
- continue;
- }
-
+
cleanup_set(fnametmp, fname, file, mapbuf, fd1, fd2);
if (!am_server && verbose) { /* log transfer */
diff -Naur rsync-2.6.1pre2/rsync.1 rsync-inplace/rsync.1
--- rsync-2.6.1pre2/rsync.1 2004-04-18 04:40:16.000000000 +1000
+++ rsync-inplace/rsync.1 2004-04-28 08:02:51.000...
2003 Oct 18
0
Added functionality --compare-file and --compare-auto
...03:35:09 2003
+++ rsync-arh/proto.h Fri Oct 17 08:26:52 2003
@@ -31,7 +31,7 @@
void sum_init(void);
void sum_update(char *p, int len);
void sum_end(char *sum);
-void close_all(void);
+void close_all();
void _exit_cleanup(int code, const char *file, int line);
void cleanup_disable(void);
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
@@ -93,6 +93,7 @@
char *f_name(struct file_struct *f);
void recv_generator(char *fname, struct file_list *flist, int i, int f_out);
void generate_files(int f,struct file_list *flist,char *local_name,int f_recv);
+char * findcomparename(const...