Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug in the explode_mode code that was causing a crash
[rsync/rsync.git]
/
cleanup.c
diff --git
a/cleanup.c
b/cleanup.c
index
78c048a
..
bb589e4
100644
(file)
--- a/
cleanup.c
+++ b/
cleanup.c
@@
-99,7
+99,7
@@
void _exit_cleanup(int code, const char *file, int line)
if (verbose > 3) {
rprintf(FINFO,"_exit_cleanup(code=%d, file=%s, line=%d): entered\n",
if (verbose > 3) {
rprintf(FINFO,"_exit_cleanup(code=%d, file=%s, line=%d): entered\n",
- code,
safe_fname(file)
, line);
+ code,
file
, line);
}
if (cleanup_child_pid != -1) {
}
if (cleanup_child_pid != -1) {
@@
-149,7
+149,7
@@
void _exit_cleanup(int code, const char *file, int line)
if (verbose > 2) {
rprintf(FINFO,"_exit_cleanup(code=%d, file=%s, line=%d): about to call exit(%d)\n",
if (verbose > 2) {
rprintf(FINFO,"_exit_cleanup(code=%d, file=%s, line=%d): about to call exit(%d)\n",
- ocode,
safe_fname(file)
, line, code);
+ ocode,
file
, line, code);
}
close_all();
}
close_all();
@@
-166,7
+166,7
@@
void cleanup_disable(void)
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
int fd_r, int fd_w)
{
void cleanup_set(char *fnametmp, char *fname, struct file_struct *file,
int fd_r, int fd_w)
{
- cleanup_fname = fname
tmp
;
+ cleanup_fname = fname
? fnametmp : NULL
;
cleanup_new_fname = fname;
cleanup_file = file;
cleanup_fd_r = fd_r;
cleanup_new_fname = fname;
cleanup_file = file;
cleanup_fd_r = fd_r;