Displaying 3 results from an estimated 3 matches for "backupptr".
Did you mean:
backuppc
2010 Mar 08
1
Getting EEXIST out of make_bak_dir()
...010_March_04_18-30-22/Users/jdoe/Library/Caches/Adobe/Color/ACEConfigCache1" failed: No such file or directory
Because everywhere that make_bak_dir is called, there's a test that the previous open() that was called failed with ENOENT. For example, from receiver.c:
if ((f_copy = do_open(backupptr, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL, 0600)) < 0) {
int save_errno = errno ? errno : EINVAL; /* 0 paranoia */
if (errno == ENOENT && make_bak_dir(backupptr) == 0) {
Does make_bak_dir simply need to trap for that error, like:
/* Try to find an existing dir, starting from the deepest...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...static struct file_struct *skip_dir = NULL;
static struct file_list *fuzzy_dirlist = NULL;
static int need_fuzzy_dirlist = 0;
struct file_struct *fuzzy_file = NULL;
@@ -1241,7 +1252,6 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
char *fnamecmp, *partialptr, *backupptr = NULL;
char fnamecmpbuf[MAXPATHLEN];
uchar fnamecmp_type;
- int implied_dirs_are_missing = relative_paths && !implied_dirs && protocol_version < 30;
int del_opts = delete_mode || force_delete ? DEL_RECURSE : 0;
int is_dir = !S_ISDIR(file->mode) ? 0
: inc_recurse...
2007 Sep 22
0
rsync build on IA64 using icc
...unspecified order
full_fname(fnamecmp));
^
generator.c(1262): remark #981: operands are evaluated in unspecified order
rsyserr(FERROR, errno, "failed to open %s, continuing",
^
generator.c(1285): remark #981: operands are evaluated in unspecified order
full_fname(backupptr));
^
generator.c(1284): remark #981: operands are evaluated in unspecified order
rsyserr(FERROR, errno, "unlink %s",
^
generator.c(1293): remark #981: operands are evaluated in unspecified order
full_fname(backupptr));
^
generator.c(1292): remark #981: opera...