Commit f2cbf44b authored by Andrew Tridgell's avatar Andrew Tridgell

added an explicit noexcludes flag to make_file()

parent dab55223
......@@ -197,7 +197,10 @@ static int keep_backup(char *fname)
if (do_stat (fname, &st)) return 1;
#endif
file = make_file (-1, fname, 0);
file = make_file(-1, fname, NULL, 1);
/* the file could have disappeared */
if (!file) return 1;
/* make a complete pathname for backup file */
if (strlen(backup_dir) + strlen(fname) > (MAXPATHLEN - 1)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment